# HG changeset patch # User gpoirier # Date 1133517635 0 # Node ID 177c02c3785f3c59ec4cec878f32bfdb8fad166f # Parent 4c50b2f11ad8a665410374db5cd4ab765d95e4f8 make -lavdopts debug work again, patch by Jason Tackaberry ( tack AH sault POIS org ) Original thread: Subject: Re: [MPlayer-dev-eng] [PATCH] make -lavdopts debug work again Date: Fri, 2 Dec 2005 01:38:02 +0100 diff -r 4c50b2f11ad8 -r 177c02c3785f libmpcodecs/vd_ffmpeg.c --- a/libmpcodecs/vd_ffmpeg.c Thu Dec 01 21:59:24 2005 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Fri Dec 02 10:00:35 2005 +0000 @@ -285,6 +285,8 @@ avctx->error_concealment= lavc_param_error_concealment; #if LIBAVCODEC_BUILD >= 4642 avctx->debug= lavc_param_debug; + if (lavc_param_debug) + av_log_set_level(AV_LOG_DEBUG); #endif #if LIBAVCODEC_BUILD >= 4698 avctx->debug_mv= lavc_param_vismv;