diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-04-29 20:03:21 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-04-29 20:03:21 +0400 |
commit | 685e9b83c22aa3b2dc44bf34c82dbf751b407ab0 (patch) | |
tree | 281032f77046d9d1358ba1fd631af283f2a0d2fb /source/blender/imbuf/intern/util.c | |
parent | b13ef55973cfbd60d95069f4830d4777cc99a448 (diff) |
Fix for --debug-ffmpeg not giving enough information
Diffstat (limited to 'source/blender/imbuf/intern/util.c')
-rw-r--r-- | source/blender/imbuf/intern/util.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/util.c b/source/blender/imbuf/intern/util.c index 68d1c906a1f..849ba300fbf 100644 --- a/source/blender/imbuf/intern/util.c +++ b/source/blender/imbuf/intern/util.c @@ -271,6 +271,9 @@ void IMB_ffmpeg_init(void) ffmpeg_last_error[0] = '\0'; + if (G.debug & G_DEBUG_FFMPEG) + av_log_set_level(AV_LOG_DEBUG); + /* set own callback which could store last error to report to UI */ av_log_set_callback(ffmpeg_log_callback); } |