summaryrefslogtreecommitdiffstats
path: root/libhb/work.c
diff options
context:
space:
mode:
authorjbrjake <[email protected]>2007-08-14 16:15:30 +0000
committerjbrjake <[email protected]>2007-08-14 16:15:30 +0000
commit29cb63a51474e10dd8ad264b50b20e79022cc14b (patch)
treeb6682ac1b9a7a6e722e919cf9b7293112f4b16b5 /libhb/work.c
parent1bafb14a5556bac0c45338e2914ac4fdabb3b0c2 (diff)
Moves the filters' logging info to work.c, adds parameter info. I also changed the deinterlace filter name to include its default method (ffmpeg) and removed the logging line from work.c that said if job->deinterlace was true or not, as it's now superfluous.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@812 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/work.c')
-rw-r--r--libhb/work.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/libhb/work.c b/libhb/work.c
index 49ac70c1a..20347f884 100644
--- a/libhb/work.c
+++ b/libhb/work.c
@@ -140,8 +140,21 @@ static void do_job( hb_job_t * job, int cpu_count )
hb_log( " + %dx%d -> %dx%d, crop %d/%d/%d/%d",
title->width, title->height, job->width, job->height,
job->crop[0], job->crop[1], job->crop[2], job->crop[3] );
- hb_log( " + deinterlace %s", job->deinterlace ? "on" : "off" );
hb_log( " + grayscale %s", job->grayscale ? "on" : "off" );
+
+ if( job->filters )
+ {
+ for( i = 0; i < hb_list_count( job->filters ); i++ )
+ {
+ hb_filter_object_t * filter = hb_list_item( job->filters, i );
+ hb_log(" + filter: %s", filter->name);
+ if (filter->settings)
+ hb_log(" + settings: %s", filter->settings);
+ else
+ hb_log(" + settings: default");
+ }
+ }
+
if( job->vquality >= 0.0 && job->vquality <= 1.0 )
{
hb_log( " + %.3f fps, video quality %.2f", (float) job->vrate /