plugins: check type of display obtained from neighbours.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 13 Dec 2013 11:00:35 +0000 (12:00 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 18 Dec 2013 15:38:57 +0000 (16:38 +0100)
commitfad3f538bc3f4e27c82ba687c43b6ea5547983fb
tree68bba2f190c872f74c6b43c55967581bc76fbbf9
parent6f2dfb71e6a58c3988c1c8f3eeeeaea29973b656
plugins: check type of display obtained from neighbours.

Fix display creation code to check that any display obtained from a
neighbour actually has the type we expect. Note: if display type is
set to "any", we can then accept any VA display type.
gst-libs/gst/vaapi/gstvaapidisplay.c
gst-libs/gst/vaapi/gstvaapidisplay.h
gst/vaapi/gstvaapipluginbase.c
gst/vaapi/gstvaapipluginutil.c