diff options
author | jbrjake <[email protected]> | 2008-06-04 03:08:53 +0000 |
---|---|---|
committer | jbrjake <[email protected]> | 2008-06-04 03:08:53 +0000 |
commit | 9f5c03a4bb522f1df63b52190461fc46366ba2c9 (patch) | |
tree | b8a8df3542f9d5df266b428a319fe8bcdc67dc2b /libhb/hb.c | |
parent | aaf1354a3a4e07edb4416df53e66126aaebe89fb (diff) |
Keep track of the input pixel aspect ratio as well as the output one. Hopefully doesn't break anything.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1489 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/hb.c')
-rw-r--r-- | libhb/hb.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libhb/hb.c b/libhb/hb.c index bcd77e7a9..07efb88bb 100644 --- a/libhb/hb.c +++ b/libhb/hb.c @@ -656,8 +656,9 @@ void hb_set_anamorphic_size( hb_job_t * job, int pixel_aspect_width = job->pixel_aspect_width; int pixel_aspect_height = job->pixel_aspect_height; - - if (cropped_width <= 706) + + /* Only try to guess a pixel aspect if there isn't one set by the source.*/ + if (cropped_width <= 706 && !title->pixel_aspect_width && !title->pixel_aspect_height) { /* Handle ITU PARs */ if (title->height == 480) |