aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/timefilter.h
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2016-07-28 23:28:30 +0100
committerMark Thompson <sw@jkqxz.net>2016-11-13 20:39:49 +0000
commit8d47d8407569aade0c0d564600919349789dc38b (patch)
tree891595b71ae044a7369f2d9f1dfe97d38673556d /libavdevice/timefilter.h
parent1a359e53418ff15b1c9b1e03c05b160f01e1ce0f (diff)
downloadffmpeg-8d47d8407569aade0c0d564600919349789dc38b.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. (cherry picked from commit 121f34d5f0c8d7d376829a467590fbbe4c228f4f)
Diffstat (limited to 'libavdevice/timefilter.h')
0 files changed, 0 insertions, 0 deletions