[Telepathy] gst.LinkError in Telepathy Farsight

Olivier Crête olivier.crete at collabora.com
Fri Jun 17 16:34:57 PDT 2011


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 <olivier.crete at collabora.com>:
> > 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_make("audiotestsrc")
> >  src.set_property("is-live", True)
> >  self.__pipeline.add(src)
> >  src.get_pad("src").link(srcpad)
> >  src.set_state(STATE_PLAYING)
> >
> 
> Still crashes. I spent all morning trying different orders. It crashes
> or gives me a gst.LinkError, if the state is not put in an idle
> handler. The only thing that solved it for me is putting the state in
> the idle handler.

-- 
Olivier Crête
olivier.crete at collabora.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/telepathy/attachments/20110617/5e19a9d8/attachment.pgp>


More information about the telepathy mailing list