Re: [FFmpeg-devel] [PATCH] hwcontext_vaapi: Add option to set driver name

2018-11-14 Thread Michael Niedermayer
On Wed, Nov 14, 2018 at 12:21:07AM +, Mark Thompson wrote: > 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. > --- > libavut

[FFmpeg-devel] [PATCH] hwcontext_vaapi: Add option to set driver name

2018-11-13 Thread Mark Thompson
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. --- libavutil/hwcontext_vaapi.c | 13 + 1 file changed, 13 insertions(+)