understanding "gst_element_factory_make"
Nicolas Dufresne
nicolas at ndufresne.ca
Mon Mar 12 16:50:52 UTC 2018
Le lundi 12 mars 2018 à 11:14 -0500, blackthirt33n . a écrit :
> What does this statement do?
>
> app->src = gst_element_factory_make ("appsrc", NULL);
It will create a new element from factory name "appsrc". This is how we
allocate GstElement object, as their type is only known by the plugin
system we cannot just g_object_new() them.
>
> James
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180312/3c20b8b6/attachment.sig>
More information about the gstreamer-devel
mailing list