[899/906] egl: warn if we resort to display handles from the window

This commit is contained in:
Matthew Waters 2014-03-12 23:43:12 +11:00 committed by Tim-Philipp Müller
parent e64051fd1f
commit 07ed5dd637

View file

@ -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);