[SCM] libav/experimental: 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.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:16:01 UTC 2013


The following commit has been merged in the experimental branch:
commit 392c99007fa2a9d7659a883eff9816440ba70250
Author: Ivan Kalvachev <ikalvachev at gmail.com>
Date:   Tue Sep 21 22:44:27 2010 +0000

    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.
    
    Originally committed as revision 25156 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index f4e80ba..1a2de3a 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -1262,7 +1262,7 @@ void ff_print_debug_info(MpegEncContext *s, AVFrame *pict){
                         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, " ");

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list