comparison mpegvideo.c @ 12506:747e5f278c4b libavcodec

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.
author iive
date Tue, 21 Sep 2010 22:44:27 +0000
parents ffb3668ff7af
children
comparison
equal deleted inserted replaced
12505:b2d560458a72 12506:747e5f278c4b
1260 av_log(s->avctx, AV_LOG_DEBUG, " "); 1260 av_log(s->avctx, AV_LOG_DEBUG, " ");
1261 else 1261 else
1262 av_log(s->avctx, AV_LOG_DEBUG, "?"); 1262 av_log(s->avctx, AV_LOG_DEBUG, "?");
1263 1263
1264 1264
1265 if(IS_INTERLACED(mb_type) && s->codec_id == CODEC_ID_H264) 1265 if(IS_INTERLACED(mb_type))
1266 av_log(s->avctx, AV_LOG_DEBUG, "="); 1266 av_log(s->avctx, AV_LOG_DEBUG, "=");
1267 else 1267 else
1268 av_log(s->avctx, AV_LOG_DEBUG, " "); 1268 av_log(s->avctx, AV_LOG_DEBUG, " ");
1269 } 1269 }
1270 // av_log(s->avctx, AV_LOG_DEBUG, " "); 1270 // av_log(s->avctx, AV_LOG_DEBUG, " ");