[FFmpeg-devel] [PATCH]lavc/h264: Show "Increasing reorder buffer" message with loglevel info

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Jan 19 11:01:40 CET 2016


Hi!

The message "Increasing reorder buffer" when decoding h264 seems quite 
important to me, it should be shown by default imo (or as a warning).
See also ticket #5138.

Please comment, Carl Eugen
-------------- next part --------------
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 545ac14..2361660 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -933,7 +933,7 @@ static void decode_postinit(H264Context *h, int setup_finished)
         h->last_pocs[0] = cur->poc;
         cur->mmco_reset = 1;
     } else if(h->avctx->has_b_frames < out_of_order && !h->sps.bitstream_restriction_flag){
-        av_log(h->avctx, AV_LOG_VERBOSE, "Increasing reorder buffer to %d\n", out_of_order);
+        av_log(h->avctx, AV_LOG_INFO, "Increasing reorder buffer to %d\n", out_of_order);
         h->avctx->has_b_frames = out_of_order;
         h->low_delay = 0;
     }


More information about the ffmpeg-devel mailing list