summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authoreddyg <[email protected]>2007-09-11 06:02:07 +0000
committereddyg <[email protected]>2007-09-11 06:02:07 +0000
commitcf26ca5f77044ec3364edb446635c14b9c9daddc (patch)
tree9d72d3770415ea9fb0cde26a9f3ab52428fd029d /macosx
parent6866dd773f1cff829538c963e8b7ba85fe700be3 (diff)
Added buffer management and changed fifo sizes. Changed job->subtitle_scan to job->indepth_scan, and fixed memory init bug in denoise.c.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@945 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r--macosx/Controller.mm7
1 files changed, 3 insertions, 4 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm
index b2fb41fe6..297eaf7e2 100644
--- a/macosx/Controller.mm
+++ b/macosx/Controller.mm
@@ -1590,7 +1590,7 @@ static int hb_group_count(hb_handle_t * h)
job->x264opts = NULL;
- job->subtitle_scan = 1;
+ job->indepth_scan = 1;
job->select_subtitle = (hb_subtitle_t**)malloc(sizeof(hb_subtitle_t*));
*(job->select_subtitle) = NULL;
@@ -1617,8 +1617,7 @@ static int hb_group_count(hb_handle_t * h)
if( [fVidTwoPassCheck state] == NSOnState )
{
hb_subtitle_t **subtitle_tmp = job->select_subtitle;
- job->select_subtitle = NULL;
- job->subtitle_scan = 0;
+ job->indepth_scan = 0;
job->pass = 1;
job->sequence_id++; // for job grouping
@@ -1636,7 +1635,7 @@ static int hb_group_count(hb_handle_t * h)
}
else
{
- job->subtitle_scan = 0;
+ job->indepth_scan = 0;
job->pass = 0;
job->sequence_id++; // for job grouping
hb_add( fHandle, job );