summaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2017-03-12 13:50:25 -0600
committerJohn Stebbins <[email protected]>2017-03-12 13:50:25 -0600
commit35cf0e22cd51157e249414e824b2cc66151104d4 (patch)
tree668468b259f6b7677d127a4965d434eda3a4e8ac /gtk
parent2b998ebe4851f0cb257ed5957c5d134c9e63cbb8 (diff)
LinGui: fix audio copy mask updates
Updates to the mask would not be applied till it was saved to a preset
Diffstat (limited to 'gtk')
-rw-r--r--gtk/src/audiohandler.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/src/audiohandler.c b/gtk/src/audiohandler.c
index 2e8ac4d94..87fe10c13 100644
--- a/gtk/src/audiohandler.c
+++ b/gtk/src/audiohandler.c
@@ -1155,8 +1155,9 @@ audio_passthru_widget_changed_cb(GtkWidget *widget, signal_user_data_t *ud)
ghb_widget_to_setting(ud->settings, widget);
copy_mask = ghb_create_copy_mask(ud->settings);
+ ghb_dict_set(ud->settings, "AudioCopyMask", copy_mask);
audio = ghb_get_job_audio_settings(ud->settings);
- ghb_dict_set(audio, "CopyMask", copy_mask);
+ ghb_dict_set(audio, "CopyMask", ghb_value_dup(copy_mask));
ghb_clear_presets_selection(ud);
}