OSDN Git Service

added call to av_log_set_level in hb_init_real based on value of verbose param.
authorjohnallen <johnallen@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sun, 14 Jan 2007 02:03:37 +0000 (02:03 +0000)
committerjohnallen <johnallen@b64f7644-9d1e-0410-96f1-a4d463321fa5>
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://localhost/HandBrake/trunk@106 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/hb.c

index bdd2353..98e014f 100644 (file)
@@ -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 */