[FFmpeg-cvslog] r22925 - trunk/libavformat/matroskadec.c

bcoudurier subversion
Tue Apr 20 23:19:28 CEST 2010


Author: bcoudurier
Date: Tue Apr 20 23:19:27 2010
New Revision: 22925

Log:
parse stream headers for audio streams in mkv, needed for frame size

Modified:
   trunk/libavformat/matroskadec.c

Modified: trunk/libavformat/matroskadec.c
==============================================================================
--- trunk/libavformat/matroskadec.c	Tue Apr 20 20:40:45 2010	(r22924)
+++ trunk/libavformat/matroskadec.c	Tue Apr 20 23:19:27 2010	(r22925)
@@ -1394,6 +1394,7 @@ static int matroska_read_header(AVFormat
             st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
             st->codec->sample_rate = track->audio.out_samplerate;
             st->codec->channels = track->audio.channels;
+            st->need_parsing = AVSTREAM_PARSE_HEADERS;
         } else if (track->type == MATROSKA_TRACK_TYPE_SUBTITLE) {
             st->codec->codec_type = AVMEDIA_TYPE_SUBTITLE;
         }



More information about the ffmpeg-cvslog mailing list