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:
Gwenole Beauchesne 2012-07-27 10:45:41 +02:00
parent 22b2c2cb4f
commit 511cc95a44

View file

@ -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, }
};