Browse Source

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

Originally committed as revision 1848 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 23 years ago
parent
commit
85ea6b2958
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavcodec/h263.c

+ 2
- 1
libavcodec/h263.c View File

@@ -4374,7 +4374,8 @@ static int decode_vol_header(MpegEncContext *s, GetBitContext *gb){
}
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) {
s->vol_sprite_usage = get_bits1(gb); /* vol_sprite_usage */
} else {


Loading…
Cancel
Save