summaryrefslogtreecommitdiffstats
path: root/gtk/src/hb-backend.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-07-09 22:25:48 +0000
committerjstebbins <[email protected]>2009-07-09 22:25:48 +0000
commit432cdbe8c6fceb55021b4a39fdd8d28e2cf3112d (patch)
tree1b8483b1106a04395962110715552e00d7693675 /gtk/src/hb-backend.c
parent765a8bc3a84b72b1e7db0c671cae417d3e46b891 (diff)
LinGui: fix behavior when changing storage height in custom anamorphic mode
when the storage height changes, update the display height before making other calculations. otherwise, the change has affects on display width. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2678 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/hb-backend.c')
-rw-r--r--gtk/src/hb-backend.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c
index c37006fa9..89b0c7599 100644
--- a/gtk/src/hb-backend.c
+++ b/gtk/src/hb-backend.c
@@ -3163,9 +3163,7 @@ ghb_set_scale(signal_user_data_t *ud, gint mode)
job->anamorphic.dar_width =
ghb_settings_get_int(ud->settings,
"PictureDisplayWidth");
- job->anamorphic.dar_height =
- ghb_settings_get_int(ud->settings,
- "PictureDisplayHeight");
+ job->anamorphic.dar_height = height;
}
}
else