<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">Le 4 févr. 2017 4:43 AM, "Walter Lucetti" <<a href="mailto:myzhar@gmail.com">myzhar@gmail.com</a>> a écrit :<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>how can I check runtime if a plugin is available in my C++ code?</div><div><br></div><div>To be more precise I would like to check if I can use omxh264enc to encode H264, if not I use xh264enc...</div></div></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">You can simply call gst_element_factory_get("omxh264dec", NULL), if the plugin is missing, it will return NULL.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Thank you</div><font color="#888888"><div>Walter<br clear="all"><div><br></div>-- <br><div class="m_9112457945261322723gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><b>Walter Lucetti</b><br><br>email: <a href="mailto:myzhar@gmail.com" target="_blank">myzhar@gmail.com</a><br>web: <i><a href="http://www.robot-home.it/" target="_blank">www.robot-home.it</a></i><br></div><div>project:  <a href="http://myzharbot.robot-home.it" target="_blank">http://myzharbot.robot-home.<wbr>it</a></div><br><a href="http://www.cgsrobotics.it/" target="_blank"></a></div></div></div></div>
</div></font></div>
<br>______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
<br></blockquote></div><br></div></div></div>