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
doxy
examples
.gitignore -rw-r--r-- 80 bytes
APIchanges -rw-r--r-- 70.6 KB
Doxyfile -rw-r--r-- 66.3 KB
Makefile -rw-r--r-- 3.4 KB
RELEASE_NOTES -rw-r--r-- 3.3 KB
avconv.texi -rw-r--r-- 43.1 KB
avplay.texi -rw-r--r-- 4.5 KB
avprobe.texi -rw-r--r-- 3.2 KB
avtools-common-opts.texi -rw-r--r-- 6.7 KB
avutil.txt -rw-r--r-- 1.4 KB
bitstream_filters.texi -rw-r--r-- 2.4 KB
build_system.txt -rw-r--r-- 677 bytes
decoders.texi -rw-r--r-- 1.7 KB
demuxers.texi -rw-r--r-- 3.7 KB
developer.texi -rw-r--r-- 25.5 KB
doxy-wrapper.sh -rwxr-xr-x 328 bytes
encoders.texi -rw-r--r-- 27.0 KB
eval.texi -rw-r--r-- 3.4 KB
faq.texi -rw-r--r-- 12.3 KB
fate.texi -rw-r--r-- 4.9 KB
filters.texi -rw-r--r-- 85.0 KB
general.texi -rw-r--r-- 44.1 KB
git-howto.texi -rw-r--r-- 11.9 KB
git-howto.txt -rw-r--r-- 7.9 KB
indevs.texi -rw-r--r-- 10.2 KB
libavfilter.texi -rw-r--r-- 2.9 KB
metadata.texi -rw-r--r-- 1.8 KB
multithreading.txt -rw-r--r-- 3.0 KB
muxers.texi -rw-r--r-- 20.0 KB
nut.texi -rw-r--r-- 4.2 KB
optimization.txt -rw-r--r-- 10.2 KB
outdevs.texi -rw-r--r-- 1000 bytes
platform.texi -rw-r--r-- 13.4 KB
print_options.c -rw-r--r-- 3.6 KB
protocols.texi -rw-r--r-- 23.1 KB
rate_distortion.txt -rw-r--r-- 2.1 KB
soc.txt -rw-r--r-- 1.2 KB
swscale.txt -rw-r--r-- 4.6 KB
t2h.init -rw-r--r-- 4.6 KB
tablegen.txt -rw-r--r-- 2.7 KB
texi2pod.pl -rwxr-xr-x 12.5 KB
viterbi.txt -rw-r--r-- 2.7 KB

back to top