projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a865a93
)
gl/display: avoid endless recursion for cocoa
author
Matthew Waters
<ystreet00@gmail.com>
Wed, 7 May 2014 09:05:55 +0000
(19:05 +1000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:31:39 +0000
(19:31 +0000)
gst-libs/gst/gl/gstgldisplay.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstgldisplay.c
b/gst-libs/gst/gl/gstgldisplay.c
index
d71b55b
..
5bee1b1
100644
(file)
--- a/
gst-libs/gst/gl/gstgldisplay.c
+++ b/
gst-libs/gst/gl/gstgldisplay.c
@@
-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")))