summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gtk/src/callbacks.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c
index 5f7c04b8e..862cd3c6e 100644
--- a/gtk/src/callbacks.c
+++ b/gtk/src/callbacks.c
@@ -1885,8 +1885,7 @@ set_title_settings(signal_user_data_t *ud, GhbValue *settings)
ghb_dict_set(settings, "volume_label", ghb_value_dup(
ghb_dict_get_value(ud->globals, "volume_label")));
}
- ghb_dict_set_int(settings, "scale_width",
- title->geometry.width - title->crop[2] - title->crop[3]);
+ ghb_dict_set_int(settings, "scale_width", title->geometry.width);
// If anamorphic or keep_aspect, the hight will
// be automatically calculated
@@ -1899,8 +1898,7 @@ set_title_settings(signal_user_data_t *ud, GhbValue *settings)
pic_par == HB_ANAMORPHIC_AUTO ||
pic_par == HB_ANAMORPHIC_CUSTOM)
{
- ghb_dict_set_int(settings, "scale_height",
- title->geometry.height - title->crop[0] - title->crop[1]);
+ ghb_dict_set_int(settings, "scale_height", title->geometry.height);
}
ghb_set_scale_settings(settings, GHB_PIC_KEEP_PAR|GHB_PIC_USE_MAX);