diff options
author | dynaflash <[email protected]> | 2010-02-11 23:38:00 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2010-02-11 23:38:00 +0000 |
commit | 748a83548709b07001f3a715dcb11279609d9395 (patch) | |
tree | 806ef5653b28b982537410fd3bb2d3823a842aa4 /test | |
parent | 5212b9a80b24015b8c638d49e789d253ddc70eb5 (diff) |
Adjustable picture modulus: Base patch by BradleyS, Thanks BradleyS!
- Enables setting modulus for all anamorphic modes (including non-anamorphic) except strict. The job variable "anamorphic.modulus" is repurposed for this and is renamed to simply "modulus"
- Other changes: Increases minimum output dimensions to 32x32 pixels in libhb (prevents possible crashes, notably in macgui). Better crop value and maximum crop value calculations to prevent crashes. Some code optimization / refactoring.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3113 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test')
-rw-r--r-- | test/test.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test.c b/test/test.c index bb0637eb7..bb2730182 100644 --- a/test/test.c +++ b/test/test.c @@ -1134,7 +1134,7 @@ static int HandleEvents( hb_handle_t * h ) if (modulus) { - job->anamorphic.modulus = modulus; + job->modulus = modulus; } if( itu_par ) @@ -1159,7 +1159,7 @@ static int HandleEvents( hb_handle_t * h ) if (modulus) { - job->anamorphic.modulus = modulus; + job->modulus = modulus; } if( itu_par ) @@ -2327,8 +2327,8 @@ static void ShowHelp() " --itu-par Use wider, ITU pixel aspect values for loose and\n" " custom anamorphic, useful with underscanned sources\n" " --modulus Set the number you want the scaled pixel dimensions\n" - " <number> to divide cleanly by, for loose and custom\n" - " anamorphic modes (default: 16)\n" + " <number> to divide cleanly by. Does not affect strict\n" + " anamorphic mode, which is always mod 2 (default: 16)\n" " -M --color-matrix Set the color space signaled by the output\n" " <601 or 709> (Bt.601 is mostly for SD content, Bt.709 for HD,\n" " default: set by resolution)\n" |