mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
gl/display: avoid endless recursion for cocoa
This commit is contained in:
parent
a5b3ba09b8
commit
ee95595af0
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 (!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
|
||||
#if GST_GL_HAVE_WINDOW_X11
|
||||
if (!display && (!user_choice || g_strstr_len (user_choice, 3, "x11")))
|
||||
|
|
Loading…
Reference in a new issue