aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/empathy-call-window.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 92c74b7cc..e7cbadc23 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -2225,6 +2225,9 @@ empathy_call_window_volume_changed_cb (GtkScaleButton *button,
{
EmpathyCallWindowPriv *priv = GET_PRIV (window);
+ if (priv->audio_output == NULL)
+ return;
+
empathy_audio_sink_set_volume (EMPATHY_GST_AUDIO_SINK (priv->audio_output),
value);
}