summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-07-19 12:26:24 +0200
committerwm4 <wm4@nowhere>2014-07-19 12:27:25 +0200
commitcfdb1312dad025ca29c0841d9cbe3cdb9885a1d5 (patch)
treea161c988068e481a33c6f4618a265cb27ed6e65b /wscript
parent24efaa3ad7a2a23644a1872c6b9535342bc71df1 (diff)
downloadmpv-cfdb1312dad025ca29c0841d9cbe3cdb9885a1d5.tar.bz2
mpv-cfdb1312dad025ca29c0841d9cbe3cdb9885a1d5.tar.xz
demux: ensure demux_read_packet_async() always reads
In corner cases, it might be possible that a demux_read_packet_async() call fails to make the demuxer thread to read more packets. If a packet is queued, the function will simply return a packet, without marking the stream as active. As a consequence, read_packet() might decide not to read any further packets, and the demuxer will never read a packet and wake up the playback thread. This was originally done to align it with demux_read_packet() semantics; just drop this.
Diffstat (limited to 'wscript')
0 files changed, 0 insertions, 0 deletions