summaryrefslogtreecommitdiffstats
path: root/libhb/sync.c
diff options
context:
space:
mode:
authorvan <[email protected]>2008-08-19 06:23:09 +0000
committervan <[email protected]>2008-08-19 06:23:09 +0000
commit074580619aa266cb4a0c047842f48caec07a9b37 (patch)
tree3c4cfcca533fa203df47aaf0f20bb49898f25b19 /libhb/sync.c
parent362599089c997ba3366015f65f3d061b918fb76e (diff)
fix subtitle indepth scan abort & hang.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1645 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/sync.c')
-rw-r--r--libhb/sync.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/libhb/sync.c b/libhb/sync.c
index 09ef0d9a2..524ca4d1b 100644
--- a/libhb/sync.c
+++ b/libhb/sync.c
@@ -111,10 +111,13 @@ int syncInit( hb_work_object_t * w, hb_job_t * job )
pv->busy |= 1;
/* Initialize libsamplerate for every audio track we have */
- for( i = 0; i < hb_list_count( title->list_audio ); i++ )
+ if ( ! job->indepth_scan )
{
- pv->busy |= ( 1 << (i + 1) );
- InitAudio( w, i );
+ for( i = 0; i < hb_list_count( title->list_audio ); i++ )
+ {
+ pv->busy |= ( 1 << (i + 1) );
+ InitAudio( w, i );
+ }
}
/* Get subtitle info, if any */