command: do a normal seek instead of a refresh seek when switching vo

This commit is contained in:
jmir1 2024-01-21 16:37:36 +01:00 committed by Dudemanguy
parent 0008858408
commit 9dd1a13747
1 changed files with 1 additions and 1 deletions

View File

@ -7054,7 +7054,7 @@ void mp_option_change_callback(void *ctx, struct m_config_option *co, int flags,
handle_force_window(mpctx, true); handle_force_window(mpctx, true);
reinit_video_chain(mpctx); reinit_video_chain(mpctx);
if (track) if (track)
reselect_demux_stream(mpctx, track, true); queue_seek(mpctx, MPSEEK_RELATIVE, 0.0, MPSEEK_EXACT, 0);
mp_wakeup_core(mpctx); mp_wakeup_core(mpctx);
} }