OSDN Git Service

Only show a line in the log for filters if there are any, only show a line for dynami...
authorjbrjake <jbrjake@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sat, 16 Feb 2008 23:27:05 +0000 (23:27 +0000)
committerjbrjake <jbrjake@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sat, 16 Feb 2008 23:27:05 +0000 (23:27 +0000)
git-svn-id: svn://localhost/HandBrake/trunk@1274 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/work.c

index 3d111d1..51cbe5e 100644 (file)
@@ -193,7 +193,7 @@ static void do_job( hb_job_t * job, int cpu_count )
         }
     }
     
-    if( job->filters )
+    if( hb_list_count( job->filters ) )
     {
         hb_log(" + filters");
         for( i = 0; i < hb_list_count( job->filters ); i++ )
@@ -355,7 +355,7 @@ static void do_job( hb_job_t * job, int cpu_count )
                 "vorbis" ) );
     }
     
-    if ( job->dynamic_range_compression )
+    if ( job->dynamic_range_compression > 1 )
         hb_log(" + dynamic range compression: %f", job->dynamic_range_compression);
 
     /* if we are doing AC3 passthru (at the codec level, not pass-through),