]> granicus.if.org Git - handbrake/commit
json: add hb_get_preview_json
authorjstebbins <jstebbins.hb@gmail.com>
Fri, 19 Dec 2014 00:21:08 +0000 (00:21 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Fri, 19 Dec 2014 00:21:08 +0000 (00:21 +0000)
commit29a92dbc84e2cc29e12e01318fdfcb3ee3f7a7c6
tree9d6595c21204c1727a389c452cacd5eb494f9864
parentaee0ccc0e4d624f88c0d7f3effda3a8a085def74
json: add hb_get_preview_json

No idea if it actually works as advertised.  Probably not ;)
Returns a json representation of an hb_image_t with the data
encoded in base64.

Also, fix a bug in hb_set_anamorphic_size_json that probably would have
cause it to just fail.

And fix a couple of memory leaks.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6609 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb/hb_json.c