From e9df4f08908731d93a27125d550b73a62a6de7f0 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Mon, 11 Jul 2016 22:24:43 +1000 Subject: [PATCH] gleffects: fix xray to use the correct function Instead of duplicating the sin effect --- ext/gl/gstgleffects.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/gl/gstgleffects.c b/ext/gl/gstgleffects.c index 1518a645cb..5b2d3b2c9d 100644 --- a/ext/gl/gstgleffects.c +++ b/ext/gl/gstgleffects.c @@ -232,7 +232,7 @@ gst_gl_effects_set_effect (GstGLEffects * effects, gint effect_type) effects->current_effect = effect_type; break; case GST_GL_EFFECT_XRAY: - effects->effect = (GstGLEffectProcessFunc) gst_gl_effects_sin; + effects->effect = (GstGLEffectProcessFunc) gst_gl_effects_xray; filter_class->supported_gl_api = GST_GL_API_GLES2 | GST_GL_API_OPENGL | GST_GL_API_OPENGL3; effects->current_effect = effect_type;