[gst-devel] Bug in python bindings

Thomas Vander Stichele thomas at apestaart.org
Thu May 4 09:59:07 CEST 2006


On Wed, 2006-05-03 at 17:23 +0200, Fredrik Persson wrote:
> Dear developers!
> 
> (This is mainly directed to Edward Hervey and the people working on the python bindings.)
> 
> If bringing your attention to a bug this way is considered very impolite, I apologize.
> 
> I've filed a bug report here:
> 
> http://bugzilla.gnome.org/show_bug.cgi?id=340338
> 
> It's something that should be *really* easy to try and reproduce. I'd be very happy just to get a "yes, that happens here too" or "nope, works fine for me".
> 
> Just run this python script:
> 
> import gst
> import gobject
> 
> source = gst.element_factory_make("v4l2src")
> print source.get_channel()
> 
> ... and see if it gives a "GStreamer-CRITICAL" and then segfaults. 
In [1]: import gst

In [2]: import gobject

In [3]:

In [3]: source = gst.element_factory_make("v4l2src")

In [4]: print source.get_channel()

(ipython:15189): GStreamer-CRITICAL **: gst_implements_interface_cast:
assertion `gst_element_implements_interface (GST_ELEMENT (from),
iface_type)' failed
Segmentation fault

So yes.

Same with v4lsrc.  This is with no v4l device present. Whatever the
reason, it's definately a bug - the python bindings should not segfault
because of this.  Someone just needs to get round to it.

Thomas






More information about the gstreamer-devel mailing list