summaryrefslogtreecommitdiffstats
path: root/ta
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-11-03 21:54:49 +0100
committerwm4 <wm4@nowhere>2014-11-03 21:54:49 +0100
commit7c2c1dbe8005b2d2f9aac7f5f10b46715f27addd (patch)
treeeec183213e3eb4b7e12faa4fd1481e50ccee0e5c /ta
parent71d5dd091643a7a9ce76a528e2b4563ab165ca36 (diff)
downloadmpv-7c2c1dbe8005b2d2f9aac7f5f10b46715f27addd.tar.bz2
mpv-7c2c1dbe8005b2d2f9aac7f5f10b46715f27addd.tar.xz
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 'ta')
0 files changed, 0 insertions, 0 deletions