mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
gleffects: fix xray to use the correct function
Instead of duplicating the sin effect
This commit is contained in:
parent
adf47ea728
commit
f12e404564
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue