hwcontext_vaapi: Fix condition for DRM device derivation
authorMark Thompson <sw@jkqxz.net>
Sun, 11 Mar 2018 21:16:25 +0000 (21:16 +0000)
committerMark Thompson <sw@jkqxz.net>
Sun, 18 Mar 2018 17:55:00 +0000 (17:55 +0000)
commit389f4c3e0d0a26a7d3d2696017384874cf5e93fa
tree4c5d90d1f935a544bc43377ec144cb3020214014
parent84bb8327f571c4924789413efafde47d96b8b72b
hwcontext_vaapi: Fix condition for DRM device derivation

vaGetDisplayDRM() is required for this code to work, libdrm is not.
libavutil/hwcontext_vaapi.c