aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/sipr16k.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2019-05-06 15:43:04 +0100
committerMark Thompson <sw@jkqxz.net>2019-06-02 23:03:10 +0100
commit6b6b8a63713cf730a3793b7715be0470d6152191 (patch)
tree00ce064a0b8fcc7bab028f84ada1ab0da14351e0 /libavcodec/sipr16k.c
parentd2141a9b652c52350b5a4519ec34c59f5531fad1 (diff)
downloadffmpeg-6b6b8a63713cf730a3793b7715be0470d6152191.tar.gz
hwcontext_vaapi: Make default DRM device selection more helpful
Iterate over available render devices and pick the first one which looks usable. Adds an option to specify the name of the kernel driver associated with the desired device, so that it is possible to select a specific type of device in a multiple-device system without knowing the card numbering. For example: -init_hw_device vaapi:,kernel_driver=amdgpu will select only devices using the "amdgpu" driver (as used with recent AMD graphics cards). Kernel driver selection requires libdrm to work.
Diffstat (limited to 'libavcodec/sipr16k.c')
0 files changed, 0 insertions, 0 deletions