summaryrefslogtreecommitdiffstats
path: root/libhb/hb_json.c
diff options
context:
space:
mode:
authorjstebbins <jstebbins.hb@gmail.com>2015-04-27 14:38:59 +0000
committerjstebbins <jstebbins.hb@gmail.com>2015-04-27 14:38:59 +0000
commit3aa33bea1fe9f6ebbda25caab891daed43992d5d (patch)
tree3fdcfdb7423208be0f6066f3a2533f31a268bf7c /libhb/hb_json.c
parente8d8805fa55589da7a40503d665964ba3bfd117b (diff)
json: fix packig audio track in title
ChannelLayout was getting dropped due to missing format specifier git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7129 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/hb_json.c')
-rw-r--r--libhb/hb_json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/hb_json.c b/libhb/hb_json.c
index ee20503bf..93673f371 100644
--- a/libhb/hb_json.c
+++ b/libhb/hb_json.c
@@ -258,7 +258,7 @@ static hb_dict_t* hb_title_to_dict_internal( hb_title_t *title )
hb_audio_t *audio = hb_list_item(title->list_audio, ii);
audio_dict = json_pack_ex(&error, 0,
- "{s:o, s:o, s:o, s:o, s:o, s:o}",
+ "{s:o, s:o, s:o, s:o, s:o, s:o, s:o}",
"Description", hb_value_string(audio->config.lang.description),
"Language", hb_value_string(audio->config.lang.simple),
"LanguageCode", hb_value_string(audio->config.lang.iso639_2),