gleffects: fix xray to use the correct function

Instead of duplicating the sin effect
This commit is contained in:
Matthew Waters 2016-07-11 22:24:43 +10:00 committed by Tim-Philipp Müller
parent adf47ea728
commit f12e404564

View file

@ -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;