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.cr...@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.cr...@collabora.com
signature.asc
Description: This is a digitally signed message part
_______________________________________________ telepathy mailing list telepathy@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/telepathy