mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
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:
parent
8f56b758b6
commit
200b1baabc
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue