summaryrefslogtreecommitdiffstats
path: root/test/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test.c')
-rw-r--r--test/test.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test.c b/test/test.c
index ab08750e2..fc915d45e 100644
--- a/test/test.c
+++ b/test/test.c
@@ -1656,7 +1656,7 @@ 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;
+ subtitle->config.force = subtitle_force;
}
hb_list_add( job->list_subtitle, subtitle );
} else {
@@ -1750,6 +1750,10 @@ static int HandleEvents( hb_handle_t * h )
job->select_subtitle = malloc(sizeof(hb_subtitle_t*));
*(job->select_subtitle) = NULL;
+ job->select_subtitle_config.dest = RENDERSUB;
+ job->select_subtitle_config.default_track = 0;
+ job->select_subtitle_config.force = subtitle_force;
+
/*
* Add the pre-scan job
*/