diff options
author | John Stebbins <[email protected]> | 2016-06-02 07:37:11 -0600 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-06-02 07:37:11 -0600 |
commit | 9c80229019a69d9599ed956c4fdd6579a0e7030b (patch) | |
tree | 637e03f97e412eec46764699788e006be5b830a3 /test/test.c | |
parent | 1ad5643b58777b71563658260b743d2ee7ca6cac (diff) |
CLI: fix behaviour of --subtitle-lang-list
It did not default to "first" subittle selection behaviour.
Diffstat (limited to 'test/test.c')
-rw-r--r-- | test/test.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/test.c b/test/test.c index f9d24de4d..822e4d849 100644 --- a/test/test.c +++ b/test/test.c @@ -3056,8 +3056,10 @@ static hb_dict_t * PreparePreset(const char *preset_name) return NULL; } } - hb_dict_set(preset, "SubtitleTrackSelectionBehavior", - hb_value_string("first")); + if (subtitle_all == -1) + { + subtitle_all = 0; + } } if (native_language != NULL) { |