diff mpeg.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 270e9f324405
children 4ea69956d2e8
line wrap: on
line diff
--- a/mpeg.c	Thu Aug 14 22:36:05 2008 +0000
+++ b/mpeg.c	Fri Aug 15 16:13:05 2008 +0000
@@ -586,5 +586,5 @@
     NULL,
     NULL, //mpegps_read_seek,
     mpegps_read_dts,
-    .flags = AVFMT_SHOW_IDS,
+    .flags = AVFMT_SHOW_IDS|AVFMT_TS_DISCONT,
 };