diff options
author | jstebbins <[email protected]> | 2015-04-07 18:47:12 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2015-04-07 18:47:12 +0000 |
commit | edf2d4db1116457e8f14f4021896b38366434e17 (patch) | |
tree | 0cc03d93584f281e48ace5214ca5c4fff8251d99 /libhb | |
parent | c3b23fbecb27b44b982a127732760bc7a7ddf40e (diff) |
json: fix audio autopassthru copy_mask and fallback
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7068 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/hb_json.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libhb/hb_json.c b/libhb/hb_json.c index 882a3f76b..a157fa7cb 100644 --- a/libhb/hb_json.c +++ b/libhb/hb_json.c @@ -1111,18 +1111,18 @@ hb_job_t* hb_dict_to_job( hb_handle_t * h, hb_dict_t *dict ) if (hb_value_type(acodec_copy_mask) == HB_VALUE_TYPE_STRING) { const char *s = hb_value_get_string(value); - job->acodec_fallback |= hb_audio_encoder_get_from_name(s); + job->acodec_copy_mask |= hb_audio_encoder_get_from_name(s); } else { - job->acodec_fallback |= hb_value_get_int(value); + job->acodec_copy_mask |= hb_value_get_int(value); } } } if (hb_value_type(acodec_copy_mask) == HB_VALUE_TYPE_STRING) { // Split the string at ',' - char *s = strdup(hb_value_get_string(acodec_fallback)); + char *s = strdup(hb_value_get_string(acodec_copy_mask)); char *cur = s; while (cur != NULL && cur[0] != 0) { @@ -1132,7 +1132,7 @@ hb_job_t* hb_dict_to_job( hb_handle_t * h, hb_dict_t *dict ) *next = 0; next++; } - job->acodec_fallback |= hb_audio_encoder_get_from_name(cur); + job->acodec_copy_mask |= hb_audio_encoder_get_from_name(cur); cur = next; } free(s); |