Check Plugin availability runtime

Myzhar myzhar at gmail.com
Sat Feb 4 16:51:00 UTC 2017


Well,

I found a solution using

<code>GstElementFactory* x264enc = gst_element_factory_find ( "x264enc" );

 if( x264enc==NULL )
 {
     fprintf(stderr, "***** H264 encoder not available ***** \n\n" );
     return false;
}

gst_object_unref( x264enc );</code>

Is this the best way?

Thank you
Walter



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Check-Plugin-availability-runtime-tp4681711p4681715.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list