diff options
author | John Stebbins <[email protected]> | 2016-01-15 14:44:25 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-01-15 14:44:25 -0700 |
commit | e3d65a621c2c1facddd70dffcf26415782d13f72 (patch) | |
tree | 3fc57bf1b4b795791dd3385fb20c60f17f4ad721 /test | |
parent | 7ff0858738340395157cfd3f5faf556d21707902 (diff) |
CLI: fix data type of json key NormalizeMixLevel
Fixes https://github.com/HandBrake/HandBrake/issues/53
Diffstat (limited to 'test')
-rw-r--r-- | test/test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.c b/test/test.c index 8c183ab07..795ea1f2c 100644 --- a/test/test.c +++ b/test/test.c @@ -4062,7 +4062,7 @@ PrepareJob(hb_handle_t *h, hb_title_t *title, hb_dict_t *preset_dict) norm = atoi(nmls[ii]); audio_dict = hb_value_array_get(audio_array, ii); hb_dict_set(audio_dict, "NormalizeMixLevel", - hb_value_int(norm)); + hb_value_bool(norm)); } if (nmls[ii] != NULL) { @@ -4075,7 +4075,7 @@ PrepareJob(hb_handle_t *h, hb_title_t *title, hb_dict_t *preset_dict) if (ii == 1) for (; ii < track_count; ii++) { audio_dict = hb_value_array_get(audio_array, ii); - hb_dict_set(audio_dict, "NormalizeMixLevel", hb_value_int(norm)); + hb_dict_set(audio_dict, "NormalizeMixLevel", hb_value_bool(norm)); } /* Audio Track Names */ |