diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-03-10 02:23:52 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2009-03-10 02:23:52 +0800 |
commit | f0e992ebe6c9bba79bf5a7b5b284a23639930f67 (patch) | |
tree | d90fd64a8ed080a27b259a94a8bfd74382e78671 /src | |
parent | 5a9ad70615f677546573fb7385a999d8c9a4ff43 (diff) | |
download | gsoc2013-empathy-f0e992ebe6c9bba79bf5a7b5b284a23639930f67.tar gsoc2013-empathy-f0e992ebe6c9bba79bf5a7b5b284a23639930f67.tar.gz gsoc2013-empathy-f0e992ebe6c9bba79bf5a7b5b284a23639930f67.tar.bz2 gsoc2013-empathy-f0e992ebe6c9bba79bf5a7b5b284a23639930f67.tar.lz gsoc2013-empathy-f0e992ebe6c9bba79bf5a7b5b284a23639930f67.tar.xz gsoc2013-empathy-f0e992ebe6c9bba79bf5a7b5b284a23639930f67.tar.zst gsoc2013-empathy-f0e992ebe6c9bba79bf5a7b5b284a23639930f67.zip |
First connect to the sink pad, then start playing
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
svn path=/trunk/; revision=2650
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-call-window.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index 08f85d0c5..a7759e7ef 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -929,10 +929,11 @@ empathy_call_window_sink_added_cb (EmpathyCallHandler *handler, { 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) |