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

Function subtitle_update_setting

gtk/src/subtitlehandler.c:764–785  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

762}
763
764static GhbValue*
765subtitle_update_setting(GhbValue *val, const char *name, signal_user_data_t *ud)
766{
767 GhbValue *subsettings;
768
769 subsettings = subtitle_get_selected_settings(ud, NULL);
770 if (subsettings != NULL)
771 {
772 if (val != NULL)
773 ghb_dict_set(subsettings, name, val);
774 else
775 ghb_dict_remove(subsettings, name);
776 subtitle_list_refresh_selected(ud, subsettings);
777 ghb_update_summary_info(ud);
778 ghb_live_reset(ud);
779 }
780 else
781 {
782 ghb_value_free(&val);
783 }
784 return subsettings;
785}
786
787G_MODULE_EXPORT void
788subtitle_track_changed_cb (GtkWidget *widget, gpointer data)

Callers 6

subtitle_name_changed_cbFunction · 0.85
import_offset_changed_cbFunction · 0.85

Calls 4

ghb_update_summary_infoFunction · 0.85
ghb_live_resetFunction · 0.85

Tested by

no test coverage detected