Commit 85ea6b29 authored by Michael Niedermayer's avatar Michael Niedermayer

print obmc bug info only if avctx->debug&1

Originally committed as revision 1848 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 04331882
...@@ -4374,7 +4374,8 @@ static int decode_vol_header(MpegEncContext *s, GetBitContext *gb){ ...@@ -4374,7 +4374,8 @@ static int decode_vol_header(MpegEncContext *s, GetBitContext *gb){
} }
s->progressive_sequence= get_bits1(gb)^1; s->progressive_sequence= get_bits1(gb)^1;
if(!get_bits1(gb)) printf("OBMC not supported (very likely buggy encoder)\n"); /* OBMC Disable */ if(!get_bits1(gb) && (s->avctx->debug & FF_DEBUG_PICT_INFO))
printf("OBMC not supported (very likely buggy encoder)\n"); /* OBMC Disable */
if (vo_ver_id == 1) { if (vo_ver_id == 1) {
s->vol_sprite_usage = get_bits1(gb); /* vol_sprite_usage */ s->vol_sprite_usage = get_bits1(gb); /* vol_sprite_usage */
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment