[gst-cvs] gst-plugins-gl: xray: increase edges visibility

Filippo Argiolas fargiolas at kemper.freedesktop.org
Thu Apr 29 05:23:29 PDT 2010


Module: gst-plugins-gl
Branch: master
Commit: 22acb9a8314f8c8d40fbf036f36d0dff7e7506bf
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-gl/commit/?id=22acb9a8314f8c8d40fbf036f36d0dff7e7506bf

Author: Filippo Argiolas <filippo.argiolas at gmail.com>
Date:   Thu Apr 29 14:20:56 2010 +0200

xray: increase edges visibility

Some little fine tuning, still not completely satisfied yet.

---

 gst/gl/effects/gstgleffectxray.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gst/gl/effects/gstgleffectxray.c b/gst/gl/effects/gstgleffectxray.c
index 8abc3c1..0cdcd37 100644
--- a/gst/gl/effects/gstgleffectxray.c
+++ b/gst/gl/effects/gstgleffectxray.c
@@ -270,7 +270,7 @@ gst_gl_effects_xray_step_five (gint width, gint height, guint texture,
   glBindTexture (GL_TEXTURE_RECTANGLE_ARB, texture);
   glDisable (GL_TEXTURE_RECTANGLE_ARB);
 
-  gst_gl_shader_set_uniform_1f (shader, "alpha", (gfloat) 0.4f);
+  gst_gl_shader_set_uniform_1f (shader, "alpha", (gfloat) 0.5f);
   gst_gl_shader_set_uniform_1i (shader, "blend", 1);
 
   gst_gl_effects_draw_texture (effects, texture);





More information about the Gstreamer-commits mailing list