| 827 | } |
| 828 | |
| 829 | G_MODULE_EXPORT void |
| 830 | subtitle_burned_toggled_cb (GtkWidget *widget, gpointer data) |
| 831 | { |
| 832 | GhbValue *subsettings; |
| 833 | int index; |
| 834 | signal_user_data_t *ud = ghb_ud(); |
| 835 | |
| 836 | ghb_widget_to_setting(ud->settings, widget); |
| 837 | GhbValue *val = ghb_widget_value(widget); |
| 838 | subtitle_update_setting(val, "Burn", ud); |
| 839 | subsettings = subtitle_get_selected_settings(ud, &index); |
| 840 | if (subsettings != NULL) |
| 841 | { |
| 842 | if (ghb_dict_get_bool(subsettings, "Burn") && |
| 843 | ghb_dict_get(subsettings, "Track") != NULL) // !foreign audio search |
| 844 | { |
| 845 | ghb_ui_update("SubtitleDefaultTrack", ghb_boolean_value(FALSE)); |
| 846 | subtitle_exclusive_burn(ud, index); |
| 847 | } |
| 848 | } |
| 849 | } |
| 850 | |
| 851 | G_MODULE_EXPORT void |
| 852 | subtitle_default_toggled_cb (GtkWidget *widget, gpointer data) |
nothing calls this directly
no test coverage detected