vaapidecode: search driver in whitelist
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Thu, 21 Apr 2016 13:14:47 +0000 (15:14 +0200)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Fri, 22 Apr 2016 15:25:00 +0000 (17:25 +0200)
commit53851b0e73a15071a08763d9219540432f0bddbd
tree231d29456cbaad67041fd3d640036c078a7803e0
parentbccdda84b73653c96672161905ba60a9ed9b6557
vaapidecode: search driver in whitelist

If the backend driver vendor string is not in a white-list, and the
environment variable GST_VAAPI_ALL_DRIVERS is not set either, the decoder will
change it state from NULL to READY, hence the auto-plug mechanism will look
for another decoder.

This patch assumes the GstContext has already being shared along the pipeline
and the element has a valid GstVaapiDisplay instance.

https://bugzilla.gnome.org/show_bug.cgi?id=764673
gst/vaapi/gstvaapidecode.c
gst/vaapi/gstvaapipluginbase.c
gst/vaapi/gstvaapipluginbase.h