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

Function do_find_default

libhb/preset.c:199–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197}
198
199static int do_find_default(hb_value_t *preset, preset_do_context_t *ctx)
200{
201 if (!hb_value_get_bool(hb_dict_get(preset, "Folder")) &&
202 hb_value_get_bool(hb_dict_get(preset, "Default")))
203 {
204 return PRESET_DO_SUCCESS;
205 }
206 return PRESET_DO_NEXT;
207}
208
209static int presets_do(preset_do_f do_func, hb_value_t *preset,
210 preset_do_context_t *ctx)

Callers

nothing calls this directly

Calls 2

hb_value_get_boolFunction · 0.85
hb_dict_getFunction · 0.85

Tested by

no test coverage detected