summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2015-05-13 23:36:33 +0000
committerjstebbins <[email protected]>2015-05-13 23:36:33 +0000
commite80199e90bed90b5b6a171da46e4591abd2e25db (patch)
tree852c701a30c35f365885e62ebd2ef2e2d3e18179 /libhb
parent38974a047e4602615297c8b3f4579b3189f84af9 (diff)
cli: fix initialization of encode ranges
The default chapter start or end was used if one but not the other of start-at/stop-at were used. Also don't overwrite current pass and pass_count status in hb_state_t while searching for the position to start encoding. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7177 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r--libhb/sync.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/sync.c b/libhb/sync.c
index 594251b0d..3c2a7ffbd 100644
--- a/libhb/sync.c
+++ b/libhb/sync.c
@@ -1655,6 +1655,8 @@ static void UpdateSearchState( hb_work_object_t * w, int64_t start )
return;
}
+ hb_get_state2(pv->job->h, &state);
+
#define p state.param.working
state.state = HB_STATE_SEARCHING;
if ( pv->job->frame_to_start )