summaryrefslogtreecommitdiffstats
path: root/libhb/scan.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/scan.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/scan.c')
-rw-r--r--libhb/scan.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libhb/scan.c b/libhb/scan.c
index a549285b5..420904b61 100644
--- a/libhb/scan.c
+++ b/libhb/scan.c
@@ -224,8 +224,7 @@ static void ScanFunc( void * _data )
job->vrate_base = title->rate_base;
job->list_audio = hb_list_init();
-
- job->subtitle = -1;
+ job->list_subtitle = hb_list_init();
job->mux = HB_MUX_MP4;
}