[Telepathy-commits] [mingle/master] Add the created sink to the sinks array so it's correctly removed when the stream is removed, also use autoaudiosink
Sjoerd Simons
sjoerd at luon.net
Tue Nov 11 10:50:19 PST 2008
---
fs2.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/fs2.py b/fs2.py
index c555e62..ae762f8 100644
--- a/fs2.py
+++ b/fs2.py
@@ -147,8 +147,9 @@ class ConferenceStream:
sink = gst.element_factory_make("xvimagesink")
elif self.session.type == farsight.MEDIA_TYPE_AUDIO:
- sink = gst.element_factory_make("pulsesink")
+ sink = gst.element_factory_make("autoaudiosink")
+ self.add_sink(sink)
self.conference.add(sink)
sink.set_state(gst.STATE_PLAYING)
pad.link(sink.get_pad("sink"))
--
1.5.6.5
More information about the Telepathy-commits
mailing list