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

Function preset_is_folder

gtk/src/presets.c:249–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247}
248
249static gboolean
250preset_is_folder(hb_preset_index_t *path)
251{
252 GhbValue *dict;
253 gboolean folder = FALSE;
254
255 dict = hb_preset_get(path);
256 if (dict)
257 {
258 folder = ghb_dict_get_bool(dict, "Folder");
259 }
260 return folder;
261}
262
263static gboolean
264preset_is_default (hb_preset_index_t *path)

Callers 2

preset_remove_action_cbFunction · 0.85
presets_drop_cbFunction · 0.85

Calls 2

hb_preset_getFunction · 0.85
ghb_dict_get_boolFunction · 0.85

Tested by

no test coverage detected