diff mpegts.c @ 3724:178cc6f9d5ec libavformat

Add flag to mark demuxers that can output discontinuous timestamps. (could also be added to muxers if someone wants)
author michael
date Fri, 15 Aug 2008 16:13:05 +0000
parents 2ca19db359bd
children 4fd67f05bad9
line wrap: on
line diff
--- a/mpegts.c	Thu Aug 14 22:36:05 2008 +0000
+++ b/mpegts.c	Fri Aug 15 16:13:05 2008 +0000
@@ -1524,7 +1524,7 @@
     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 @@
     mpegts_read_close,
     read_seek,
     mpegts_get_pcr,
-    .flags = AVFMT_SHOW_IDS,
+    .flags = AVFMT_SHOW_IDS|AVFMT_TS_DISCONT,
 };