mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 21:10:12 +02:00
fix missing emitters from onPlayerPlay
This commit is contained in:
@@ -53,16 +53,11 @@ export const MpvPlayerEngine = (props: MpvPlayerEngineProps) => {
|
||||
const isInitializedRef = useRef<boolean>(false);
|
||||
const hasPopulatedQueueRef = useRef<boolean>(false);
|
||||
const isMountedRef = useRef<boolean>(true);
|
||||
// const currentSrcRef = useRef<string | undefined>(currentSrc);
|
||||
// const nextSrcRef = useRef<string | undefined>(nextSrc);
|
||||
|
||||
const { transcode } = usePlaybackSettings();
|
||||
const mpvExtraParameters = useSettingsStore((store) => store.playback.mpvExtraParameters);
|
||||
const mpvProperties = useSettingsStore((store) => store.playback.mpvProperties);
|
||||
|
||||
// const [previousCurrentSrc, setPreviousCurrentSrc] = useState<string | undefined>(currentSrc);
|
||||
// const [previousNextSrc, setPreviousNextSrc] = useState<string | undefined>(nextSrc);
|
||||
|
||||
// Start the mpv instance on startup
|
||||
useEffect(() => {
|
||||
isMountedRef.current = true;
|
||||
|
||||
Reference in New Issue
Block a user