diff options
author | jstebbins <[email protected]> | 2011-03-27 21:09:27 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-03-27 21:09:27 +0000 |
commit | e5689e626605675ab30e8a90989ea353d0543377 (patch) | |
tree | 4be6e49002126344edcdfc217f23cb1e36cc8709 /libhb/work.c | |
parent | abd251048b392e86041325c1561e7a9dcd8067c3 (diff) |
Simplify a lot of subtitle handling code.
Makes it easier to read. Gets rid of some unnecessary variables.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3886 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/work.c')
-rw-r--r-- | libhb/work.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/libhb/work.c b/libhb/work.c index c5785bdb9..c5f4da99e 100644 --- a/libhb/work.c +++ b/libhb/work.c @@ -428,7 +428,6 @@ static void do_job( hb_job_t * job ) hb_audio_t * audio; hb_subtitle_t * subtitle; - hb_attachment_t * attachment; unsigned int subtitle_highest = 0; unsigned int subtitle_highest_id = 0; unsigned int subtitle_lowest = -1; @@ -872,21 +871,6 @@ static void do_job( hb_job_t * job ) w->subtitle = subtitle; hb_list_add( job->list_work, w ); } - - if( !job->indepth_scan && - subtitle->format == PICTURESUB - && subtitle->config.dest == PASSTHRUSUB ) - { - /* - * Passing through a subtitle picture, this will have to - * be rle encoded before muxing. - */ - w = hb_get_work( WORK_ENCVOBSUB ); - w->fifo_in = subtitle->fifo_sync; - w->fifo_out = subtitle->fifo_out; - w->subtitle = subtitle; - hb_list_add( job->list_work, w ); - } } } |