[FFmpeg-cvslog] r25156 - trunk/libavcodec/mpegvideo.c

iive subversion
Wed Sep 22 00:44:27 CEST 2010


Author: iive
Date: Wed Sep 22 00:44:27 2010
New Revision: 25156

Log:
The debug text output of macroblocks can indicate MB_TYPE_INTERLACED,
but it used to do it only for h264 codec.
Allow it for other codecs, as mpeg2 and mpeg4 also set this flag.

Modified:
   trunk/libavcodec/mpegvideo.c

Modified: trunk/libavcodec/mpegvideo.c
==============================================================================
--- trunk/libavcodec/mpegvideo.c	Wed Sep 22 00:21:12 2010	(r25155)
+++ trunk/libavcodec/mpegvideo.c	Wed Sep 22 00:44:27 2010	(r25156)
@@ -1262,7 +1262,7 @@ void ff_print_debug_info(MpegEncContext 
                         av_log(s->avctx, AV_LOG_DEBUG, "?");
 
 
-                    if(IS_INTERLACED(mb_type) && s->codec_id == CODEC_ID_H264)
+                    if(IS_INTERLACED(mb_type))
                         av_log(s->avctx, AV_LOG_DEBUG, "=");
                     else
                         av_log(s->avctx, AV_LOG_DEBUG, " ");



More information about the ffmpeg-cvslog mailing list