summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2015-06-14 20:03:19 +0000
committerjstebbins <[email protected]>2015-06-14 20:03:19 +0000
commitc7da1aa1bc6d130d74b87d7697ea0f8ac7964aa4 (patch)
tree8735aa513c756340d580f1944195b35db9e08f2f /libhb
parent1be7a8e58feb0d26cac7067dcd289aec2aebb2e7 (diff)
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
Diffstat (limited to 'libhb')
-rw-r--r--libhb/preset.c4
1 files 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"));
}
}