<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:large;color:#073763">Great, so we expect do find that in gst-1.6 right ?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 18, 2015 at 11:19 PM, Matthew Waters <span dir="ltr"><<a href="mailto:ystreet00@gmail.com" target="_blank">ystreet00@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><p dir="ltr"><br>
On 19 Aug 2015 1:55 am, "Hamdi Rakkez" <<a href="mailto:hamdi.rakez.selotec@gmail.com" target="_blank">hamdi.rakez.selotec@gmail.com</a>> wrote:<br>
><br>
> ok cool.<br>
><br>
> and does glshader can take vertex shader files besides fragment shaders ??</p>
</span><p dir="ltr">Currently no. However i have the beginnings of a branch that does and rewrites the majority of the shader infrastructure to accomadate overriding the entire shader pipeline from the glshader element.</p><div class="HOEnZb"><div class="h5">
<p dir="ltr">> On Fri, Aug 14, 2015 at 11:05 PM, Matthew Waters <<a href="mailto:ystreet00@gmail.com" target="_blank">ystreet00@gmail.com</a>> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> Currently you cannot just use any shader you grab off the internet in glshader.  If the shader is ill-formed (syntax errors, etc) then we will be unable to use it and glshader will error out appropriately (perhaps with the obscure error).  You can see some debug information by setting GST_DEBUG=3 or GST_DEBUG=gl*:7 for everything GL related about why it failed to initialize and what it was trying to do.<br>
>><br>
>> The other thing to watch is that the attributes (position/texture coordinates) must match the gst_gl_shader_set_uniform*() calls in glshader.c otherwise GL does not know how to match the necessary information to render the quad.<br>
>><br>
>> -Matt<br>
>><br>
>><br>
>> On 14/08/15 12:07, Hamdi Rakkez wrote:<br>
>>><br>
>>> Hi all,<br>
>>><br>
>>> I'm using gstreamer1.5.1 on ubuntu 14.04 LTS<br>
>>><br>
>>> My question is why can't I use any shader file with glshader element.<br>
>>> In most of the time I get this error message from gstglfilter.c "Subclass failed to initialize"<br>
>>><br>
>>> I have a simple shader file which works actually but a lot of other files simply don't and gstreamer always come out with the same error mentioned above.<br>
>>><br>
>>> Best,<br>
>>> Hamdi<br>
>><br>
>><br>
><br>
</p>
</div></div></blockquote></div><br></div>