summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-10-25 16:41:45 +0000
committerjstebbins <[email protected]>2011-10-25 16:41:45 +0000
commit161c45ae9a34680513562c5c2849d705eacdb710 (patch)
treea274684ed57c1d52283b49e8e117c34eac87afaa
parent9a6291134de9c5441e6871797b0cce53716e7365 (diff)
initialize wait_for_keyframe in the right place
It was in in the wrong initialization function. So wasn't doing anything very useful :p git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4317 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--libhb/decavcodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c
index 6cb44b160..f8e5dc8c5 100644
--- a/libhb/decavcodec.c
+++ b/libhb/decavcodec.c
@@ -175,7 +175,6 @@ static int decavcodecaInit( hb_work_object_t * w, hb_job_t * job )
hb_work_private_t * pv = calloc( 1, sizeof( hb_work_private_t ) );
w->private_data = pv;
- pv->wait_for_keyframe = 60;
pv->job = job;
if ( job )
pv->title = job->title;
@@ -985,6 +984,7 @@ static int decavcodecvInit( hb_work_object_t * w, hb_job_t * job )
hb_work_private_t *pv = calloc( 1, sizeof( hb_work_private_t ) );
w->private_data = pv;
+ pv->wait_for_keyframe = 60;
pv->job = job;
if ( job )
pv->title = job->title;