summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Waters <ystreet00@gmail.com>2014-03-12 23:43:12 +1100
committerMatthew Waters <ystreet00@gmail.com>2014-03-12 23:43:12 +1100
commitb2c97c704b439676cae94185f843edd18c5c6338 (patch)
tree41ee360413c811a3e43fcbcd96e2789d772282d0
parent63cd65c92b340f8463ec59b17741769d0eebca3f (diff)
egl: warn if we resort to display handles from the window
-rw-r--r--gst-libs/gst/gl/egl/gstglcontext_egl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst-libs/gst/gl/egl/gstglcontext_egl.c b/gst-libs/gst/gl/egl/gstglcontext_egl.c
index b181984..197cd1c 100644
--- a/gst-libs/gst/gl/egl/gstglcontext_egl.c
+++ b/gst-libs/gst/gl/egl/gstglcontext_egl.c
@@ -244,6 +244,8 @@ gst_gl_context_egl_create_context (GstGLContext * context,
if (!native_display) {
GstGLWindow *window = NULL;
+ GST_WARNING ("Failed to get a global display handle, falling back to "
+ "per-window display handles. Context sharing may not work");
if (other_context)
window = gst_gl_context_get_window (other_context);