[MPlayer-cvslog] r22171 - trunk/libmpcodecs/vd_ffmpeg.c

iive subversion at mplayerhq.hu
Wed Feb 7 13:31:38 CET 2007


Author: iive
Date: Wed Feb  7 13:31:37 2007
New Revision: 22171

Modified:
   trunk/libmpcodecs/vd_ffmpeg.c

Log:
Revert part of commit r22170.
FFmpeg lavcodecs version is still 
(or according to ffmpeg commit r7868, it's back to)
49.3.0, so global variables are not yet directly accessable (if ever).


Modified: trunk/libmpcodecs/vd_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/vd_ffmpeg.c	(original)
+++ trunk/libmpcodecs/vd_ffmpeg.c	Wed Feb  7 13:31:37 2007
@@ -231,7 +231,7 @@
       avcodec_init();
       avcodec_register_all();
       avcodec_inited=1;
-      av_vlog = mp_msp_av_log_callback;
+      av_log_set_callback(mp_msp_av_log_callback);
     }
 
     ctx = sh->context = malloc(sizeof(vd_ffmpeg_ctx));
@@ -302,7 +302,7 @@
     avctx->error_concealment= lavc_param_error_concealment;
     avctx->debug= lavc_param_debug;
     if (lavc_param_debug)
-        av_log_level = AV_LOG_DEBUG;
+        av_log_set_level(AV_LOG_DEBUG);
     avctx->debug_mv= lavc_param_vismv;
     avctx->skip_top   = lavc_param_skip_top;
     avctx->skip_bottom= lavc_param_skip_bottom;



More information about the MPlayer-cvslog mailing list