diff options
author | Ivan Kalvachev <ikalvachev@gmail.com> | 2010-09-22 02:44:27 +0400 |
---|---|---|
committer | Ivan Kalvachev <ikalvachev@gmail.com> | 2010-09-22 02:44:27 +0400 |
commit | 392c99007fa2a9d7659a883eff9816440ba70250 (patch) | |
tree | f395c0f164320e27c6311a05ee477e7b2d4b4327 /libavcodec/mpegvideo.c | |
parent | 26d5112c5709ccd0a363160d8253133a3a963648 (diff) |
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
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r-- | libavcodec/mpegvideo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index f4e80bafe1..1a2de3a4cb 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, " "); |