summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authorgpoirier <gpoirier@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-12-02 10:00:35 +0000
committergpoirier <gpoirier@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-12-02 10:00:35 +0000
commit340feb8bbee869a9b5d702a50abc533f7f3e7384 (patch)
treeaaa902e0592a2f5b68898bd9277b66e04334bdaf /libmpcodecs
parentbb856b5be145e6d3eab92c94e924e0f20a4f2b16 (diff)
downloadmpv-340feb8bbee869a9b5d702a50abc533f7f3e7384.tar.bz2
mpv-340feb8bbee869a9b5d702a50abc533f7f3e7384.tar.xz
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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17074 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vd_ffmpeg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c
index 1fbdda0d90..202fffcf98 100644
--- a/libmpcodecs/vd_ffmpeg.c
+++ b/libmpcodecs/vd_ffmpeg.c
@@ -285,6 +285,8 @@ static int init(sh_video_t *sh){
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;