Commit bb07e944 authored by bcoudurier's avatar bcoudurier

set log debug when avformat debug is set

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13750 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f1c20468
......@@ -2214,7 +2214,7 @@ static int opt_default(const char *opt, const char *arg){
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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment