glshader element location property removed
Holger
weber at telerob.de
Thu Aug 25 13:21:32 UTC 2016
Hi,
I use a script for barrel distortion (HTC-Vive) which used the location
property of glshader.
Can you give me an example how to adapt the old shader script to use it with
the new gstreamer version?
> For gst-launch, you'll have to read the file in shell script and set the
> fragment property to its contents.
Where to put the content? What exactly do you mean?
Thanks
Holger
Matthew Waters wrote
> Hi,
>
> The location property was removed in favour of explicit fragment and
> vertex properties which take the shader strings directly. You can
> emulate the location property by reading the file in whatever language
> you desire and setting its contents to the fragment property.
>
> For gst-launch, you'll have to read the file in shell script and set the
> fragment property to its contents. Note that gst-launch is only a
> debugging tool.
>
> Cheers
> -Matt
>
> On 15/12/15 05:53, pneves wrote:
>> Hey,
>>
>> In the latest tagged release the location property in glshader which
>> allows
>> for a shader file to be loaded was removed with no mention on the commit
>> log
>> as far as I found. Is there any reasoning for this?
>>
>> How can I have the same functionality from gst-launch?
>>
>>
>>
>> --
>> View this message in context:
>> http://gstreamer-devel.966125.n4.nabble.com/glshader-element-location-property-removed-tp4674911.html
>> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>>
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at .freedesktop
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> signature.asc (484 bytes)
> <http://gstreamer-devel.966125.n4.nabble.com/attachment/4674913/0/signature.asc>
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/glshader-element-location-property-removed-tp4674911p4679240.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list