problem with two consecutive glshader elements with preset in pipeline
hamdi.rakez.selotec at gmail.com
Wed Oct 21 09:25:51 PDT 2015
I'm using gstreamer-1.5.90 on ubuntu 14.04LTS.
Here is the problem :
When using two consecutive *glshader* element in a pipeline and one of them
have a *preset* property(uniform variable file path), that preset is not
taken into consideration (as if it does not exist, and all the uniform
variable into the fragment shader take the value 0.0)
gst-launch-1.0 videotestsrc ! glupload ! glshader location=fragment1.frag !
glshader location=fragment2.frag preset=fragment2_uniform_variables.preset
! gldownload ! glimagesink
when removing the first *glshader* element from the pipeline, *preset*
property works fine.
Does anyone knows if this is a bug or I'm missing something here ?
PS: Some behavior if I replace *preset* with *vars* and declare uniform
variables withing the pipeline.
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel