problem with two consecutive glshader elements with preset in pipeline

Hamdi Rakkez hamdi.rakez.selotec at gmail.com
Mon Oct 26 03:39:55 PDT 2015


Revive thread

On Wed, Oct 21, 2015 at 5:25 PM, Hamdi Rakkez <hamdi.rakez.selotec at gmail.com
> wrote:

> Hi list,
>
> 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)
>
> pipeLine :
> 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.
>
> Best regards,
> Hamdi
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20151026/6236f2e8/attachment.html>


More information about the gstreamer-devel mailing list