summaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2015-04-26 01:05:36 +0000
committerjstebbins <[email protected]>2015-04-26 01:05:36 +0000
commitd430e1f03c3a955ec7ca5abea9bf1256e78af183 (patch)
tree356b8119518f063d8309c6dc3f827d7b739ffff4 /gtk
parent63f94fea1d6eb475ed779f638cb26dccdf4d34c9 (diff)
LinGui: Allow setting p-to-p end frame beyond guessed duration
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7127 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk')
-rw-r--r--gtk/src/callbacks.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c
index 9f50c7736..832551177 100644
--- a/gtk/src/callbacks.c
+++ b/gtk/src/callbacks.c
@@ -1100,9 +1100,9 @@ ghb_set_widget_ranges(signal_user_data_t *ud, GhbValue *settings)
title->vrate.num / title->vrate.den;
val = ghb_dict_get_int(ud->settings, "start_point");
- spin_configure(ud, "start_point", val, 1, max_frames);
+ spin_configure(ud, "start_point", val, 1, max_frames * 2);
val = ghb_dict_get_int(ud->settings, "end_point");
- spin_configure(ud, "end_point", val, 1, max_frames);
+ spin_configure(ud, "end_point", val, 1, max_frames * 2);
}
val = ghb_dict_get_int(ud->settings, "angle");
@@ -2028,8 +2028,8 @@ ptop_widget_changed_cb(GtkWidget *widget, signal_user_data_t *ud)
{
gdouble max_frames = (gdouble)duration *
title->vrate.num / title->vrate.den;
- spin_configure(ud, "start_point", 1, 1, max_frames);
- spin_configure(ud, "end_point", max_frames, 1, max_frames);
+ spin_configure(ud, "start_point", 1, 1, max_frames * 2);
+ spin_configure(ud, "end_point", max_frames, 1, max_frames * 2);
}
}