# HG changeset patch # User iive # Date 1285109067 0 # Node ID 747e5f278c4b9926f12d576f17f57ae4eba245ec # Parent b2d560458a72c0b49c4e36e10500e2e3dd096708 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. diff -r b2d560458a72 -r 747e5f278c4b mpegvideo.c --- a/mpegvideo.c Tue Sep 21 17:57:21 2010 +0000 +++ b/mpegvideo.c Tue Sep 21 22:44:27 2010 +0000 @@ -1262,7 +1262,7 @@ 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, " ");