diff options
author | eddyg <[email protected]> | 2009-05-04 04:56:19 +0000 |
---|---|---|
committer | eddyg <[email protected]> | 2009-05-04 04:56:19 +0000 |
commit | b2661d006f5b972e8599903b4909a8633ea5d5b3 (patch) | |
tree | 64b569cfd77a8c38495962ac340b6b8da30625d3 /test | |
parent | 5a1a257865a3156151ca16670f27c2d2f8a3ef56 (diff) |
Soft Subs Part 2: Auto-detect CC during scan, add CC to subtitle list in title, if selected then CC's are extracted, MP4 Muxer will dump the subs to the log at the end of encoding. TODO: Translate PTS for buf->start to HB format, add MP4 subtitle track and subs during muxing.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2375 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test')
-rw-r--r-- | test/test.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test.c b/test/test.c index 411c20c61..a1d9262d1 100644 --- a/test/test.c +++ b/test/test.c @@ -1645,9 +1645,11 @@ static int HandleEvents( hb_handle_t * h ) * Find the subtitle with the same track as "sub" and * add that to the job subtitle list */ - subtitle = hb_list_item( title->list_subtitle, sub ); + subtitle = hb_list_item( title->list_subtitle, sub-1 ); if( subtitle ) { hb_list_add( job->list_subtitle, subtitle ); + } else { + fprintf( stderr, "Could not find subtitle track %d, skipped\n", sub ); } } |