diff options
author | eddyg <[email protected]> | 2009-06-23 00:32:36 +0000 |
---|---|---|
committer | eddyg <[email protected]> | 2009-06-23 00:32:36 +0000 |
commit | a51f35b6201202aed554f92fd540e4a3ca19cd0e (patch) | |
tree | c123aa5643eef80ff50b8ec7befbbf6272fa8851 /libhb/work.c | |
parent | 7b90e7deaa04a4ac7e1af7d8bf5996549dd2ea5f (diff) |
CLI: SubRip Subtitle import
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2602 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/work.c')
-rw-r--r-- | libhb/work.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libhb/work.c b/libhb/work.c index 486b8a305..d0afb500d 100644 --- a/libhb/work.c +++ b/libhb/work.c @@ -589,6 +589,15 @@ static void do_job( hb_job_t * job, int cpu_count ) hb_list_add( job->list_work, w ); } + if( !job->indepth_scan && subtitle->source == SRTSUB ) + { + w = hb_get_work( WORK_DECSRTSUB ); + w->fifo_in = subtitle->fifo_in; + w->fifo_out = subtitle->fifo_raw; + w->subtitle = subtitle; + hb_list_add( job->list_work, w ); + } + if( !job->indepth_scan && subtitle->format == PICTURESUB && subtitle->config.dest == PASSTHRUSUB ) |