[FFmpeg-cvslog] r13750 - trunk/ffmpeg.c

bcoudurier subversion
Thu Jun 12 01:45:01 CEST 2008


Author: bcoudurier
Date: Thu Jun 12 01:45:00 2008
New Revision: 13750

Log:
set log debug when avformat debug is set

Modified:
   trunk/ffmpeg.c

Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	(original)
+++ trunk/ffmpeg.c	Thu Jun 12 01:45:00 2008
@@ -2214,7 +2214,7 @@ static int opt_default(const char *opt, 
     opt_names= av_realloc(opt_names, sizeof(void*)*(opt_name_count+1));
     opt_names[opt_name_count++]= o->name;
 
-    if(avctx_opts[0]->debug)
+    if(avctx_opts[0]->debug || avformat_opts->debug)
         av_log_set_level(AV_LOG_DEBUG);
     return 0;
 }




More information about the ffmpeg-cvslog mailing list