[gst-devel] gst-python and queues

Johan Dahlin johan at fluendo.com
Thu Aug 26 09:13:12 CEST 2004


tor 2004-08-26 klockan 16.58 skrev pablo costaguta:
> hi all,
> 
> i really dont know if this is the correct place to post this, but im
> having the following problem working with gst-python bindings:

> --------------------- -   -          -
> >>> import gst
> >>> q = gst.Element('queue', 'q')
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> NotImplementedError: gst.Queue is an abstract widget
> --------------------- -   -          -

Use gst.element_factory_make ('queue') instead. I think I'm going to
remove gst.Element at some point. Since gst_element_factory_make is not
strictly a constructor of GstElement.

(And I had to use a kind a hack to implement it that breaks the thing
you just tried)

-- 
Johan Dahlin <johan at fluendo.com>
Fluendo S.L.





More information about the gstreamer-devel mailing list