mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
gl/window: hopefully fixup compile warnings on android/ios
This commit is contained in:
parent
ebbdf29a24
commit
9968b512c5
2 changed files with 5 additions and 11 deletions
|
@ -89,7 +89,7 @@ gst_gl_window_android_egl_init (GstGLWindowAndroidEGL * window)
|
|||
static void
|
||||
gst_gl_window_android_egl_finalize (GObject * object)
|
||||
{
|
||||
GstGLWindowAndroidEGL *window_egl GST_GL_WINDOW_ANDROID_EGL (object);
|
||||
GstGLWindowAndroidEGL *window_egl = GST_GL_WINDOW_ANDROID_EGL (object);
|
||||
|
||||
g_main_loop_unref (window_egl->loop);
|
||||
g_main_context_unref (window_egl->main_context);
|
||||
|
@ -113,17 +113,12 @@ gst_gl_window_android_egl_new (void)
|
|||
static gboolean
|
||||
gst_gl_window_android_egl_open (GstGLWindow * window, GError ** error)
|
||||
{
|
||||
GstGLWindowAndroidEGL *window_egl;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static void
|
||||
gst_gl_window_android_egl_close (GstGLWindow * window)
|
||||
{
|
||||
GstGLWindowAndroidEGL *window_egl;
|
||||
|
||||
window_egl = GST_GL_WINDOW_ANDROID_EGL (window);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -99,18 +99,17 @@ gst_gl_window_eagl_init (GstGLWindowEagl * window)
|
|||
{
|
||||
window->priv = GST_GL_WINDOW_EAGL_GET_PRIVATE (window);
|
||||
|
||||
window_eagl->priv->main_context = g_main_context_new ();
|
||||
window_eagl->priv->loop =
|
||||
g_main_loop_new (window_eagl->priv->main_context, FALSE);
|
||||
window->priv->main_context = g_main_context_new ();
|
||||
window->priv->loop = g_main_loop_new (window->priv->main_context, FALSE);
|
||||
}
|
||||
|
||||
static void
|
||||
gst_gl_window_eagl_finalize (GObject * object)
|
||||
{
|
||||
GstGLWindowWaylandEagl *window_eagl = GST_GL_WINDOW_EAGL (object);
|
||||
GstGLWindowEagl *window_eagl = GST_GL_WINDOW_EAGL (object);
|
||||
|
||||
g_main_loop_unref (window_eagl->priv->loop);
|
||||
g_main_context_unref (window_egl->priv->main_context);
|
||||
g_main_context_unref (window_eagl->priv->main_context);
|
||||
|
||||
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue