diff options
author | jstebbins <[email protected]> | 2009-06-13 17:40:29 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-06-13 17:40:29 +0000 |
commit | 5a48476a05a18fbd5385aab24134c7d0c6b7b59d (patch) | |
tree | 938b2204a29b3eef445c2e4b77f97ceb08596850 /libhb/work.c | |
parent | c9987f3bb7a178159687e53edc88bc55ccb5cfd3 (diff) |
libhb: fix forced foreign language scan issues
- subtitles were not being added to list of subs to scan because the wrong
config was being checked for the forced flag. needed to use
job->select_subtitle_config instead of subtitle->config
- scr code in reader was preventing the majority of subtitle packets from
reaching decvobsub. made decvobsub more robust by adding ability to
re-sync in the event of lost packets. made scr recovery initialize
itself even in the event that it sees audio or subtitles before seeing
video.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2526 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/work.c')
-rw-r--r-- | libhb/work.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/work.c b/libhb/work.c index b7cf32ae7..7ffb3ab3b 100644 --- a/libhb/work.c +++ b/libhb/work.c @@ -572,7 +572,7 @@ static void do_job( hb_job_t * job, int cpu_count ) subtitle->fifo_sync = hb_fifo_init( FIFO_CPU_MULT * cpu_count ); subtitle->fifo_out = hb_fifo_init( FIFO_CPU_MULT * cpu_count ); - if( (!job->indepth_scan || subtitle->config.force) && + if( (!job->indepth_scan || job->select_subtitle_config.force) && subtitle->source == VOBSUB ) { /* * Don't add threads for subtitles when we are scanning, unless |