mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
gleffects: fix xray to use the correct function
Instead of duplicating the sin effect
This commit is contained in:
parent
6f4091bbd3
commit
e9df4f0890
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