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

Function subtitle_exclusive_default_settings

gtk/src/subtitlehandler.c:249–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247}
248
249static void
250subtitle_exclusive_default_settings(GhbValue *settings, gint index)
251{
252 GhbValue *subtitle_list;
253 GhbValue *subtitle;
254 gint ii, count;
255
256 subtitle_list = ghb_get_job_subtitle_list(settings);
257 count = ghb_array_len(subtitle_list);
258 for (ii = 0; ii < count; ii++)
259 {
260 if (ii != index)
261 {
262 subtitle = ghb_array_get(subtitle_list, ii);
263 ghb_dict_set_bool(subtitle, "Default", FALSE);
264 }
265 }
266}
267
268static void
269subtitle_exclusive_default(signal_user_data_t *ud, gint index)

Callers 2

subtitle_add_to_settingsFunction · 0.85

Calls 2

ghb_dict_set_boolFunction · 0.85

Tested by

no test coverage detected