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

Function import_setting_update

gtk/src/subtitlehandler.c:947–973  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

945}
946
947G_MODULE_EXPORT void
948import_setting_update (GhbValue *val, const char *name, gpointer data)
949{
950 GhbValue *subsettings;
951 signal_user_data_t *ud = ghb_ud();
952 subsettings = subtitle_get_selected_settings(ud, NULL);
953 if (subsettings != NULL)
954 {
955 GhbValue * import;
956 import = ghb_dict_get(subsettings, "Import");
957 if (import != NULL)
958 {
959 ghb_dict_set(import, name, val);
960 subtitle_list_refresh_selected(ud, subsettings);
961 ghb_update_summary_info(ud);
962 ghb_live_reset(ud);
963 }
964 else
965 {
966 ghb_value_free(&val);
967 }
968 }
969 else
970 {
971 ghb_value_free(&val);
972 }
973}
974
975G_MODULE_EXPORT void
976import_offset_changed_cb (GtkWidget *widget, gpointer data)

Callers 3

srt_codeset_changed_cbFunction · 0.85
import_file_changed_cbFunction · 0.85
import_lang_changed_cbFunction · 0.85

Calls 5

ghb_udFunction · 0.85
ghb_update_summary_infoFunction · 0.85
ghb_live_resetFunction · 0.85

Tested by

no test coverage detected