Mercurial > libavformat.hg
changeset 5972:41a3f142ca68 libavformat
parse stream headers for audio streams in mkv, needed for frame size
author | bcoudurier |
---|---|
date | Tue, 20 Apr 2010 21:19:27 +0000 |
parents | 43548500ffbc |
children | 210e90a62044 |
files | matroskadec.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/matroskadec.c Tue Apr 20 18:40:45 2010 +0000 +++ b/matroskadec.c Tue Apr 20 21:19:27 2010 +0000 @@ -1394,6 +1394,7 @@ 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; }