summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjbrjake <[email protected]>2009-06-05 22:07:01 +0000
committerjbrjake <[email protected]>2009-06-05 22:07:01 +0000
commit7168c40b5207df0a67dc74b34bf0f06ea323c9ae (patch)
tree87d1d86d6bc5893c2f4d1502d36c9f93c29cc418
parent3131afeeb93676cf30e7272c9202134147ba172e (diff)
Probably a good idea to set the new par width after calculating it.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2491 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--libhb/hb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libhb/hb.c b/libhb/hb.c
index f7e3c9dae..c65cc5872 100644
--- a/libhb/hb.c
+++ b/libhb/hb.c
@@ -803,7 +803,9 @@ void hb_set_anamorphic_size( hb_job_t * job,
which could easily be stored in a different resolution. */
int output_display_width = width * (double)pixel_aspect_width /
- (double)pixel_aspect_height ;
+ (double)pixel_aspect_height;
+ pixel_aspect_width = output_display_width;
+ pixel_aspect_height = width;
}
/* Back to caller */