summaryrefslogtreecommitdiffstats
path: root/libhb/work.c
diff options
context:
space:
mode:
authorjbrjake <[email protected]>2007-12-28 20:02:41 +0000
committerjbrjake <[email protected]>2007-12-28 20:02:41 +0000
commit6ed3b83428ae81b97b4fbd40d8ffddbf51164823 (patch)
tree3d8969cb91c1b2458ae5897bea3a7d906f05db80 /libhb/work.c
parent568f0b0c21a4b80c0ba7951237310ca31ea3e93e (diff)
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
Diffstat (limited to 'libhb/work.c')
-rw-r--r--libhb/work.c2
1 files changed, 1 insertions, 1 deletions
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,