Commit ce96cce1 authored by Florent Thiery's avatar Florent Thiery Committed by Tim-Philipp Müller

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
parent f18d14db
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment