summaryrefslogtreecommitdiffstats
path: root/LICENSE.LGPL
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-03-07 22:51:29 +0100
committerKevin Mitchell <kevmitch@gmail.com>2018-03-08 17:12:32 -0800
commit5f41fbb6d931700d4bc7455ca7bf289d15d6d8eb (patch)
tree466580cbaffa865a9a8ce126d1be01b8e6708319 /LICENSE.LGPL
parent075aa21797e459b82bc95eb2c9336adfb8d562d0 (diff)
downloadmpv-5f41fbb6d931700d4bc7455ca7bf289d15d6d8eb.tar.bz2
mpv-5f41fbb6d931700d4bc7455ca7bf289d15d6d8eb.tar.xz
demux: correctly report buffered size as 0 if there are no packets
Since the demuxer cache addition, ds->queue->head can actually be set to non-NULL, but the decoder can still be at EOF (with no packets to come). This made it report an unknown buffered size, instead of 0. Fix this by checking the decoder part of the packet queue instead. Probably doesn't matter much, but fixes an annoying "???" on the CLI status line in some situations.
Diffstat (limited to 'LICENSE.LGPL')
0 files changed, 0 insertions, 0 deletions