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

Function container_changed_cb

gtk/src/callbacks.c:2155–2180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2153}
2154
2155G_MODULE_EXPORT void
2156container_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
2182static gchar*
2183get_aspect_string(gint aspect_n, gint aspect_d)

Callers

nothing calls this directly

Calls 15

ghb_udFunction · 0.85
ghb_widget_to_settingFunction · 0.85
ghb_dict_get_stringFunction · 0.85
ghb_dict_set_stringFunction · 0.85
ghb_ui_updateFunction · 0.85
ghb_boolean_valueFunction · 0.85
update_acodecFunction · 0.85

Tested by

no test coverage detected