Tries to find a device backed by the i915 kernel driver and loads the iHD
VAAPI driver to use with it. This reduces confusion on machines with multiple DRM devices and removes the surprising requirement to set the LIBVA_DRIVER_NAME environment variable to use libmfx at all.
468f003843 hwcontext_qsv: Try to select a matching VAAPI device by default
libavutil/hwcontext_qsv.c | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)