OSDN Git Service

softsubtitles:
[handbrake-jp/handbrake-jp-git.git] / libhb / reader.c
index f7470bf..9ac515c 100644 (file)
@@ -460,7 +460,7 @@ static void ReaderFunc( void * _r )
     hb_subtitle_t *subtitle;
     for( n = 0; ( subtitle = hb_list_item( r->job->title->list_subtitle, n ) ); ++n )
     {
-        if ( subtitle->fifo_in )
+        if ( subtitle->fifo_in && subtitle->source == VOBSUB)
             push_buf( r, subtitle->fifo_in, hb_buffer_init(0) );
     }
 
@@ -527,7 +527,7 @@ static hb_fifo_t ** GetFifoForId( hb_job_t * job, int id )
         subtitle =  hb_list_item( title->list_subtitle, i );
         if (id == subtitle->id) {
             subtitle->hits++;
-            if( !job->indepth_scan || job->subtitle_force )
+            if( !job->indepth_scan || subtitle->config.force )
             {
                 /*
                  * Pass the subtitles to be processed if we are not scanning, or if