From f33b0e66fb97038aed56563b6e7754c37bd8625b Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 2 Dec 2009 18:10:30 +0000 Subject: 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. --- src/empathy-call-window.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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", -- cgit v1.2.3