mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
[131/906] fix warnings (unused vars)
This commit is contained in:
parent
3d3ba97c4d
commit
c3d0a2f9b4
2 changed files with 0 additions and 12 deletions
|
@ -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);
|
||||
|
|
|
@ -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 ();
|
||||
|
|
Loading…
Reference in a new issue