summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2015-12-20 12:25:26 -0700
committerJohn Stebbins <[email protected]>2015-12-20 12:29:13 -0700
commit57a9f48ed95d4586399ba2f2cd02c2119f6f84f2 (patch)
treec8c3c07fb743eb92104f6e2b7681c19b0227d82a
parentc0111a233492815ba3192edcfa48fca3719ca4a8 (diff)
LinGui: fix live preview range selection
Off by one error...
-rw-r--r--gtk/src/preview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/src/preview.c b/gtk/src/preview.c
index e3336b076..21c0deb2b 100644
--- a/gtk/src/preview.c
+++ b/gtk/src/preview.c
@@ -793,7 +793,7 @@ live_preview_start_cb(GtkWidget *xwidget, signal_user_data_t *ud)
ghb_dict_set_string(dest, "File", name);
ghb_dict_set_string(range, "Type", "preview");
- ghb_dict_set_int(range, "Start", ud->preview->frame);
+ ghb_dict_set_int(range, "Start", ud->preview->frame + 1);
ghb_dict_set_int(range, "End",
ghb_dict_get_int(ud->prefs, "live_duration") * 90000);
ghb_dict_set_int(range, "SeekPoints",