projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adf47ea
)
gleffects: fix xray to use the correct function
author
Matthew Waters
<matthew@centricular.com>
Mon, 11 Jul 2016 12:24:43 +0000
(22:24 +1000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:32:21 +0000
(19:32 +0000)
Instead of duplicating the sin effect
ext/gl/gstgleffects.c
patch
|
blob
|
history
diff --git
a/ext/gl/gstgleffects.c
b/ext/gl/gstgleffects.c
index 1518a645cb7b76e285f406bdcd0e524e32dda251..5b2d3b2c9d28b34d0e6f6832ea7024b0d65ba51e 100644
(file)
--- 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;