diff options
author | jstebbins <[email protected]> | 2014-12-23 22:27:18 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2014-12-23 22:27:18 +0000 |
commit | 29247cc9dfa23ea5ccdcb6c0db4508d58d7c919b (patch) | |
tree | f13a5aaf0a6ceab4f69d3db00f4c51daeaaa5e74 /libhb/hb_json.c | |
parent | 602a0186397265c2446136e7d4ce7c47479d01d9 (diff) |
json: add "Codec" to audio list items
and add hb_audio_can_apply_drc2 API which doesn't require audio codec_param
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6651 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/hb_json.c')
-rw-r--r-- | libhb/hb_json.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/hb_json.c b/libhb/hb_json.c index 70160436e..30746c75c 100644 --- a/libhb/hb_json.c +++ b/libhb/hb_json.c @@ -258,6 +258,7 @@ static json_t* hb_title_to_dict( const hb_title_t * title ) "Description", json_string(audio->config.lang.description), "Language", json_string(audio->config.lang.simple), "LanguageCode", json_string(audio->config.lang.iso639_2), + "Codec", json_integer(audio->config.in.codec), "SampleRate", json_integer(audio->config.in.samplerate), "BitRate", json_integer(audio->config.in.bitrate), "ChannelLayout", json_integer(audio->config.in.channel_layout)); |