mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
glshader: fix usage doc
The property location has been changed in favor of vertex/fragment string properties; the doc had not been updated and was still referring to the previous property; also, now the #version header has become mandatory https://bugzilla.gnome.org/show_bug.cgi?id=759902
This commit is contained in:
parent
c68e842ed0
commit
15a28c8024
1 changed files with 3 additions and 3 deletions
|
@ -22,14 +22,14 @@
|
|||
/**
|
||||
* SECTION:element-glshader
|
||||
*
|
||||
* Filter loading OpenGL fragment shader from file
|
||||
* OpenGL fragment shader filter
|
||||
*
|
||||
* <refsect2>
|
||||
* <title>Examples</title>
|
||||
* |[
|
||||
* gst-launch-1.0 videotestsrc ! glupload ! glshader location=myshader.fs ! glimagesink
|
||||
* gst-launch-1.0 videotestsrc ! glupload ! glshader fragment="\"`cat myshader.frag`\"" ! glimagesink
|
||||
* ]|
|
||||
* FBO (Frame Buffer Object) and GLSL (OpenGL Shading Language) are required.
|
||||
* FBO (Frame Buffer Object) and GLSL (OpenGL Shading Language) are required. A #version header is required
|
||||
* </refsect2>
|
||||
*/
|
||||
#ifdef HAVE_CONFIG_H
|
||||
|
|
Loading…
Reference in a new issue