Skip to content

Commit aa2dad0

Browse files
arch1t3chtkasper93
authored andcommitted
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.
1 parent 99d6d4c commit aa2dad0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

player/command.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8059,7 +8059,6 @@ void mp_option_run_callback(struct MPContext *mpctx, struct mp_option_callback *
80598059
if (mpctx->playback_initialized && demuxer && demuxer->stream && strcmp(demuxer->stream->info->name, "bdvm/bluray")) {
80608060
int angle = opts->stream_bluray_opts->angle - 1;
80618061
stream_control(demuxer->stream, STREAM_CTRL_SET_ANGLE, &angle);
8062-
demux_flush(demuxer);
80638062
}
80648063
}
80658064
#endif

0 commit comments

Comments
 (0)