gstv4l2transform & gstv4l2videodec element are defined of type G_DEFINE_ABSTRACT_TYPE

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

gstv4l2transform & gstv4l2videodec element are defined of type G_DEFINE_ABSTRACT_TYPE

Amit Pandya
Hi,

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 ?
Is there any future plan of releasing mentioned element under type G_DEFINE_TYPE/G_DEFINE_TYPE_WITH_CODE?

Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: gstv4l2transform & gstv4l2videodec element are defined of type G_DEFINE_ABSTRACT_TYPE

Amit Pandya
Any input on the mentioned queries !!
Reply | Threaded
Open this post in threaded view
|

Re: gstv4l2transform & gstv4l2videodec element are defined of type G_DEFINE_ABSTRACT_TYPE

Nicolas Dufresne-5
In reply to this post by Amit Pandya
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
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (188 bytes) Download Attachment