empathy r2650 - trunk/src
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r2650 - trunk/src
- Date: Mon, 9 Mar 2009 18:23:53 +0000 (UTC)
Author: xclaesse
Date: Mon Mar 9 18:23:52 2009
New Revision: 2650
URL: http://svn.gnome.org/viewvc/empathy?rev=2650&view=rev
Log:
First connect to the sink pad, then start playing
Signed-off-by: Sjoerd Simons <sjoerd simons collabora co uk>
Modified:
trunk/src/empathy-call-window.c
Modified: trunk/src/empathy-call-window.c
==============================================================================
--- trunk/src/empathy-call-window.c (original)
+++ trunk/src/empathy-call-window.c Mon Mar 9 18:23:52 2009
@@ -929,10 +929,11 @@
{
case TP_MEDIA_STREAM_TYPE_AUDIO:
gst_bin_add (GST_BIN (priv->pipeline), priv->audio_input);
- gst_element_set_state (priv->audio_input, GST_STATE_PLAYING);
pad = gst_element_get_static_pad (priv->audio_input, "src");
gst_pad_link (pad, sink);
+
+ gst_element_set_state (priv->audio_input, GST_STATE_PLAYING);
break;
case TP_MEDIA_STREAM_TYPE_VIDEO:
if (priv->video_input != NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]