From 745a078f7f247f22056de906a149c0d807c857f1 Mon Sep 17 00:00:00 2001 From: Filippo Argiolas Date: Mon, 18 Aug 2008 21:50:09 +0200 Subject: [PATCH] [194/906] another typo, restore old twirl fragment source --- gst/gl/effects/gstgleffectssources.c | 4 +--- gst/gl/gstgldifferencematte.c | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/gst/gl/effects/gstgleffectssources.c b/gst/gl/effects/gstgleffectssources.c index 685e832..295c37c 100644 --- a/gst/gl/effects/gstgleffectssources.c +++ b/gst/gl/effects/gstgleffectssources.c @@ -129,9 +129,7 @@ const gchar *twirl_fragment_source = " normcoord = texturecoord / tex_size - 1.0;" " float r = length (normcoord);" " float phi = atan (normcoord.y, normcoord.x);" -/* height dependent rotation coeff.. why the hell this angle has - * different effect with different sizes? */ - " phi += (1.0 - smoothstep (-0.6, 0.6, r)) * height * 2.0/100.0;" + " phi += (1.0 - smoothstep (-0.6, 0.6, r)) * 4.8;" " normcoord.x = r * cos(phi);" " normcoord.y = r * sin(phi);" " texturecoord = (normcoord + 1.0) * tex_size;" diff --git a/gst/gl/gstgldifferencematte.c b/gst/gl/gstgldifferencematte.c index d8f4ce0..c083a98 100644 --- a/gst/gl/gstgldifferencematte.c +++ b/gst/gl/gstgldifferencematte.c @@ -171,7 +171,7 @@ gst_gl_differencematte_class_init (GstGLDifferenceMatteClass * klass) PROP_LOCATION, g_param_spec_string ("location", "Background image location", - "Background image location" + "Background image location", NULL, G_PARAM_READWRITE)); } -- 2.7.4