diff options
author | jbrjake <[email protected]> | 2009-01-26 18:44:27 +0000 |
---|---|---|
committer | jbrjake <[email protected]> | 2009-01-26 18:44:27 +0000 |
commit | a886670f9477c883d3502e24b4ca31efa0db9676 (patch) | |
tree | e9b7b1447ff4c8f974a17f79ac708a62e16a3e44 /test/test.c | |
parent | c3cbf601deb9a119809d1c63b0e067346ad4970a (diff) |
Organizes anamorphic parameters in a struct, requiring some minor search and replace changes in the interfaces. Folds the logic for strict anamorphic mode into hb_set_anamorphic_size() and also stakes out a new, more customizable mode 3.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2097 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test/test.c')
-rw-r--r-- | test/test.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/test.c b/test/test.c index a04897cd1..2c24d4c36 100644 --- a/test/test.c +++ b/test/test.c @@ -1137,21 +1137,21 @@ static int HandleEvents( hb_handle_t * h ) job->grayscale = grayscale; if (loosePixelratio) { - job->pixel_ratio = 2; + job->anamorphic.mode = 2; if (modulus) { - job->modulus = modulus; + job->anamorphic.modulus = modulus; } if( par_width && par_height ) { - job->pixel_ratio = 3; - job->pixel_aspect_width = par_width; - job->pixel_aspect_height = par_height; + job->anamorphic.mode = 3; + job->anamorphic.par_width = par_width; + job->anamorphic.par_height = par_height; } } else { - job->pixel_ratio = pixelratio; + job->anamorphic.mode = pixelratio; } /* Add selected filters */ |