diff options
author | jstebbins <[email protected]> | 2008-12-05 20:02:40 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2008-12-05 20:02:40 +0000 |
commit | f33a68eb3196a0fb0cb9324400fdd94c0187769e (patch) | |
tree | dc7b1a34a3cf87add15064863603fe8a52356657 /gtk/src/hb-backend.c | |
parent | a3c6c3d28e31b4a60cbcb45baaefb942c0e06976 (diff) |
LinGui: add a duration widget for live preview
stop live encode if user changes settings or the current preview frame
during the encode.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2013 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/hb-backend.c')
-rw-r--r-- | gtk/src/hb-backend.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c index dc11f580b..8579872e4 100644 --- a/gtk/src/hb-backend.c +++ b/gtk/src/hb-backend.c @@ -2989,6 +2989,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) { +g_message("duration %d", ghb_settings_get_int(js, "live_duration")); job->seek_points = ghb_settings_get_int(js, "preview_count"); job->pts_to_stop = ghb_settings_get_int(js, "live_duration") * 90000LL; } |