mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
gl/display: avoid endless recursion for cocoa
This commit is contained in:
parent
a865a931fc
commit
90bf46484d
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ gst_gl_display_new (void)
|
||||||
|
|
||||||
#if GST_GL_HAVE_WINDOW_COCOA
|
#if GST_GL_HAVE_WINDOW_COCOA
|
||||||
if (!display && (!user_choice || g_strstr_len (user_choice, 5, "cocoa")))
|
if (!display && (!user_choice || g_strstr_len (user_choice, 5, "cocoa")))
|
||||||
display = GST_GL_DISPLAY (gst_gl_display_new ());
|
display = g_object_new (GST_TYPE_GL_DISPLAY, NULL);
|
||||||
#endif
|
#endif
|
||||||
#if GST_GL_HAVE_WINDOW_X11
|
#if GST_GL_HAVE_WINDOW_X11
|
||||||
if (!display && (!user_choice || g_strstr_len (user_choice, 3, "x11")))
|
if (!display && (!user_choice || g_strstr_len (user_choice, 3, "x11")))
|
||||||
|
|
Loading…
Reference in a new issue