hwcontext_vaapi: Add option to set driver name

Multimedia / FFmpeg - Mark Thompson [jkqxz.net] - 2 June 2019 22:03 EDT

For example: -init_hw_device vaapi:/dev/dri/renderD128,driver=foo

This may be more convenient that using the environment variable, and allows loading different drivers for different devices in the same process.

7f3f5a24a1 hwcontext_vaapi: Add option to set driver name
libavutil/hwcontext_vaapi.c | 17 +++++++++++++++++
1 file changed, 17 insertions(+)

  • Share