changeset 26120:2736b6ca3f5c

The sink is being held elsewhere.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Tue, 13 Jan 2009 12:36:59 +0000
parents 000affb017d1
children 4ae228cf119f
files finch/gntmedia.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/finch/gntmedia.c	Tue Jan 13 12:28:51 2009 +0000
+++ b/finch/gntmedia.c	Tue Jan 13 12:36:59 2009 +0000
@@ -177,7 +177,7 @@
 finch_media_accept_cb(PurpleMedia *media, FinchMedia *gntmedia)
 {
 	GntWidget *parent;
-	GstElement *sendbin = NULL, *recvbin = NULL;
+	GstElement *sendbin = NULL;
 
 	finch_media_emit_message(gntmedia, _("Call in progress."));
 
@@ -201,9 +201,8 @@
 	gnt_box_readjust(GNT_BOX(parent));
 	gnt_widget_draw(parent);
 
-	purple_media_get_elements(media, &sendbin, &recvbin, NULL, NULL);
+	purple_media_get_elements(media, &sendbin, NULL, NULL, NULL);
 	gst_element_set_state(GST_ELEMENT(sendbin), GST_STATE_PLAYING);
-	gst_element_set_state(GST_ELEMENT(recvbin), GST_STATE_PLAYING);
 }
 
 static void