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

Function get_path_list

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

Source from the content-addressed store, hash-verified

3646}
3647
3648hb_list_t *
3649get_path_list(GListModel *files)
3650{
3651 g_return_val_if_fail(g_list_model_get_item_type(files) == G_TYPE_FILE, NULL);
3652 hb_list_t *path_list = hb_list_init();
3653 for (guint i = 0; i < g_list_model_get_n_items(files); i++)
3654 {
3655 g_autoptr(GFile) file = g_list_model_get_item(files, i);
3656 hb_list_add(path_list, g_file_get_path(file));
3657 }
3658 return path_list;
3659}
3660
3661void
3662ghb_backend_scan_list (GListModel *files, int titleindex, int preview_count, uint64_t min_duration, uint64_t max_duration, gboolean keep_duplicate_titles)

Callers 1

ghb_backend_scan_listFunction · 0.85

Calls 2

hb_list_initFunction · 0.85
hb_list_addFunction · 0.85

Tested by

no test coverage detected