summaryrefslogtreecommitdiffstats
path: root/libhb/hb_json.c
Commit message (Collapse)AuthorAgeFilesLines
* json: revert last commitjstebbins2015-01-221-4/+2
| | | | | | | | made a bad assumption. internal libhb track number is not needed by the front-end git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6795 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: add "Track" to audio and subtitle in titlesjstebbins2015-01-221-2/+4
| | | | | | | | This is the track that must be passed to libhb in the job to select desired audio and subtitle tracks git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6794 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: fix srt filename parsingjstebbins2015-01-171-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6762 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Simplify frontend useage of hb_add()jstebbins2015-01-121-23/+4
| | | | | | | | | Modify hb_add() to automatically add all necessary passes, so hb_add() only needs to be called once per job. It now automatically adds subtitle scan and 2-pass encoding passes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6738 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: simplify hb_add_json APIjstebbins2015-01-111-10/+25
| | | | | | | | Now automatically adds subtitle scan and 2-pass encoding jobs. Changed "Pass" integer to "TwoPass" boolean to facilite this. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6731 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: fix parsing of SRT subtitlesjstebbins2015-01-111-1/+1
| | | | | | | Previously required "Track" < 0 which is unintuitive and unnecessary. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6730 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: add "Codec" to audio list itemsjstebbins2014-12-231-0/+1
| | | | | | | and add hb_audio_can_apply_drc2 API which doesn't require audio codec_param git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6651 b64f7644-9d1e-0410-96f1-a4d463321fa5
* eliminate job->largeFileSizejstebbins2014-12-231-5/+3
| | | | | | | It is no longer needed since we eliminated mp4v2 support git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6647 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: fix hb_get_preview_jsonjstebbins2014-12-191-3/+124
| | | | | | | and add some routines for json conversion of preview parameters and images git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6614 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: fix plane size in hb_get_preview_image_jsonjstebbins2014-12-191-0/+1
| | | | | | | The actual size of the base64 encoded data is the length of the string git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6611 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: fix memory leak in hb_get_preview_jsonjstebbins2014-12-191-0/+1
| | | | | | | forgot to call hb_image_close on the image git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6610 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: add hb_get_preview_jsonjstebbins2014-12-191-2/+112
| | | | | | | | | | | | | | 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
* json: add json APIsjstebbins2014-12-161-0/+1186
There are several changes to job and title structs that break current windows interop code. The interop code should be changed such that it only uses json APIs. So if there is any missing features (or bugs) in these APIs, please let me know. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6602 b64f7644-9d1e-0410-96f1-a4d463321fa5