summaryrefslogtreecommitdiffstats
path: root/libhb/common.h
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2008-11-11 16:05:16 +0000
committerjstebbins <[email protected]>2008-11-11 16:05:16 +0000
commit1111f7b15abdea2dea8f242c355fee9e77978ca0 (patch)
tree73b7b3d2cd04f37bbd8d34c7822d2c50b7b130ac /libhb/common.h
parente5770abbe687333605b529a7e4656e571ce08cf1 (diff)
libhb support for live preview
set job->start_at_preview to the preview frame you want to start at set job->pts_to_stop to the number of 90khz ticks duration git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1915 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/common.h')
-rw-r--r--libhb/common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libhb/common.h b/libhb/common.h
index adf7a2da4..44706afb7 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -222,6 +222,14 @@ struct hb_job_s
int subtitle_force;
char * native_language;
+ int64_t pts_to_stop; // declare eof when we pass this pts in
+ // the time-linearized input stream
+ int start_at_preview; // if non-zero, encoding will start
+ // at the position of preview n (1-10)
+ uint32_t frames_to_skip; // decode but discard this many frames
+ // initially (for frame accurate positioning
+ // to non-I frames).
+
#ifdef __LIBHB__
/* Internal data */
hb_handle_t * h;