From: jstebbins Date: Wed, 24 Jun 2015 15:10:09 +0000 (+0000) Subject: add new preset function to header file X-Git-Tag: 1.0.0~1067 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=07492ab3d65ddebb3dabcde788b5d4970b61d1c6;p=handbrake add new preset function to header file git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7315 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- 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);