summaryrefslogtreecommitdiff
blob: 3b5bb88322e96036d495c36cb475c3febf5bbb84 (plain)
1
2
3
4
5
6
7
8
9
10
11
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);