set log level to AV_LOG_DEBUG if -debug ... is used