Skip to content

stream_bluray: do not demux_flush on angle change - #16946

Merged
kasper93 merged 1 commit into
mpv-player:masterfrom
arch1t3cht:bluray-angle-flush
Oct 23, 2025
Merged

stream_bluray: do not demux_flush on angle change#16946
kasper93 merged 1 commit into
mpv-player:masterfrom
arch1t3cht:bluray-angle-flush

Conversation

@arch1t3cht

Copy link
Copy Markdown
Contributor

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.

This was an oversight from my previous PR, I took needing a demuxer flush as a given and never tested the difference.

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.
@kasper93

Copy link
Copy Markdown
Member

Interesting, thanks.

@kasper93
kasper93 merged commit aa2dad0 into mpv-player:master Oct 23, 2025
28 of 29 checks passed
@arch1t3cht
arch1t3cht deleted the bluray-angle-flush branch October 25, 2025 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants