summaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2008-11-30 04:33:08 +0000
committerjstebbins <[email protected]>2008-11-30 04:33:08 +0000
commite52ea5629c3df250a785c192d8f09ad454a70907 (patch)
treea96130f9c472e94caa932b2ca5632968f2cc2b76 /gtk
parent27531044a6224e69d4a47b57d121d2df7fa2a168 (diff)
LinGui: set job->seek_points when generating live preview
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1974 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk')
-rw-r--r--gtk/src/hb-backend.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c
index 252d96f9e..0bf156b19 100644
--- a/gtk/src/hb-backend.c
+++ b/gtk/src/hb-backend.c
@@ -2969,6 +2969,7 @@ add_job(hb_handle_t *h, GValue *js, gint unique_id, gint titleindex)
job->start_at_preview = ghb_settings_get_int(js, "start_frame") + 1;
if (job->start_at_preview)
{
+ job->seek_points = ghb_settings_get_int(js, "preview_count");
job->pts_to_stop = ghb_settings_get_int(js, "live_duration") * 90000LL;
}