MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / hb_job_init_by_index

Function hb_job_init_by_index

libhb/common.c:4944–4950  ·  view source on GitHub ↗

* Create a pristine job structure from a title * title_index is 1 based */

Source from the content-addressed store, hash-verified

4942 * title_index is 1 based
4943 */
4944hb_job_t * hb_job_init_by_index( hb_handle_t * h, int title_index )
4945{
4946 hb_title_t * title = hb_find_title_by_index(h, title_index);
4947 if (title == NULL)
4948 return NULL;
4949 return hb_job_init(title);
4950}
4951
4952hb_job_t * hb_job_init( hb_title_t * title )
4953{

Callers 2

hb_dict_to_jobFunction · 0.85
hb_job_init_jsonFunction · 0.85

Calls 2

hb_find_title_by_indexFunction · 0.85
hb_job_initFunction · 0.85

Tested by

no test coverage detected