From aa2dad035f4ce85ba4cf6fba207b9b1d08b92abc Mon Sep 17 00:00:00 2001 From: arch1t3cht Date: Wed, 22 Oct 2025 22:52:14 +0200 Subject: [PATCH] stream_bluray: do not demux_flush on angle change A demux_flush can cause corruption and a slight A/V desync, whereas without it the angle will simply change on the next keyframe, as is intended for seamless branching. If users want an instant angle change they can still restart playback and seek to the current position through Lua. --- player/command.c | 1 - 1 file changed, 1 deletion(-) diff --git a/player/command.c b/player/command.c index a680c17071..495f0db52d 100644 --- a/player/command.c +++ b/player/command.c @@ -8059,7 +8059,6 @@ void mp_option_run_callback(struct MPContext *mpctx, struct mp_option_callback * if (mpctx->playback_initialized && demuxer && demuxer->stream && strcmp(demuxer->stream->info->name, "bdvm/bluray")) { int angle = opts->stream_bluray_opts->angle - 1; stream_control(demuxer->stream, STREAM_CTRL_SET_ANGLE, &angle); - demux_flush(demuxer); } } #endif