gstv4l2transform & gstv4l2videodec element are defined of type G_DEFINE_ABSTRACT_TYPE

Nicolas Dufresne nicolas at ndufresne.ca
Fri Sep 9 12:58:47 UTC 2016


Le mercredi 31 août 2016 à 22:02 -0700, Amit Pandya a écrit :
> Currently both gstv4l2transform & gstv4l2videodec
> elements(gst-plugins-good-1.x.x) are defined as
> G_DEFINE_ABSTRACT_TYPE, is
> there any specific reason for having them of type abstract ?

Because those are abstract base classes. They are dynamically derived
at run-time when an associated video device is detected (requires
configure option --enable-v4l2-probe at build time).

> Is there any future plan of releasing mentioned element under type
> G_DEFINE_TYPE/G_DEFINE_TYPE_WITH_CODE?

I'm not sure what is your interest, GStreamer plugins are not
libraries. Though there is some pending effort to introduce two
elements (subclass of those abstract class) with read/write "device"
properties. Follow this link for details:

https://bugzilla.gnome.org/show_bug.cgi?id=742918

regards,
Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160909/4ad5d259/attachment.sig>


More information about the gstreamer-devel mailing list