Skip to content

Commit

Permalink
command: do a normal seek instead of a refresh seek when switching vo
Browse files Browse the repository at this point in the history
  • Loading branch information
jmir1 authored and Dudemanguy committed Jan 22, 2024
1 parent 0008858 commit 9dd1a13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion player/command.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 9dd1a13

Please sign in to comment.