summaryrefslogtreecommitdiffstats
path: root/libhb/hb_dict.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2015-05-06 16:04:08 +0000
committerjstebbins <[email protected]>2015-05-06 16:04:08 +0000
commit9c0e97cc2c369e0c720441d182bbde20210742f4 (patch)
tree8b8f74ed24d0f617c9980d9043ebd53c33c531f3 /libhb/hb_dict.c
parent81bcee10d2ad88f44c0f7791f2dd8da4ee2c1b76 (diff)
libhb,cli: add preset management to libhb, use it in cli
This results in custom preset support in the CLI and additional command line options to fully support all preset keys. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7158 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/hb_dict.c')
-rw-r--r--libhb/hb_dict.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libhb/hb_dict.c b/libhb/hb_dict.c
index 7fd12b565..866803f58 100644
--- a/libhb/hb_dict.c
+++ b/libhb/hb_dict.c
@@ -21,6 +21,11 @@ hb_value_type_t hb_value_type(const hb_value_t *value)
return type;
}
+int hb_value_is_number(const hb_value_t *value)
+{
+ return json_is_number(value);
+}
+
hb_value_t * hb_value_dup(const hb_value_t *value)
{
if (value == NULL) return NULL;