summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
Diffstat (limited to 'libhb')
-rw-r--r--libhb/hb_json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/hb_json.c b/libhb/hb_json.c
index 30746c75c..52d3b4aad 100644
--- a/libhb/hb_json.c
+++ b/libhb/hb_json.c
@@ -1005,7 +1005,7 @@ hb_job_t* hb_json_to_job( hb_handle_t * h, const char * json_job )
return NULL;
}
// Embedded subtitle track
- if (track >= 0)
+ if (track >= 0 && srtfile == NULL)
{
hb_subtitle_t *subtitle;
subtitle = hb_list_item(job->title->list_subtitle, track);