diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/test/test.c b/test/test.c index 3fecfb1cc..44e44d14f 100644 --- a/test/test.c +++ b/test/test.c @@ -1655,6 +1655,9 @@ static int HandleEvents( hb_handle_t * h ) */ subtitle = hb_list_item( title->list_subtitle, sub-1 ); if( subtitle ) { + if( subtitle_force ) { + subtitle->force = subtitle_force; + } hb_list_add( job->list_subtitle, subtitle ); } else { fprintf( stderr, "Could not find subtitle track %d, skipped\n", sub ); @@ -1709,11 +1712,6 @@ static int HandleEvents( hb_handle_t * h ) if (maxHeight) job->maxHeight = maxHeight; - if( subtitle_force ) - { - job->subtitle_force = subtitle_force; - } - if( start_at_preview ) { job->start_at_preview = start_at_preview - 1; |