summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-php/ffmpeg-php/files/ffmpeg-php-0.6.0-log.patch')
-rw-r--r--dev-php/ffmpeg-php/files/ffmpeg-php-0.6.0-log.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-php/ffmpeg-php/files/ffmpeg-php-0.6.0-log.patch b/dev-php/ffmpeg-php/files/ffmpeg-php-0.6.0-log.patch
new file mode 100644
index 000000000000..3b5bb88322e9
--- /dev/null
+++ b/dev-php/ffmpeg-php/files/ffmpeg-php-0.6.0-log.patch
@@ -0,0 +1,12 @@
+Index: work/php5.3/ffmpeg-php.c
+===================================================================
+--- work.orig/php5.3/ffmpeg-php.c
++++ work/php5.3/ffmpeg-php.c
+@@ -101,6 +101,7 @@ PHP_MINIT_FUNCTION(ffmpeg)
+ if (INI_BOOL("ffmpeg.show_warnings")) {
+ av_log_set_callback(ffmpeg_errorhandler);
+ }
++ else av_log_set_level(AV_LOG_QUIET);
+
+ register_ffmpeg_movie_class(module_number);
+ register_ffmpeg_frame_class(module_number);