libs: display: egl: avoid two vaDisplay instantiates
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Thu, 28 Sep 2017 16:58:17 +0000 (18:58 +0200)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 3 Oct 2017 11:14:55 +0000 (13:14 +0200)
commit66e4593c33a55933d9736fc9989e3cdb0a8a628b
treeaef279bae67240ebaa0825c358738c7a6a3d4b9a
parent494ac4e3a86cfc1ef8a0a2c455701fa6b1ca9992
libs: display: egl: avoid two vaDisplay instantiates

GstVaapiDisplayEGL is a wrapper of another GstVaapiDisplay, either X11
or Wayland. Nonetheless it created another vaDisplay for it, instead
of using the wrapped one.

This patch enables the reuse of the wrapped vaDisplay avoiding
instantiating two.

https://bugzilla.gnome.org/show_bug.cgi?id=782212
gst-libs/gst/vaapi/gstvaapidisplay_egl.c