[gst-devel] GstIntefaces and casting...
rbultje at ronald.bitfreak.net
Tue Nov 18 01:18:03 CET 2003
On Mon, 2003-11-17 at 23:29, Brett Kosinski wrote:
> Out of curiosity, are there any ideas about the types of objects expected
> to be passed into gst_interface_cast() and gst_interface_check()? ie, are
> there any restrictions? eg, they'll always be GstObject or GstInterface
> descendents, etc. Or is it really just a free-for-all?
Always a GstElement. However, if you don't pass a GstElement, it will
check this and skip the supported() step, so it will behave just like a
normal "class-wide" cast. I'm not sure if this is the right behaviour,
though, so just stick to GstElements for now.
Ronald Bultje <rbultje at ronald.bitfreak.net>
Linux Video/Multimedia developer
More information about the gstreamer-devel