[SCM] libav/experimental: print obmc bug info only if avctx->debug&1
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 15:36:13 UTC 2013
The following commit has been merged in the experimental branch:
commit 85ea6b29582da35c5ebf9356537e0a00d8d47cb3
Author: Michael Niedermayer <michaelni at gmx.at>
Date: Sat May 10 21:35:29 2003 +0000
print obmc bug info only if avctx->debug&1
Originally committed as revision 1848 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/h263.c b/libavcodec/h263.c
index ed4da64..591d509 100644
--- a/libavcodec/h263.c
+++ b/libavcodec/h263.c
@@ -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 {
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list