summaryrefslogtreecommitdiffstats
path: root/libhb/sync.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2012-04-11 21:39:15 +0000
committerjstebbins <[email protected]>2012-04-11 21:39:15 +0000
commit1bd383ef7fc79d5b5e03d088539086bcb339c575 (patch)
treedee3d1e9601d222cb572d9d78ff5e6a0f73467d6 /libhb/sync.c
parent6b442b148bf618c16793fb7787314979ee90adf8 (diff)
libhb: fix estimated number of frames expected
we don't need to overestimate it anymore since we do not terminate the encode when this value is reached. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4588 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/sync.c')
-rw-r--r--libhb/sync.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libhb/sync.c b/libhb/sync.c
index 130800595..c9a4eebe6 100644
--- a/libhb/sync.c
+++ b/libhb/sync.c
@@ -171,8 +171,6 @@ hb_work_object_t * hb_sync_init( hb_job_t * job )
chapter = hb_list_item( title->list_chapter, i - 1 );
duration += chapter->duration;
}
- duration += 90000;
- /* 1 second safety so we're sure we won't miss anything */
}
sync->count_frames_max = duration * title->rate / title->rate_base / 90000;
}