From c591cf80cf88f25822b925ed1d214953da1c2345 Mon Sep 17 00:00:00 2001 From: dynaflash Date: Fri, 23 Oct 2009 20:16:10 +0000 Subject: [PATCH] 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 --- macosx/Controller.m | 4 ++++ 1 file changed, 4 insertions(+) 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]; -- 2.40.0