1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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
This commit is contained in:
Ivan Kalvachev 2010-09-21 22:44:27 +00:00
parent 26d5112c57
commit 392c99007f

View File

@ -1262,7 +1262,7 @@ void ff_print_debug_info(MpegEncContext *s, AVFrame *pict){
av_log(s->avctx, AV_LOG_DEBUG, "?"); 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, "="); av_log(s->avctx, AV_LOG_DEBUG, "=");
else else
av_log(s->avctx, AV_LOG_DEBUG, " "); av_log(s->avctx, AV_LOG_DEBUG, " ");