diff options
author | jstebbins <[email protected]> | 2015-01-11 16:52:56 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2015-01-11 16:52:56 +0000 |
commit | 3ee86df5c561ff1f0155b496b1236a84408291f9 (patch) | |
tree | a23432c85c0d5663c9c9a11f9c6fb5d6afbf8d8b /libhb | |
parent | 0689343f8dcff22dcd1cf8174aae4641560da078 (diff) |
json: fix parsing of SRT subtitles
Previously required "Track" < 0 which is unintuitive and unnecessary.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6730 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/hb_json.c | 2 |
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); |