[Ffmpeg-cvslog] r5525 - trunk/ffplay.c

lu_zero subversion
Sun Jun 25 18:12:27 CEST 2006


Author: lu_zero
Date: Sun Jun 25 18:12:27 2006
New Revision: 5525

Modified:
   trunk/ffplay.c

Log:
Make debug work early on ffplay

Modified: trunk/ffplay.c
==============================================================================
--- trunk/ffplay.c	(original)
+++ trunk/ffplay.c	Sun Jun 25 18:12:27 2006
@@ -1606,8 +1606,6 @@
     codec = avcodec_find_decoder(enc->codec_id);
     enc->debug_mv = debug_mv;
     enc->debug = debug;
-    if(debug)
-        av_log_set_level(AV_LOG_DEBUG);
     enc->workaround_bugs = workaround_bugs;
     enc->lowres = lowres;
     if(lowres) enc->flags |= CODEC_FLAG_EMU_EDGE;
@@ -2319,6 +2317,7 @@
 
 static void opt_debug(const char *arg)
 {
+    av_log_set_level(atoi(arg));
     debug = atoi(arg);
 }
 




More information about the ffmpeg-cvslog mailing list