demux_lavf: mark AVI timestamps non-pts to avoid messages
commitfdea095e349a2236f4d4a2b6e6a83b2cf001d373
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Sun, 14 Nov 2010 09:53:27 +0000 (14 11:53 +0200)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Sun, 14 Nov 2010 09:59:55 +0000 (14 11:59 +0200)
tree8096efb0feeb9a4917836bbefaf7d03cce8b4e6d
parent7eb48343d47981fc38e0d4c7d9c78ae7ac2662b0
demux_lavf: mark AVI timestamps non-pts to avoid messages

Playing AVI files containing B-frames with demux_lavf printed two
"decreasing pts" info messages at the start of the file. We know the
timestamps from AVI won't be valid pts, so add a demuxer field to
convey that information to the timing code and make that not even try
to use the timestamps as valid pts.
libmpdemux/demux_lavf.c
libmpdemux/demuxer.h
mplayer.c