From 7bf48a45ff9377b09de6609996d22b4868800c09 Mon Sep 17 00:00:00 2001 From: Julien Isorce Date: Wed, 11 Jun 2008 23:43:41 +0000 Subject: [PATCH] [102/906] up git-svn-id: svn://svn.wobow.com/GStreamer_playground/gst-plugins-gl@514 93df14bb-0f41-7a43-8087-d3e2a2f0e464 --- gst/gl/gstglcolorscale.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gst/gl/gstglcolorscale.c b/gst/gl/gstglcolorscale.c index 22fd1e8a37..a7b8ae7820 100644 --- a/gst/gl/gstglcolorscale.c +++ b/gst/gl/gstglcolorscale.c @@ -132,7 +132,7 @@ static void gst_gl_colorscale_set_property (GObject* object, guint prop_id, const GValue* value, GParamSpec* pspec) { - GstGLColorscale* colorscale = GST_GL_COLORSCALE (object); + //GstGLColorscale* colorscale = GST_GL_COLORSCALE (object); switch (prop_id) { @@ -188,7 +188,7 @@ static GstCaps* gst_gl_colorscale_transform_caps (GstBaseTransform* bt, GstPadDirection direction, GstCaps* caps) { - GstGLColorscale* colorscale = GST_GL_COLORSCALE (bt); + //GstGLColorscale* colorscale = GST_GL_COLORSCALE (bt); GstStructure* structure = gst_caps_get_structure (caps, 0); GstCaps* newcaps = gst_caps_new_simple ("video/x-raw-yuv", NULL); GstCaps* newothercaps = gst_caps_new_simple ("video/x-raw-rgb", NULL); @@ -435,7 +435,6 @@ gst_gl_colorscale_transform (GstBaseTransform* trans, GstBuffer* inbuf, GstBuffer* outbuf) { GstGLColorscale* colorscale = GST_GL_COLORSCALE (trans); - guint outputTexture = 0; //blocking call GstGLBuffer* gl_tembuf = gst_gl_buffer_new_from_video_format (colorscale->display,