[FFmpeg-devel] [PATCH] oggdec: chained oggs have timestamp discontinuities

Michael Niedermayer michaelni at gmx.at
Sun Jan 20 18:42:10 CET 2013


Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 libavformat/oggdec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c
index 55604b4..984c89e 100644
--- a/libavformat/oggdec.c
+++ b/libavformat/oggdec.c
@@ -849,5 +849,5 @@ AVInputFormat ff_ogg_demuxer = {
     .read_seek      = ogg_read_seek,
     .read_timestamp = ogg_read_timestamp,
     .extensions     = "ogg",
-    .flags          = AVFMT_GENERIC_INDEX,
+    .flags          = AVFMT_GENERIC_INDEX | AVFMT_TS_DISCONT,
 };
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list