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

Function audio_add_response

gtk/src/audiohandler.c:1426–1448  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1424}
1425
1426static void
1427audio_add_response (GtkWidget *dialog, int response, GhbValue *backup)
1428{
1429 signal_user_data_t *ud = ghb_ud();
1430 g_signal_handlers_disconnect_by_data(dialog, backup);
1431 gtk_widget_set_visible(dialog, FALSE);
1432 if (response == GTK_RESPONSE_OK)
1433 {
1434 ghb_value_free(&backup);
1435 }
1436 else
1437 {
1438 GhbValue *audio_dict = ghb_get_job_audio_settings(ud->settings);
1439 ghb_dict_set(audio_dict, "AudioList", backup);
1440 GhbValue *asettings = audio_get_selected_settings(ud, NULL);
1441 if (asettings != NULL)
1442 {
1443 audio_update_dialog_widgets(ud, asettings);
1444 }
1445 audio_refresh_list_ui(ud);
1446 ghb_update_summary_info(ud);
1447 }
1448}
1449
1450G_MODULE_EXPORT void
1451audio_add_all_cb (GSimpleAction *action, GVariant *param, gpointer data)

Callers

nothing calls this directly

Calls 6

ghb_udFunction · 0.85
audio_refresh_list_uiFunction · 0.85
ghb_update_summary_infoFunction · 0.85

Tested by

no test coverage detected