From: Gwenole Beauchesne Date: Fri, 27 Jul 2012 08:45:41 +0000 (+0200) Subject: plugins: prefer X11 rendering over GLX. X-Git-Tag: accepted/trunk/20120822.173359~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=511cc95a448ca5c7843307a89c2a9cb02ccfba4f;p=profile%2Fivi%2Fgstreamer-vaapi.git plugins: prefer X11 rendering over GLX. Prefer X11 display over GLX so that "vaapisink" uses X11, i.e. vaPutSurface(), for rendering instead of texturing. --- diff --git a/gst/vaapi/gstvaapipluginutil.c b/gst/vaapi/gstvaapipluginutil.c index ac7efeb..504d53a 100644 --- a/gst/vaapi/gstvaapipluginutil.c +++ b/gst/vaapi/gstvaapipluginutil.c @@ -64,16 +64,16 @@ 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, } };