From ff9c8d7c6f58e052e4efae6e24defe08f956b03f Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 15 Aug 2008 16:13:05 +0000 Subject: Add flag to mark demuxers that can output discontinuous timestamps. (could also be added to muxers if someone wants) Originally committed as revision 14777 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mpegts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/mpegts.c') diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index a8d60ea469..80b604c5ae 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -1524,7 +1524,7 @@ AVInputFormat mpegts_demuxer = { mpegts_read_close, read_seek, mpegts_get_pcr, - .flags = AVFMT_SHOW_IDS, + .flags = AVFMT_SHOW_IDS|AVFMT_TS_DISCONT, }; AVInputFormat mpegtsraw_demuxer = { @@ -1537,5 +1537,5 @@ AVInputFormat mpegtsraw_demuxer = { mpegts_read_close, read_seek, mpegts_get_pcr, - .flags = AVFMT_SHOW_IDS, + .flags = AVFMT_SHOW_IDS|AVFMT_TS_DISCONT, }; -- cgit v1.2.3