Check Plugin availability runtime
Nicolas Dufresne
nicolas at ndufresne.ca
Sun Feb 5 01:10:42 UTC 2017
Le 4 févr. 2017 4:43 AM, "Walter Lucetti" <myzhar at gmail.com> a écrit :
Hi all,
how can I check runtime if a plugin is available in my C++ code?
To be more precise I would like to check if I can use omxh264enc to encode
H264, if not I use xh264enc...
You can simply call gst_element_factory_get("omxh264dec", NULL), if the
plugin is missing, it will return NULL.
Thank you
Walter
--
*Walter Lucetti*
email: myzhar at gmail.com
web: *www.robot-home.it <http://www.robot-home.it/>*
project: http://myzharbot.robot-home.it
<http://www.cgsrobotics.it/>
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170204/3397496e/attachment.html>
More information about the gstreamer-devel
mailing list