summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-03-09 01:26:24 +0100
committerwm4 <wm4@nowhere>2014-03-09 01:27:42 +0100
commit3da0a3ccc368ef0a2582daccb4a8082aa84cb269 (patch)
treea8a9f0b6e265a6a2f0559eb5c4ab16282c8c0cc4 /etc
parent7b6e211e63e3cc3e53cc58360b9067f98489d892 (diff)
downloadmpv-3da0a3ccc368ef0a2582daccb4a8082aa84cb269.tar.bz2
mpv-3da0a3ccc368ef0a2582daccb4a8082aa84cb269.tar.xz
audio: don't write audio when paused
This is probably "safer". Without it, we will play 1 sample, because the logic was written in a way to decode 1 sample if audio is paused. 1 sample usually will initialize the audio PTS, but not play any real audio. Also see previous commit. In ancient times, this actually used 1 byte (instead of 1 sample), so clearly no sample was written, unless the audio was 8-bit mono.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions