]> granicus.if.org Git - handbrake/commitdiff
added call to av_log_set_level in hb_init_real based on value of verbose param. PixelRatio@122 PixelRatioWorking@107
authorjohnallen <johnallenemail@gmail.com>
Sun, 14 Jan 2007 02:03:37 +0000 (02:03 +0000)
committerjohnallen <johnallenemail@gmail.com>
Sun, 14 Jan 2007 02:03:37 +0000 (02:03 +0000)
makes ffmpeg debbuging level the same as ours.
will be useful while finding the memory leak issue.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk/libhb@106 b64f7644-9d1e-0410-96f1-a4d463321fa5

hb.c

diff --git a/hb.c b/hb.c
index bdd2353d94267b08acbf839442571840adc0f068..98e014f0d986ee607faf7010844459032d9a43f0 100644 (file)
--- a/hb.c
+++ b/hb.c
@@ -71,6 +71,7 @@ hb_handle_t * hb_init_real( int verbose, int update_check )
     if( verbose > HB_DEBUG_NONE )
     {
         putenv( "HB_DEBUG=1" );
+               av_log_set_level(AV_LOG_DEBUG);
     }
 
     /* Check for an update on the website if asked to */