From c7da1aa1bc6d130d74b87d7697ea0f8ac7964aa4 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Sun, 14 Jun 2015 20:03:19 +0000 Subject: [PATCH] libhb: fix application of custom anamorphic settings Thanks to wickning1 in the forums https://forum.handbrake.fr/viewtopic.php?f=4&t=32631&sid=e05d32d1f34bbcaab59d321f6c6222cf git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7296 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/preset.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libhb/preset.c b/libhb/preset.c index 91f63b7ce..228c23fa8 100644 --- a/libhb/preset.c +++ b/libhb/preset.c @@ -1585,13 +1585,13 @@ int hb_preset_apply_title(hb_handle_t *h, int title_index, if (dar_width > 0) { geo.geometry.par.num = dar_width; - geo.geometry.par.num = geo.geometry.width; + geo.geometry.par.den = geo.geometry.width; } else { geo.geometry.par.num = hb_value_get_int(hb_dict_get(preset, "PicturePARWidth")); - geo.geometry.par.num = + geo.geometry.par.den = hb_value_get_int(hb_dict_get(preset, "PicturePARHeight")); } } -- 2.40.0