[494/906] cmake build: use config.h from win32/common and add some guidelines

This commit is contained in:
Julien Isorce 2012-04-17 18:25:55 +02:00 committed by Tim-Philipp Müller
parent bd0982d057
commit 46eea6f943
2 changed files with 2 additions and 4 deletions

View file

@ -181,8 +181,8 @@ gst_gl_window_new (DWORD_PTR external_gl_context)
g_debug ("gl window created: %lud\n", (gulong) priv->internal_win_id);
//device is set in the window_proc
if (!priv->display) {
g_debug ("failed to create display\n");
if (!priv->device) {
g_debug ("failed to create device\n");
goto failure;
}
@ -191,7 +191,6 @@ gst_gl_window_new (DWORD_PTR external_gl_context)
return window;
failure:
g_mutex_unlock (priv->x_lock);
g_object_unref (G_OBJECT (window));
return NULL;
}

View file

@ -195,7 +195,6 @@ gst_gl_window_new (gulong external_gl_context)
return window;
failure:
g_mutex_unlock (priv->x_lock);
g_object_unref (G_OBJECT (window));
return NULL;
}