[FFmpeg-devel] [PATCH]Increase verbosity for fatal H.264 decoding error
Carl Eugen Hoyos
cehoyos at ag.or.at
Sat Oct 29 19:05:03 CEST 2011
Hi!
Users should be informed with verbosity >debug why valid H264 streams cannot
be decoded.
Please comment, Carl Eugen
-------------- next part --------------
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index e7f6f73..7792d03 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -2741,7 +2741,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0){
s->dsp.dct_bits = h->sps.bit_depth_luma > 8 ? 32 : 16;
dsputil_init(&s->dsp, s->avctx);
} else {
- av_log(s->avctx, AV_LOG_DEBUG, "Unsupported bit depth: %d chroma_idc: %d\n",
+ av_log(s->avctx, AV_LOG_ERROR, "Unsupported bit depth: %d chroma_idc: %d\n",
h->sps.bit_depth_luma, h->sps.chroma_format_idc);
return -1;
}
More information about the ffmpeg-devel
mailing list