display: add utility function to query VA driver name.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 20 May 2014 09:36:40 +0000 (11:36 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 21 May 2014 17:59:52 +0000 (19:59 +0200)
commitc0993182bd13afbf1362d1a7407effd01cbfcaa2
tree9970d8ee90832cfe846c190121986c6a722e365b
parent71053228b3dc9292130c0108ea2004cd40d8e0bc
display: add utility function to query VA driver name.

Add gst_vaapi_display_get_vendor_string() helper function to query
the underlying VA driver name. The display object owns the resulting
string, so it shall not be deallocated.

That function is thread-safe. It could be used for debugging purposes,
for instance.
gst-libs/gst/vaapi/gstvaapidisplay.c
gst-libs/gst/vaapi/gstvaapidisplay.h
gst-libs/gst/vaapi/gstvaapidisplay_priv.h