glwindow: remove unused private alive variable
authorMatthew Waters <matthew@centricular.com>
Thu, 26 Mar 2020 02:50:22 +0000 (13:50 +1100)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 26 Mar 2020 11:25:44 +0000 (11:25 +0000)
gst-libs/gst/gl/gstglwindow.c

index 3b5df55..9991f16 100644 (file)
@@ -97,8 +97,6 @@ struct _GstGLWindowPrivate
   guint surface_width;
   guint surface_height;
 
-  gboolean alive;
-
   GMutex sync_message_lock;
   GCond sync_message_cond;
 };
@@ -553,7 +551,6 @@ gst_gl_window_run (GstGLWindow * window)
   window_class = GST_GL_WINDOW_GET_CLASS (window);
   g_return_if_fail (window_class->run != NULL);
 
-  window->priv->alive = TRUE;
   window_class->run (window);
 }
 
@@ -591,8 +588,6 @@ gst_gl_window_quit (GstGLWindow * window)
 
   GST_GL_WINDOW_LOCK (window);
 
-  window->priv->alive = FALSE;
-
   window_class->quit (window);
 
   GST_INFO ("quit sent to gl window loop");