diff options
author | jbrjake <[email protected]> | 2008-02-16 23:27:05 +0000 |
---|---|---|
committer | jbrjake <[email protected]> | 2008-02-16 23:27:05 +0000 |
commit | 8c62eef865018ed413d1b8bd33118100d23a8761 (patch) | |
tree | d92a68ace6a640fc07af4e294174a022b1dbe2ee /libhb/work.c | |
parent | 0427e21b2d4cc0790c95b7bc2ecc96ec8459f922 (diff) |
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
Diffstat (limited to 'libhb/work.c')
-rw-r--r-- | libhb/work.c | 4 |
1 files 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), |