summaryrefslogtreecommitdiffstats
path: root/libhb/work.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/work.c')
-rw-r--r--libhb/work.c16
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 );
- }
}
}