plugins: ensure VA display matches GL context expectations.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 3 Dec 2014 14:45:52 +0000 (15:45 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 24 Feb 2015 14:20:03 +0000 (15:20 +0100)
commit9aa5eac5e3e2636f08a85a7d4f850f5b9dff8c7b
treefd5db678b88b54333fc71798362d08ead61819cd
parentd9c082168b64ea7175dd2b469e1955d2d79e39e3
plugins: ensure VA display matches GL context expectations.

If a GstGLContext is supplied by the downstream element, then make
sure that the VA plugin element gets a compatible display to what
is requested by the GL context. e.g. re-allocate a VA/GLX display
when a GLX context is provided by the downstream element.
gst/vaapi/gstvaapipluginbase.c
gst/vaapi/gstvaapipluginbase.h
gst/vaapi/gstvaapipluginutil.c