changeset 17073:177c02c3785f

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
author gpoirier
date Fri, 02 Dec 2005 10:00:35 +0000
parents 4c50b2f11ad8
children b7a7dcef7090
files libmpcodecs/vd_ffmpeg.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;