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

Function preset_is_default

gtk/src/presets.c:263–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263static gboolean
264preset_is_default (hb_preset_index_t *path)
265{
266 GhbValue *dict;
267 gboolean def = FALSE;
268
269 dict = hb_preset_get(path);
270 if (dict)
271 {
272 def = ghb_dict_get_bool(dict, "Default");
273 }
274 return def;
275}
276
277void
278ghb_preset_to_settings(GhbValue *settings, GhbValue *preset)

Callers 2

select_preset2Function · 0.85

Calls 2

hb_preset_getFunction · 0.85
ghb_dict_get_boolFunction · 0.85

Tested by

no test coverage detected