msdk: declare external dependencies
authorU. Artie Eoff <ullysses.a.eoff@intel.com>
Wed, 16 Jun 2021 17:23:37 +0000 (10:23 -0700)
committerHaihao Xiang <haihao.xiang@intel.com>
Thu, 17 Jun 2021 02:56:45 +0000 (02:56 +0000)
commit300f25ae365694fcbcca93cbeeced759beb2bc69
treeb18e44697a5f1d14cbae287645f55018e776bf5d
parent058957fc225f351d3c8402e3230285e46c46ac12
msdk: declare external dependencies

Track kernel and VA driver dependencies so gstreamer
will re-inspect the plugin if any of them change.

Also, do not blacklist the plugin if !msdk_is_available
since it could be a transient issue caused by one or
more external dependency issues (e.g. wrong/missing
driver specified, but corrected by user later on).

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2335>
sys/msdk/gstmsdk.c
sys/msdk/meson.build