GNOME Bugzilla – Bug 748393
gleffects_laplacian: error when testing the element
Last modified: 2015-05-26 03:08:38 UTC
When trying to launch with the below pipeline gst-launch-1.0 videotestsrc num-buffers=20 ! glupload ! gleffects_laplacian ! videoconvert ! autovideosink it fails with the below error ERROR: from element /GstPipeline:pipeline0/gleffects_laplacian:gleffects_laplacian0: Failed to initialize conv0 shader, Fragment Shader compilation failed: 0:4(799): error: `invert' undeclared 0:4(793): error: cannot construct `float' from a non-numeric data type 0:4(788): error: cannot construct `vec3' from a non-numeric data type 0:4(782): error: operands to arithmetic operators must be numeric 0:4(778): error: no matching function for call to `abs(error)'; candidates are: 0:4(778): error: float abs(float) 0:4(778): error: vec2 abs(vec2) 0:4(778): error: vec3 abs(vec3) 0:4(778): error: vec4 abs(vec4) 0:4(778): error: int abs(int) 0:4(778): error: ivec2 abs(ivec2) 0:4(778): error: ivec3 abs(ivec3) 0:4(778): error: ivec4 abs(ivec4) 0:4(772): error: cannot construct `vec4' from a non-numeric data type Additional debug info: gstgleffects.c(548): gst_gl_effects_get_fragment_shader (): /GstPipeline:pipeline0/gleffects_laplacian:gleffects_laplacian0
commit cb482f13bebca0d4a710b386c75066940f31aa0f Author: Matthew Waters <matthew@centricular.com> Date: Tue May 26 12:44:47 2015 +1000 gleffects_laplacian: fix shader compilation in gl3/gles2 https://bugzilla.gnome.org/show_bug.cgi?id=748393