https://github.com/libav/libav
Revision 121f34d5f0c8d7d376829a467590fbbe4c228f4f authored by Mark Thompson on 28 July 2016, 22:28:30 UTC, committed by Mark Thompson on 13 August 2016, 08:46:48 UTC
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.
1 parent 6fc944e
History
Tip revision: 121f34d5f0c8d7d376829a467590fbbe4c228f4f authored by Mark Thompson on 28 July 2016, 22:28:30 UTC
hwcontext_vaapi: Try the first render node as the default DRM device
Tip revision: 121f34d
File Mode Size
compat
doc
libavcodec
libavdevice
libavfilter
libavformat
libavresample
libavutil
libswscale
presets
tests
tools
.gitattributes -rw-r--r-- 18 bytes
.gitignore -rw-r--r-- 209 bytes
.travis.yml -rw-r--r-- 471 bytes
COPYING.GPLv2 -rw-r--r-- 17.7 KB
COPYING.GPLv3 -rw-r--r-- 34.3 KB
COPYING.LGPLv2.1 -rw-r--r-- 25.9 KB
COPYING.LGPLv3 -rw-r--r-- 7.5 KB
CREDITS -rw-r--r-- 1.0 KB
Changelog -rw-r--r-- 37.1 KB
INSTALL -rw-r--r-- 705 bytes
LICENSE -rw-r--r-- 2.7 KB
Makefile -rw-r--r-- 6.1 KB
README l--------- 9 bytes
README.md -rw-r--r-- 1.6 KB
RELEASE -rw-r--r-- 10 bytes
arch.mak -rw-r--r-- 516 bytes
avconv.c -rw-r--r-- 88.5 KB
avconv.h -rw-r--r-- 15.0 KB
avconv_dxva2.c -rw-r--r-- 14.5 KB
avconv_filter.c -rw-r--r-- 28.3 KB
avconv_opt.c -rw-r--r-- 102.0 KB
avconv_qsv.c -rw-r--r-- 2.7 KB
avconv_vaapi.c -rw-r--r-- 17.6 KB
avconv_vda.c -rw-r--r-- 3.9 KB
avconv_vdpau.c -rw-r--r-- 4.4 KB
avplay.c -rw-r--r-- 98.8 KB
avprobe.c -rw-r--r-- 32.0 KB
cmdutils.c -rw-r--r-- 54.7 KB
cmdutils.h -rw-r--r-- 17.0 KB
cmdutils_common_opts.h -rw-r--r-- 1.7 KB
common.mak -rw-r--r-- 2.0 KB
configure -rwxr-xr-x 161.6 KB
library.mak -rw-r--r-- 3.4 KB
version.sh -rwxr-xr-x 678 bytes

README.md

back to top