diff options
author | wm4 <wm4@nowhere> | 2019-06-01 20:22:08 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-09-19 20:37:05 +0200 |
commit | e7db262450d499c7f511e3f7b2aed5af6419527d (patch) | |
tree | 4da8393b49fe74c8554718a674ae7e23183b9410 /demux/packet.h | |
parent | aacc868bddbf3be937f62bd141d9d6c400fdf916 (diff) | |
download | mpv-e7db262450d499c7f511e3f7b2aed5af6419527d.tar.bz2 mpv-e7db262450d499c7f511e3f7b2aed5af6419527d.tar.xz |
demux: remove tracking of number of forward buffered packets
In ancient times, the number of packets was used to limit excessive
read-ahead. This was completely replaced by tracking the size in bytes.
The number of packets was used in debugging output only.
In one case (packet got demuxed and is added to a queue), only log
whether there were packets on this stream before. (Unknown whether it's
useful.)
In another case (queue overflow), actually count the number of packets.
It's vaguely useful, and the message with the number of packets is shown
only once after a seek reset, so it doesn't matter whether it's slow.
Diffstat (limited to 'demux/packet.h')
0 files changed, 0 insertions, 0 deletions