summaryrefslogtreecommitdiffstats
path: root/libhb/work.c
diff options
context:
space:
mode:
authoreddyg <[email protected]>2009-05-04 01:39:48 +0000
committereddyg <[email protected]>2009-05-04 01:39:48 +0000
commit6be1d2f6861284fede24d8ca1021905846008a5a (patch)
tree9ba0b04aaeeddbe1e3c854a5986406d5bf6d107e /libhb/work.c
parent1349c26c5417fd23676a4cb5cf572fbfe75e3b62 (diff)
Stage 1 Soft Subtitle Support - Allow multiple subtitle tracks to be selected, and mark them for Render or Pass Through. No functional difference from the UIs, however in theory they could render multiple tracks - would be a dogs breakfast on screen though, and is untested. Have tested all normal operations from the UIs, including scanning.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2373 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/work.c')
-rw-r--r--libhb/work.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/work.c b/libhb/work.c
index 8e0734ceb..8c6db7d54 100644
--- a/libhb/work.c
+++ b/libhb/work.c
@@ -278,7 +278,7 @@ void hb_display_job_info( hb_job_t * job )
if( subtitle )
{
- hb_log( " * subtitle track %i, %s (id %x)", job->subtitle+1, subtitle->lang, subtitle->id);
+ hb_log( " * subtitle track %i, %s (id %x)", subtitle->track, subtitle->lang, subtitle->id);
}
}
@@ -503,7 +503,7 @@ static void do_job( hb_job_t * job, int cpu_count )
}
}
- if (!job->indepth_scan || job->subtitle_force) {
+ if( !job->indepth_scan || job->subtitle_force ) {
/*
* Don't add threads for subtitles when we are scanning, unless
* looking for forced subtitles.