how to check in gstreamer if a element is available

Alicia Romero alromor84 at gmail.com
Tue Sep 15 08:10:31 PDT 2015


Thanks!!

2015-09-15 17:09 GMT+02:00 Tim Müller <tim at centricular.com>:

> On Tue, 2015-09-15 at 16:53 +0200, Alicia Romero wrote:
>
> Hi Alicia,
>
> > is there a way in gstreamer to check if an element is available
> > without creating it?
>
> This should work:
>
>
> if (gst_registry_check_feature_version (gst_registry_get (),
>     "foobar", GST_VERSION_MAJOR, 0, 0)) {
>   ...
> }
>
> Cheers
>  -Tim
>
> --
> Tim Müller, Centricular Ltd - http://www.centricular.com
>
> Join us at the GStreamer Conference: 8-9 October 2015 in Dublin, Ireland
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150915/faed9dc6/attachment.html>


More information about the gstreamer-devel mailing list