aboutsummaryrefslogtreecommitdiffhomepage
path: root/demux/packet.c
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2014-11-03 21:54:49 +0100
committerGravatar wm4 <wm4@nowhere>2014-11-03 21:54:49 +0100
commit7c2c1dbe8005b2d2f9aac7f5f10b46715f27addd (patch)
treeeec183213e3eb4b7e12faa4fd1481e50ccee0e5c /demux/packet.c
parent71d5dd091643a7a9ce76a528e2b4563ab165ca36 (diff)
demux: fix PTS comparison
This was relying on the fact that timestamps will always be numerically larger than MP_NOPTS_VALUE, but the trick didn't actually work for MP_PTS_MIN. Be a bit more sincere, and don't rely on this anymore. This fixes the comparison, and avoids the readahead amount displaying as "???" in some situations (since one of the values was NOPTS).
Diffstat (limited to 'demux/packet.c')
0 files changed, 0 insertions, 0 deletions