summaryrefslogtreecommitdiffstats
path: root/gtk/src/audiohandler.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2008-11-24 00:18:17 +0000
committerjstebbins <[email protected]>2008-11-24 00:18:17 +0000
commit8b085eff7b53cf7d23aa35e3f911dac0eeeb4967 (patch)
treec8562a1db0714af65b8e0e869929406b7fec8009 /gtk/src/audiohandler.c
parent6c5caabe379f39710f2a1f9b7493fcd913082fc6 (diff)
LinGui: live preview.
this adds new prerequisites to the build. now needs: gthread-2.0, gstreamer-0.10, gstreamer-interfaces-0.10, gstreamer-video-0.10, gstreamer-pbutils-0.10 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1949 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/audiohandler.c')
-rw-r--r--gtk/src/audiohandler.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/src/audiohandler.c b/gtk/src/audiohandler.c
index eaf7f93e7..53c96919b 100644
--- a/gtk/src/audiohandler.c
+++ b/gtk/src/audiohandler.c
@@ -17,6 +17,7 @@
#include "hb-backend.h"
#include "values.h"
#include "callbacks.h"
+#include "preview.h"
#include "audiohandler.h"
void
@@ -332,6 +333,7 @@ audio_codec_changed_cb(GtkWidget *widget, signal_user_data_t *ud)
}
g_free(container);
}
+ ghb_live_reset(ud);
}
void
@@ -353,6 +355,7 @@ audio_track_changed_cb(GtkWidget *widget, signal_user_data_t *ud)
track = ghb_settings_combo_option(asettings, "AudioTrack");
ghb_settings_set_string(asettings, "AudioTrackDescription", track);
}
+ ghb_live_reset(ud);
}
void
@@ -369,6 +372,7 @@ audio_mix_changed_cb(GtkWidget *widget, signal_user_data_t *ud)
ghb_widget_to_setting(asettings, widget);
audio_list_refresh_selected(ud);
}
+ ghb_live_reset(ud);
}
void
@@ -384,6 +388,7 @@ audio_widget_changed_cb(GtkWidget *widget, signal_user_data_t *ud)
ghb_widget_to_setting(asettings, widget);
audio_list_refresh_selected(ud);
}
+ ghb_live_reset(ud);
}
// subtitles differ from other settings in that
@@ -397,6 +402,7 @@ subtitle_changed_cb(GtkWidget *widget, signal_user_data_t *ud)
g_debug("subtitle_changed_cb () %s", name);
ghb_widget_to_setting(ud->settings, widget);
ghb_check_dependency(ud, widget);
+ ghb_live_reset(ud);
}
void