[131/906] fix warnings (unused vars)
authorFilippo Argiolas <filippo.argiolas@gmail.com>
Sat, 19 Jul 2008 06:32:38 +0000 (08:32 +0200)
committerMatthew Waters <ystreet00@gmail.com>
Sat, 15 Mar 2014 17:36:22 +0000 (18:36 +0100)
gst-libs/gst/gl/gstgldisplay.c
gst/gl/gstglfilteredge.c

index 7a373f3..1933e61 100644 (file)
@@ -2321,8 +2321,6 @@ gst_gl_display_thread_do_upload_draw (GstGLDisplay* display, GLuint texture,
                case GST_VIDEO_FORMAT_YUY2:
                case GST_VIDEO_FORMAT_UYVY:
                        {
-                gint i=0;
-
                            GstGLShader* shader_upload_YUY2_UYVY = NULL;
 
                            switch (video_format)
@@ -2363,8 +2361,6 @@ gst_gl_display_thread_do_upload_draw (GstGLDisplay* display, GLuint texture,
                case GST_VIDEO_FORMAT_I420:
                case GST_VIDEO_FORMAT_YV12:
                        {
-                               gint i=0;
-
                                gst_gl_shader_use (display->shader_upload_I420_YV12);
 
                                glMatrixMode (GL_PROJECTION);
@@ -2398,8 +2394,6 @@ gst_gl_display_thread_do_upload_draw (GstGLDisplay* display, GLuint texture,
 
                case GST_VIDEO_FORMAT_AYUV:
                        {
-                gint i=0;
-
                            gst_gl_shader_use (display->shader_upload_AYUV);
 
                            glMatrixMode (GL_PROJECTION);
@@ -2498,7 +2492,6 @@ gst_gl_display_thread_do_download_draw (GstGLDisplay* display)
         case GST_VIDEO_FORMAT_YUY2:
         case GST_VIDEO_FORMAT_UYVY:
             {
-                gint i=0;
                 GstGLShader* shader_download_YUY2_UYVY = NULL;
 
                                switch (video_format)
@@ -2532,8 +2525,6 @@ gst_gl_display_thread_do_download_draw (GstGLDisplay* display)
         case GST_VIDEO_FORMAT_I420:
         case GST_VIDEO_FORMAT_YV12:
                {
-                gint i=0;
-
                 glDrawBuffers(3, display->multipleRT);
 
                 glClearColor(0.0, 0.0, 0.0, 0.0);
@@ -2556,8 +2547,6 @@ gst_gl_display_thread_do_download_draw (GstGLDisplay* display)
 
         case GST_VIDEO_FORMAT_AYUV:
             {
-                   gint i=0;
-
                 glDrawBuffer(GL_COLOR_ATTACHMENT0_EXT);
 
                 glClearColor(0.0, 0.0, 0.0, 0.0);
index c4ee4a7..bbd664d 100644 (file)
@@ -183,7 +183,6 @@ static void
 gst_gl_filter_edge_callback (gint width, gint height, guint texture, gpointer stuff)
 {
     GstGLFilterEdge* edge_filter = GST_GL_FILTER_EDGE (stuff);
-    gint i=0;
     
     glMatrixMode (GL_PROJECTION);
     glLoadIdentity ();