Commit b93020a1 authored by Gildas Bazin's avatar Gildas Bazin

* modules/codec/ffmpeg/ffmpeg.c: print AV_LOG_DEBUG messages if they were requested.

parent 2379ab14
...@@ -379,6 +379,9 @@ static void LibavcodecCallback( void *p_opaque, int i_level, ...@@ -379,6 +379,9 @@ static void LibavcodecCallback( void *p_opaque, int i_level,
i_vlc_level = VLC_MSG_DBG; i_vlc_level = VLC_MSG_DBG;
break; break;
case AV_LOG_DEBUG: case AV_LOG_DEBUG:
/* Print debug messages if they were requested */
if( p_avctx->debug ) vfprintf( stderr, psz_format, va );
return;
default: default:
return; return;
} }
......
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