diff options
author | jbrjake <[email protected]> | 2009-06-06 17:02:17 +0000 |
---|---|---|
committer | jbrjake <[email protected]> | 2009-06-06 17:02:17 +0000 |
commit | 40399c191cf7c62a590f6fce67f4a2da14e0289a (patch) | |
tree | 87f5f8d0937eb1b459526ac51498cce1ac1126d9 /libhb/work.c | |
parent | 7168c40b5207df0a67dc74b34bf0f06ea323c9ae (diff) |
Adds a keep_display_aspect toggle to the job->anamorphic struct in order to fix a bug and implements it in the CLI. Also adds some more anamorphic settings to the job config display.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2492 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/work.c')
-rw-r--r-- | libhb/work.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libhb/work.c b/libhb/work.c index e99feaa8c..53d9e27c7 100644 --- a/libhb/work.c +++ b/libhb/work.c @@ -205,9 +205,21 @@ void hb_display_job_info( hb_job_t * job ) if( job->anamorphic.mode ) { hb_log( " + %s anamorphic", job->anamorphic.mode == 1 ? "strict" : job->anamorphic.mode == 2? "loose" : "custom" ); + if( job->anamorphic.mode == 3 && job->anamorphic.keep_display_aspect ) + { + hb_log( " + keeping source display aspect ratio"); + } + if( job->anamorphic.modulus != 16 ) + { + hb_log( " + modulus: %i", job->anamorphic.modulus ); + } hb_log( " + storage dimensions: %d * %d -> %d * %d, crop %d/%d/%d/%d", title->width, title->height, job->width, job->height, job->crop[0], job->crop[1], job->crop[2], job->crop[3] ); + if( job->anamorphic.itu_par ) + { + hb_log( " + using ITU pixel aspect ratio values"); + } hb_log( " + pixel aspect ratio: %i / %i", job->anamorphic.par_width, job->anamorphic.par_height ); hb_log( " + display dimensions: %.0f * %i", (float)( job->width * job->anamorphic.par_width / job->anamorphic.par_height ), job->height ); |