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

Function lookup_title

gtk/src/hb-backend.c:2569–2582  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2567}
2568
2569static const hb_title_t*
2570lookup_title(hb_handle_t *h, int title_id, int *index)
2571{
2572 int ii = lookup_title_index(h, title_id);
2573
2574 if (index != NULL)
2575 *index = ii;
2576 if (ii < 0)
2577 return NULL;
2578
2579 hb_list_t *list;
2580 list = hb_get_titles(h);
2581 return hb_list_item(list, ii);
2582}
2583
2584int
2585ghb_lookup_title_index(int title_id)

Callers 2

ghb_lookup_titleFunction · 0.85
ghb_lookup_queue_titleFunction · 0.85

Calls 3

lookup_title_indexFunction · 0.85
hb_get_titlesFunction · 0.85
hb_list_itemFunction · 0.85

Tested by

no test coverage detected