summaryrefslogtreecommitdiffstats
path: root/libhb/preset.h
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2015-06-24 15:10:09 +0000
committerjstebbins <[email protected]>2015-06-24 15:10:09 +0000
commit07492ab3d65ddebb3dabcde788b5d4970b61d1c6 (patch)
tree0a26e85d683dd30dc66e6439210fe9c7ad850c9a /libhb/preset.h
parent2ce8aaafba431ed4314c9857d3d10c23183e712a (diff)
add new preset function to header file
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7315 b64f7644-9d1e-0410-96f1-a4d463321fa5
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);