From 6ed3b83428ae81b97b4fbd40d8ffddbf51164823 Mon Sep 17 00:00:00 2001 From: jbrjake Date: Fri, 28 Dec 2007 20:02:41 +0000 Subject: Extends hb_set_anamorphic_size() to make it possible to do "dry-runs"...this way the MacGui can calculate loose anamorphic values for displaying preview images, before the job variables are directly set in work.c. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1153 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/work.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libhb/work.c') diff --git a/libhb/work.c b/libhb/work.c index daabf9962..09ebf7ae8 100644 --- a/libhb/work.c +++ b/libhb/work.c @@ -133,7 +133,7 @@ static void do_job( hb_job_t * job, int cpu_count ) /* While keeping the DVD storage aspect, resize the job width and height so they fit into the user's specified dimensions. */ - hb_set_anamorphic_size(job); + hb_set_anamorphic_size(job, &job->width, &job->height, &job->pixel_aspect_width, &job->pixel_aspect_height); } /* Keep width and height within these boundaries, -- cgit v1.2.3