diff options
author | jmir1 <jhmiramon@gmail.com> | 2024-01-21 16:37:36 +0100 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2024-01-22 14:54:29 +0000 |
commit | 9dd1a137479a41944b43ba45cdd76d63eca75038 (patch) | |
tree | 9e687570b1d5504ae9be2dd7cf21cc0e540e93c4 | |
parent | 0008858408b6c1b4075062f92996abf2ab91d3cf (diff) | |
download | mpv-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.c | 2 |
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); } |