summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvd.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-06 23:17:16 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-06 23:29:45 +0200
commit759231566a02db7f6de6a1cfcf59820d70ec2ad2 (patch)
treeeab26aba2292a8aa098df794a5729bf3f3629740 /stream/stream_dvd.c
parentd707da9e6528ee4cfe78b91791c61dd9ef0968b2 (diff)
downloadmpv-759231566a02db7f6de6a1cfcf59820d70ec2ad2.tar.bz2
mpv-759231566a02db7f6de6a1cfcf59820d70ec2ad2.tar.xz
demux_lavf: for avi, use packet .dts instead of .pts
When playing avi files take timestamps from the .dts field of the packet instead of .pts. For avi libavformat returns the original avi timestamps in .dts; without GENPTS set .pts is sometimes unset, with GENPTS set it'll contain some made up values which are not correct pts. Current libavformat also has a bug take makes it loop over the whole avi file if you use GENPTS with video streams disabled. The timing code can cope with the avi timestamps even though they're not really pts.
Diffstat (limited to 'stream/stream_dvd.c')
0 files changed, 0 insertions, 0 deletions