Re: [Telepathy] gst.LinkError in Telepathy Farsight

2011-06-18 Thread Mystilleef
2011/6/17 Olivier Crête : > If you get a segfault from python code, it means there is a bug in the C > code somewhere.. > In gstreamer or tp-farsigh? > Can you post the smallest possible example that crashes somewhere ? > I'm assuming you want a working example and not just snippet code? If s

Re: [Telepathy] gst.LinkError in Telepathy Farsight

2011-06-17 Thread Olivier Crête
If you get a segfault from python code, it means there is a bug in the C code somewhere.. Can you post the smallest possible example that crashes somewhere ? Btw, this belongs on the gstreamer mailing list Olivier On Fri, 2011-06-17 at 18:48 -0400, Mystilleef wrote: > 2011/6/17 Olivier Crête :

Re: [Telepathy] gst.LinkError in Telepathy Farsight

2011-06-17 Thread Mystilleef
2011/6/17 Olivier Crête : > You want to do it in this order: > > def __stream_created_cb(self, channel, stream): >  print "Start of stream created!" >  stream.connect("src-pad-added", self.__src_pad_added_cb) >  srcpad = stream.get_property ("sink-pad") >  from gst import element_factory_make, STAT

Re: [Telepathy] gst.LinkError in Telepathy Farsight

2011-06-17 Thread Olivier Crête
You want to do it in this order: def __stream_created_cb(self, channel, stream): print "Start of stream created!" stream.connect("src-pad-added", self.__src_pad_added_cb) srcpad = stream.get_property ("sink-pad") from gst import element_factory_make, STATE_PLAYING src = element_factory_m

Re: [Telepathy] gst.LinkError in Telepathy Farsight

2011-06-17 Thread Mystilleef
2011/6/17 Olivier Crête : > Hi, > > On Fri, 2011-06-17 at 18:04 -0400, Mystilleef wrote: >> On Fri, Jun 17, 2011 at 5:51 PM, Tiago Katcipis wrote: >> >> >> >>        def __stream_created_cb(self, channel, stream): >> >>      

Re: [Telepathy] gst.LinkError in Telepathy Farsight

2011-06-17 Thread Olivier Crête
Hi, On Fri, 2011-06-17 at 18:04 -0400, Mystilleef wrote: > On Fri, Jun 17, 2011 at 5:51 PM, Tiago Katcipis wrote: > >> > >>def __stream_created_cb(self, channel, stream): > >>print "Start of stream cr

Re: [Telepathy] gst.LinkError in Telepathy Farsight

2011-06-17 Thread Mystilleef
Thanks for your response Tiago. On Fri, Jun 17, 2011 at 5:51 PM, Tiago Katcipis wrote: > Hi, > > On Fri, Jun 17, 2011 at 9:54 AM, Mystilleef wrote: >> >> I'm getting the following error with tp-farsight >> >> = >> Traceback

Re: [Telepathy] gst.LinkError in Telepathy Farsight

2011-06-17 Thread Tiago Katcipis
Hi, On Fri, Jun 17, 2011 at 9:54 AM, Mystilleef wrote: > I'm getting the following error with tp-farsight > > = > Traceback (most recent call last): > File "/home/lateef/teletest/MediaChannelStreamer.py", line 54, in > __st

[Telepathy] gst.LinkError in Telepathy Farsight

2011-06-17 Thread Mystilleef
I'm getting the following error with tp-farsight = Traceback (most recent call last): File "/home/lateef/teletest/MediaChannelStreamer.py", line 54, in __stream_created_cb src.get_pad("src").link(srcpad) gst.LinkError: