aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-call-window.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-12-03 02:10:30 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-04-01 16:15:39 +0800
commitf33b0e66fb97038aed56563b6e7754c37bd8625b (patch)
tree4107bea07f26064458c9c11cf24b040262037071 /src/empathy-call-window.c
parent11bae3305bed3b10b5b1288ef589bff12d758bf2 (diff)
downloadgsoc2013-empathy-f33b0e66fb97038aed56563b6e7754c37bd8625b.tar
gsoc2013-empathy-f33b0e66fb97038aed56563b6e7754c37bd8625b.tar.gz
gsoc2013-empathy-f33b0e66fb97038aed56563b6e7754c37bd8625b.tar.bz2
gsoc2013-empathy-f33b0e66fb97038aed56563b6e7754c37bd8625b.tar.lz
gsoc2013-empathy-f33b0e66fb97038aed56563b6e7754c37bd8625b.tar.xz
gsoc2013-empathy-f33b0e66fb97038aed56563b6e7754c37bd8625b.tar.zst
gsoc2013-empathy-f33b0e66fb97038aed56563b6e7754c37bd8625b.zip
recreate the pipeline as soon we destroyed the old one
This will allow us to be able to display the preview after the call has been terminated. It's easier and more robust to recreate a new pipeline than reusing the old one.
Diffstat (limited to 'src/empathy-call-window.c')
-rw-r--r--src/empathy-call-window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 0594f0e36..f5a4a3782 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -1516,6 +1516,8 @@ empathy_call_window_reset_pipeline (EmpathyCallWindow *self)
priv->liveadder = NULL;
priv->funnel = NULL;
+ create_pipeline (self);
+
return TRUE;
}
else
@@ -2703,7 +2705,6 @@ empathy_call_window_restart_call (EmpathyCallWindow *window)
{
EmpathyCallWindowPriv *priv = GET_PRIV (window);
- create_pipeline (window);
create_video_output_widget (window);
g_signal_connect (G_OBJECT (priv->audio_input_adj), "value-changed",