Skip to content

Commit

Permalink
CLI: fix data type of json key NormalizeMixLevel
Browse files Browse the repository at this point in the history
  • Loading branch information
jstebbins committed Jan 15, 2016
1 parent 7ff0858 commit e3d65a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -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 */
Expand Down

0 comments on commit e3d65a6

Please sign in to comment.