mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 06:26:23 +00:00
plugins: prefer X11 rendering over GLX.
Prefer X11 display over GLX so that "vaapisink" uses X11, i.e. vaPutSurface(), for rendering instead of texturing.
This commit is contained in:
parent
22b2c2cb4f
commit
511cc95a44
1 changed files with 5 additions and 5 deletions
|
@ -64,15 +64,15 @@ static const DisplayMap g_display_map[] = {
|
|||
GST_VAAPI_DISPLAY_TYPE_WAYLAND,
|
||||
gst_vaapi_display_wayland_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_GLX
|
||||
{ "glx",
|
||||
GST_VAAPI_DISPLAY_TYPE_GLX,
|
||||
gst_vaapi_display_glx_new },
|
||||
#endif
|
||||
{ NULL, }
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue