diff options
author | Mark Thompson <sw@jkqxz.net> | 2020-02-16 20:59:54 +0000 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2020-02-24 00:09:51 +0000 |
commit | bc9b6358fb7315c0173de322472641766f6289da (patch) | |
tree | 87de21e53415d5a0739b76a0420372f7b174f74a /libswscale/gamma.c | |
parent | a7b92cb55907fd33aa75eabea95db39ba949cb99 (diff) | |
download | ffmpeg-bc9b6358fb7315c0173de322472641766f6289da.tar.gz |
hwcontext_vaapi: Only accept a render node when deriving from DRM device
If we are given a non-render node, try to find the matching render node and
fail if that isn't possible.
libva will not accept a non-render device which is not DRM master, because
it requires legacy DRM authentication to succeed in that case:
<https://github.com/intel/libva/blob/master/va/drm/va_drm.c#L68-L75>. This
is annoying for kmsgrab because in most recording situations DRM master is
already held by something else (such as a windowing system), leading to
device derivation not working and forcing the user to create the target
VAAPI device separately.
Diffstat (limited to 'libswscale/gamma.c')
0 files changed, 0 insertions, 0 deletions