Mercurial > libavformat.hg
changeset 1920:8e7acf0111fe libavformat
disable pts reordering code and initialize a parser instead
author | aurel |
---|---|
date | Thu, 15 Mar 2007 23:08:58 +0000 |
parents | 2b0dd64faa4b |
children | 3d0b99c7edcc |
files | matroska.c |
diffstat | 1 files changed, 1 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/matroska.c Thu Mar 15 12:23:08 2007 +0000 +++ b/matroska.c Thu Mar 15 23:08:58 2007 +0000 @@ -2287,14 +2287,6 @@ } - else if (codec_id == CODEC_ID_MPEG1VIDEO || - codec_id == CODEC_ID_MPEG2VIDEO || - codec_id == CODEC_ID_MPEG4 || - codec_id == CODEC_ID_MSMPEG4V3 || - codec_id == CODEC_ID_H264) { - track->flags |= MATROSKA_TRACK_REORDER; - } - else if (codec_id == CODEC_ID_AAC && !track->codec_priv_size) { MatroskaAudioTrack *audiotrack = (MatroskaAudioTrack *) track; int profile = matroska_aac_profile(track->codec_id); @@ -2388,6 +2380,7 @@ st->codec->height * videotrack->display_width, st->codec-> width * videotrack->display_height, 255); + st->need_parsing = 2; } else if (track->type == MATROSKA_TRACK_TYPE_AUDIO) { MatroskaAudioTrack *audiotrack = (MatroskaAudioTrack *)track;