libs: window: x11/wayland: use new api for conversion
authorHyunjun Ko <zzoon@igalia.com>
Mon, 10 Apr 2017 08:23:26 +0000 (17:23 +0900)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Tue, 11 Apr 2017 17:20:38 +0000 (19:20 +0200)
commitc5b3577e8827277e75bc1a3bdb6eb66f388e2480
treed46a24de5364ec4dbc6a8d3a8618b3c8ea4ba880
parentccfbca733dd3511bcbfda349b81587c6b2793fa4
libs: window: x11/wayland: use new api for conversion

Since gst_vaapi_window_vpp_convert_internal is created,
GstVaapiWindowX11/Wayland can use it for conversion.

Note that once it chooses to use vpp, it's going to use vpp
until the session is finished.

https://bugzilla.gnome.org/show_bug.cgi?id=759533
gst-libs/gst/vaapi/gstvaapiwindow_wayland.c
gst-libs/gst/vaapi/gstvaapiwindow_x11.c
gst-libs/gst/vaapi/gstvaapiwindow_x11_priv.h