]> git.0d.be Git - empathy.git/commitdiff
recreate the pipeline as soon we destroyed the old one
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 2 Dec 2009 18:10:30 +0000 (18:10 +0000)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 1 Apr 2010 08:15:39 +0000 (10:15 +0200)
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

index 0594f0e3621d15e34248443e2c7b77d5b4ef34af..f5a4a3782aa8350b2e5066f5c731508545767c31 100644 (file)
@@ -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",