changeset 5129:87e2b58a305a libavformat

matroskadec: disable h264 parser as long as it totally mess up frame type
author aurel
date Mon, 10 Aug 2009 18:12:02 +0000
parents 2397bd089f70
children b26fba4bb776
files matroskadec.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/matroskadec.c	Mon Aug 10 18:06:14 2009 +0000
+++ b/matroskadec.c	Mon Aug 10 18:12:02 2009 +0000
@@ -1376,6 +1376,7 @@
                       st->codec->height * track->video.display_width,
                       st->codec-> width * track->video.display_height,
                       255);
+            if (st->codec->codec_id != CODEC_ID_H264)
             st->need_parsing = AVSTREAM_PARSE_HEADERS;
         } else if (track->type == MATROSKA_TRACK_TYPE_AUDIO) {
             st->codec->codec_type = CODEC_TYPE_AUDIO;