[Ffmpeg-cvslog] r8418 - trunk/libavformat/matroska.c

aurel subversion
Fri Mar 16 00:08:58 CET 2007


Author: aurel
Date: Fri Mar 16 00:08:58 2007
New Revision: 8418

Modified:
   trunk/libavformat/matroska.c

Log:
disable pts reordering code and initialize a parser instead

Modified: trunk/libavformat/matroska.c
==============================================================================
--- trunk/libavformat/matroska.c	(original)
+++ trunk/libavformat/matroska.c	Fri Mar 16 00:08:58 2007
@@ -2287,14 +2287,6 @@ matroska_read_header (AVFormatContext   
 
             }
 
-            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 @@ matroska_read_header (AVFormatContext   
                           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;
 




More information about the ffmpeg-cvslog mailing list