]> git.sesse.net Git - ffmpeg/commit
hwcontext_vaapi: Try to create devices via DRM before X11
authorMark Thompson <sw@jkqxz.net>
Mon, 6 May 2019 14:41:09 +0000 (15:41 +0100)
committerMark Thompson <sw@jkqxz.net>
Sun, 2 Jun 2019 22:03:27 +0000 (23:03 +0100)
commit0b4696fbe8dbd2ab038006fdc02cada2ef6ae3ba
treea9a83f8399a84354160a840004432e519086d9ae
parent7f3f5a24a1c70c6a8e72cdf387252ce0d1afee7f
hwcontext_vaapi: Try to create devices via DRM before X11

Opening the device via X11 (DRI2/DRI3) rather than opening a DRM render
node directly is only useful if you intend to use the legacy X11 interop
functions.  That's never true for the ffmpeg utility, and a library user
who does want this will likely provide their own display instance rather
than making a new one here.
libavutil/hwcontext_vaapi.c