0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-19 19:42:24 +02:00

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

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);
reinit_video_chain(mpctx);
if (track)
reselect_demux_stream(mpctx, track, true);
queue_seek(mpctx, MPSEEK_RELATIVE, 0.0, MPSEEK_EXACT, 0);
mp_wakeup_core(mpctx);
}