vaapidisplay: mark X11 display as compatible with EGL

GST_GL_WINDOW=x11 GST_GL_API=gles2 GST_GL_PLATFORM=egl
gst-launch-1.0 ... ! vaapidecode ! glimagesink

https://bugzilla.gnome.org/show_bug.cgi?id=745902

Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
This commit is contained in:
Julien Isorce 2015-03-14 22:12:19 +02:00 committed by Sreerenj Balachandran
parent 8f56b758b6
commit 200b1baabc

View file

@ -205,6 +205,10 @@ gst_vaapi_display_type_is_compatible (GstVaapiDisplayType type1,
if (type2 == GST_VAAPI_DISPLAY_TYPE_X11)
return TRUE;
break;
case GST_VAAPI_DISPLAY_TYPE_X11:
if (type2 == GST_VAAPI_DISPLAY_TYPE_EGL)
return TRUE;
break;
default:
break;
}