summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmir1 <jhmiramon@gmail.com>2024-01-21 16:37:36 +0100
committerDudemanguy <random342@airmail.cc>2024-01-22 14:54:29 +0000
commit9dd1a137479a41944b43ba45cdd76d63eca75038 (patch)
tree9e687570b1d5504ae9be2dd7cf21cc0e540e93c4
parent0008858408b6c1b4075062f92996abf2ab91d3cf (diff)
downloadmpv-9dd1a137479a41944b43ba45cdd76d63eca75038.tar.bz2
mpv-9dd1a137479a41944b43ba45cdd76d63eca75038.tar.xz
command: do a normal seek instead of a refresh seek when switching vo
-rw-r--r--player/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/command.c b/player/command.c
index caf134aa66..a5a688a61e 100644
--- a/player/command.c
+++ b/player/command.c
@@ -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);
}