mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
plugins: try to allocate a GLX display first over an X11 one.
If the gstreamer-vaapi plug-in elements are built with GLX support, then try to allocate a GstVaapiDisplayGLX first before resorting to a VA/X11 display next. https://bugzilla.gnome.org/show_bug.cgi?id=701742
This commit is contained in:
parent
8e0d65b327
commit
2fafbd7b64
1 changed files with 5 additions and 5 deletions
|
@ -68,16 +68,16 @@ static const DisplayMap g_display_map[] = {
|
|||
GST_VAAPI_DISPLAY_TYPE_WAYLAND,
|
||||
gst_vaapi_display_wayland_new },
|
||||
#endif
|
||||
#if USE_X11
|
||||
{ "x11",
|
||||
GST_VAAPI_DISPLAY_TYPE_X11,
|
||||
gst_vaapi_display_x11_new },
|
||||
#endif
|
||||
#if USE_GLX
|
||||
{ "glx",
|
||||
GST_VAAPI_DISPLAY_TYPE_GLX,
|
||||
gst_vaapi_display_glx_new },
|
||||
#endif
|
||||
#if USE_X11
|
||||
{ "x11",
|
||||
GST_VAAPI_DISPLAY_TYPE_X11,
|
||||
gst_vaapi_display_x11_new },
|
||||
#endif
|
||||
#if USE_DRM
|
||||
{ "drm",
|
||||
GST_VAAPI_DISPLAY_TYPE_DRM,
|
||||
|
|
Loading…
Reference in a new issue