diff options
author | Mark Thompson <sw@jkqxz.net> | 2016-07-28 23:28:30 +0100 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2016-08-13 09:46:48 +0100 |
commit | 121f34d5f0c8d7d376829a467590fbbe4c228f4f (patch) | |
tree | 341ab3ec3a4c594add8525fe731b0057204ddb4d /avconv_vaapi.c | |
parent | 6fc944e6136b050bf965f847bbfd69e1fe572f82 (diff) | |
download | ffmpeg-121f34d5f0c8d7d376829a467590fbbe4c228f4f.tar.gz |
hwcontext_vaapi: Try the first render node as the default DRM device
If no string argument is supplied when av_hwdevice_ctx_create() is
called to create a VAAPI device, we currently only try the default
X11 display (that is, $DISPLAY) to find a device, and will therefore
fail in the absence of an X server to connect to. Change the logic
to also look for a device via the first DRM render node (that is,
"/dev/dri/renderD128"), which is probably the right thing to use in
most simple configurations which only have one DRM device.
Diffstat (limited to 'avconv_vaapi.c')
0 files changed, 0 insertions, 0 deletions