glwindow: remove unused private alive variable
This commit is contained in:
parent
5b11ac0819
commit
785feed73f
@ -97,8 +97,6 @@ struct _GstGLWindowPrivate
|
|||||||
guint surface_width;
|
guint surface_width;
|
||||||
guint surface_height;
|
guint surface_height;
|
||||||
|
|
||||||
gboolean alive;
|
|
||||||
|
|
||||||
GMutex sync_message_lock;
|
GMutex sync_message_lock;
|
||||||
GCond sync_message_cond;
|
GCond sync_message_cond;
|
||||||
};
|
};
|
||||||
@ -553,7 +551,6 @@ gst_gl_window_run (GstGLWindow * window)
|
|||||||
window_class = GST_GL_WINDOW_GET_CLASS (window);
|
window_class = GST_GL_WINDOW_GET_CLASS (window);
|
||||||
g_return_if_fail (window_class->run != NULL);
|
g_return_if_fail (window_class->run != NULL);
|
||||||
|
|
||||||
window->priv->alive = TRUE;
|
|
||||||
window_class->run (window);
|
window_class->run (window);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -591,8 +588,6 @@ gst_gl_window_quit (GstGLWindow * window)
|
|||||||
|
|
||||||
GST_GL_WINDOW_LOCK (window);
|
GST_GL_WINDOW_LOCK (window);
|
||||||
|
|
||||||
window->priv->alive = FALSE;
|
|
||||||
|
|
||||||
window_class->quit (window);
|
window_class->quit (window);
|
||||||
|
|
||||||
GST_INFO ("quit sent to gl window loop");
|
GST_INFO ("quit sent to gl window loop");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user