From 8c62eef865018ed413d1b8bd33118100d23a8761 Mon Sep 17 00:00:00 2001 From: jbrjake Date: Sat, 16 Feb 2008 23:27:05 +0000 Subject: [PATCH] Only show a line in the log for filters if there are any, only show a line for dynamic range compression if it's enabled. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1274 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/work.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libhb/work.c b/libhb/work.c index 3d111d11e..51cbe5ed4 100644 --- a/libhb/work.c +++ b/libhb/work.c @@ -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), -- 2.40.0