Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Poirier <theeth@yahoo.com>2008-11-02 19:28:34 +0300
committerMartin Poirier <theeth@yahoo.com>2008-11-02 19:28:34 +0300
commitf180702a12de6ae1ce31e5c386b27bd1f39ef96b (patch)
tree0a423acba60bfb0847c82b59196e15bcb23154e0 /source/blender/imbuf/intern/util.c
parent719e30f70a2ab2de5c72e1ee5d9ccb42d3d83b8c (diff)
Quiet ffmpeg log by default. No more ugly stream info in console.
Starting Blender with -d turns info logging back on.
Diffstat (limited to 'source/blender/imbuf/intern/util.c')
-rw-r--r--source/blender/imbuf/intern/util.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/util.c b/source/blender/imbuf/intern/util.c
index cd58d9e4e96..05d594019a5 100644
--- a/source/blender/imbuf/intern/util.c
+++ b/source/blender/imbuf/intern/util.c
@@ -33,6 +33,7 @@
#include "DNA_userdef_types.h"
#include "BKE_global.h"
+#include "BKE_writeffmpeg.h" /* for silence_log_ffmpeg */
#include "imbuf.h"
#include "imbuf_patch.h"
@@ -238,6 +239,11 @@ void do_init_ffmpeg()
ffmpeg_init = 1;
av_register_all();
//avdevice_register_all();
+
+ if ((G.f & G_DEBUG) == 0)
+ {
+ silence_log_ffmpeg(1);
+ }
}
}