summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.m
diff options
context:
space:
mode:
authordynaflash <[email protected]>2009-10-23 20:16:10 +0000
committerdynaflash <[email protected]>2009-10-23 20:16:10 +0000
commitc591cf80cf88f25822b925ed1d214953da1c2345 (patch)
tree1f57b7b87cd57c0dbe12d7450a47404d08499ea1 /macosx/Controller.m
parentb3fbe46e0c8282124e0b910072eb5873cb5fa05e (diff)
MacGui: Fix bug in encoding custom anamorphic with modulus other than 16. Patch by Rodeo. Thanks.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2896 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Controller.m')
-rw-r--r--macosx/Controller.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m
index 2143a2020..d364c0dad 100644
--- a/macosx/Controller.m
+++ b/macosx/Controller.m
@@ -2154,6 +2154,8 @@ fWorkingCount = 0;
/* if we are custom anamorphic, store the exact storage, par and display dims */
if (fTitle->job->anamorphic.mode == 3)
{
+ [queueFileJob setObject:[NSNumber numberWithInt:fTitle->job->anamorphic.modulus] forKey:@"PicturePARModulus"];
+
[queueFileJob setObject:[NSNumber numberWithInt:fTitle->job->width] forKey:@"PicturePARStorageWidth"];
[queueFileJob setObject:[NSNumber numberWithInt:fTitle->job->height] forKey:@"PicturePARStorageHeight"];
@@ -3397,6 +3399,8 @@ bool one_burned = FALSE;
job->width = [[queueToApply objectForKey:@"PicturePARStorageWidth"] intValue];
job->height = [[queueToApply objectForKey:@"PicturePARStorageHeight"] intValue];
+ job->anamorphic.modulus = [[queueToApply objectForKey:@"PicturePARModulus"] intValue];
+
job->anamorphic.par_width = [[queueToApply objectForKey:@"PicturePARPixelWidth"] intValue];
job->anamorphic.par_height = [[queueToApply objectForKey:@"PicturePARPixelHeight"] intValue];