diff libmpcodecs/vd_ffmpeg.c @ 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 4aa0f65686a6
children b3ef98ca8677
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;