diff options
author | wm4 <wm4@nowhere> | 2019-09-26 19:52:10 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-09-26 19:52:10 +0200 |
commit | c1956e82c2da01aba64251b885a3e8d5ab7179d3 (patch) | |
tree | bd8863c36e2e1595e96ce2dd045dc21e5b5aa016 /input | |
parent | f44e480242057ecc7a84588a65dfef62264a5534 (diff) | |
download | mpv-c1956e82c2da01aba64251b885a3e8d5ab7179d3.tar.bz2 mpv-c1956e82c2da01aba64251b885a3e8d5ab7179d3.tar.xz |
audio: make playback end with --end and --audio-spdif
In spdif mode, there are hacks that try to cut audio on frame boundaries
(blame spdif, which is a hack in itself). The "alignment" is used in a
bunch of places, but --end does not respect it. This leads to some audio
that can't be pushed because the alignment is off (I don't know why, not
do I care), which puts audio into an underrun state forever.
Fix this by discarding unusable extra samples if no new data can be
expected.
Fixes: #6935
Diffstat (limited to 'input')
0 files changed, 0 insertions, 0 deletions