[Ffmpeg-cvslog] CVS: ffmpeg ffplay.c, 1.42, 1.43 ffmpeg.c, 1.332, 1.333

Michael Niedermayer CVS michael
Tue Jun 7 23:54:00 CEST 2005


Update of /cvsroot/ffmpeg/ffmpeg
In directory mail:/var2/tmp/cvs-serv10756

Modified Files:
	ffplay.c ffmpeg.c 
Log Message:
set log level to AV_LOG_DEBUG if -debug ... is used


Index: ffplay.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/ffplay.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- ffplay.c	30 Apr 2005 21:43:55 -0000	1.42
+++ ffplay.c	7 Jun 2005 21:53:56 -0000	1.43
@@ -1179,6 +1179,8 @@
     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;

Index: ffmpeg.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/ffmpeg.c,v
retrieving revision 1.332
retrieving revision 1.333
diff -u -d -r1.332 -r1.333
--- ffmpeg.c	3 Jun 2005 14:31:45 -0000	1.332
+++ ffmpeg.c	7 Jun 2005 21:53:56 -0000	1.333
@@ -2291,6 +2291,7 @@
 static void opt_debug(const char *arg)
 {
     debug = atoi(arg);
+    av_log_set_level(AV_LOG_DEBUG);
 }
 
 static void opt_vismv(const char *arg)





More information about the ffmpeg-cvslog mailing list