| 2153 | } |
| 2154 | |
| 2155 | G_MODULE_EXPORT void |
| 2156 | container_changed_cb(GtkWidget *widget, gpointer data) |
| 2157 | { |
| 2158 | ghb_log_func(); |
| 2159 | signal_user_data_t *ud = ghb_ud(); |
| 2160 | |
| 2161 | ghb_widget_to_setting(ud->settings, widget); |
| 2162 | const char * mux_id = ghb_dict_get_string(ud->settings, "FileFormat"); |
| 2163 | GhbValue *dest_dict = ghb_get_job_dest_settings(ud->settings); |
| 2164 | ghb_dict_set_string(dest_dict, "Mux", mux_id); |
| 2165 | |
| 2166 | const hb_container_t *mux = ghb_lookup_container_by_name(mux_id); |
| 2167 | if (!(mux->format & HB_MUX_MASK_MP4)) |
| 2168 | { |
| 2169 | ghb_ui_update("AlignAVStart", ghb_boolean_value(FALSE)); |
| 2170 | } |
| 2171 | |
| 2172 | ghb_show_container_options(ud); |
| 2173 | update_acodec(ud); |
| 2174 | ghb_update_destination_extension(ud); |
| 2175 | ghb_clear_presets_selection(ud); |
| 2176 | ghb_live_reset(ud); |
| 2177 | ghb_subtitle_prune(ud); |
| 2178 | ghb_subtitle_list_refresh_all(ud); |
| 2179 | ghb_audio_list_refresh_selected(ud); |
| 2180 | } |
| 2181 | |
| 2182 | static gchar* |
| 2183 | get_aspect_string(gint aspect_n, gint aspect_d) |
nothing calls this directly
no test coverage detected