gst_element_factory_make failed to create glimagesink element

Tim Müller tim at centricular.com
Wed Jul 13 06:36:39 UTC 2016


On Tue, 2016-07-12 at 07:10 -0700, clement wrote:

Hi,

> I am new to gstreamer and I am working on a C project with gstreamer
> 1.8.2 librairies and plugins (built from sources). I want to upload a
> video to an openGL texture. For that, I found the glimagesink plugin
> that seems to do what I want and gst-inspect confirms that it is
> installed but gst_element_factory_make("glimagesink", "glimagesink0")
> returns NULL  Can anybody explain me this behaviour ? Do I need to do
> something else to access glimagesink element from my application ?

Are you sure you have it installed?

Does

  $ gst-inspect-1.0 glimagesink

show lots of output? (element details)

Did you call gst_init() at the start of your application and before
calling gst_element_factory_make() ?

Cheers
 -Tim

-- 

Tim Müller, Centricular Ltd - http://www.centricular.com


More information about the gstreamer-devel mailing list