]> granicus.if.org Git - handbrake/commitdiff
add new preset function to header file
authorjstebbins <jstebbins.hb@gmail.com>
Wed, 24 Jun 2015 15:10:09 +0000 (15:10 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Wed, 24 Jun 2015 15:10:09 +0000 (15:10 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7315 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/preset.h

index d9ca233942fbc35f5c92ff613e68e5b9e1f8ea33..62ce3d361ada8ff7228b0da011c4ea2950c6839f 100644 (file)
@@ -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);