[FFmpeg-devel] [PATCH v4 2/5] ffmpeg: VAAPI hwaccel helper and related initialisation

Mark Thompson sw at jkqxz.net
Sun Jan 24 14:21:55 CET 2016

On 24/01/16 00:43, Timothy Gu wrote:
> On Sat, Jan 23, 2016 at 07:14:29PM +0000, Mark Thompson wrote:
>> +    { "vaapi", HAS_ARG, { .func_arg = opt_vaapi }, "set VAAPI hardware context" },
> What is "hardware context"? The address of an AVVAAPIHardwareContext? That
> makes no sense.

It's the device string to pass to vaapi_hardware_init(), so something like ":0" (X11) or "/dev/dri/card0" (DRM).

Not sure what I was thinking with that string, I'll change it to something more sensible.  (Though still hoping that a better method to get this initialisation is possible.)

- Mark

More information about the ffmpeg-devel mailing list