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

Function comb_detect_widget_changed_cb

gtk/src/callbacks.c:3076–3097  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3074}
3075
3076G_MODULE_EXPORT void
3077comb_detect_widget_changed_cb (GtkWidget *widget, gpointer data)
3078{
3079 signal_user_data_t *ud = ghb_ud();
3080 ghb_widget_to_setting(ud->settings, widget);
3081 ghb_clear_presets_selection(ud);
3082 ghb_live_reset(ud);
3083
3084 const char * comb_detect;
3085 comb_detect = ghb_dict_get_string(ud->settings, "PictureCombDetectPreset");
3086 if (strcasecmp(comb_detect, "off"))
3087 {
3088 const char * deint;
3089 deint = ghb_dict_get_string(ud->settings, "PictureDeinterlaceFilter");
3090 if (!strcasecmp(deint, "off"))
3091 {
3092 ghb_ui_update("PictureDeinterlaceFilter",
3093 ghb_string_value("decomb"));
3094 }
3095 }
3096 ghb_update_summary_info(ud);
3097}
3098
3099G_MODULE_EXPORT void
3100deint_filter_changed_cb (GtkWidget *widget, gpointer data)

Callers

nothing calls this directly

Calls 8

ghb_udFunction · 0.85
ghb_widget_to_settingFunction · 0.85
ghb_live_resetFunction · 0.85
ghb_dict_get_stringFunction · 0.85
ghb_ui_updateFunction · 0.85
ghb_string_valueFunction · 0.85
ghb_update_summary_infoFunction · 0.85

Tested by

no test coverage detected