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

Function set_has_chapter_markers

gtk/src/callbacks.c:3346–3359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3344}
3345
3346static void
3347set_has_chapter_markers (gboolean markers, signal_user_data_t *ud)
3348{
3349 GhbValue *dest = ghb_get_job_dest_settings(ud->settings);
3350
3351 if (ghb_check_name_template(ud, "{chapters}"))
3352 ghb_set_destination(ud);
3353 GtkWidget *widget = ghb_builder_widget("ChapterMarkers");
3354 gtk_widget_set_sensitive(widget, markers);
3355 update_title_duration(ud);
3356
3357 markers &= ghb_dict_get_int(ud->settings, "ChapterMarkers");
3358 ghb_dict_set_bool(dest, "ChapterMarkers", markers);
3359}
3360
3361enum {
3362 PTOP_NONE,

Callers 1

ptop_update_bgFunction · 0.85

Calls 7

ghb_check_name_templateFunction · 0.85
ghb_set_destinationFunction · 0.85
ghb_builder_widgetFunction · 0.85
update_title_durationFunction · 0.85
ghb_dict_get_intFunction · 0.85
ghb_dict_set_boolFunction · 0.85

Tested by

no test coverage detected