diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-08-15 16:13:05 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-08-15 16:13:05 +0000 |
commit | ff9c8d7c6f58e052e4efae6e24defe08f956b03f (patch) | |
tree | 8b8be973ce76658b268333e361357b4b2e02fdea /libavformat/mpegts.c | |
parent | 8a9d72a0ff1e46dfd42c600103ac107ec07ad518 (diff) | |
download | ffmpeg-ff9c8d7c6f58e052e4efae6e24defe08f956b03f.tar.gz |
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
Diffstat (limited to 'libavformat/mpegts.c')
-rw-r--r-- | libavformat/mpegts.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, }; |