summaryrefslogtreecommitdiffstats
path: root/libhb/preset.h
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/preset.h')
-rw-r--r--libhb/preset.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libhb/preset.h b/libhb/preset.h
index d9ca23394..62ce3d361 100644
--- a/libhb/preset.h
+++ b/libhb/preset.h
@@ -94,7 +94,11 @@ char * hb_presets_import_json(const char *json);
int hb_presets_add_json(const char *json);
// Read a preset file. Does not add to internal preset list.
-hb_value_t* hb_presets_read_file(const char *filename);
+hb_value_t * hb_presets_read_file(const char *filename);
+
+// Read a preset file. Does not add to internal preset list.
+// Returns a json string.
+char * hb_presets_read_file_json(const char *filename);
// Register new presets with libhb from a preset dict
int hb_presets_add(hb_value_t *preset);