../video/vaapi.c: In function 'va_initialize': ../video/vaapi.c:191:5: error: too few arguments to function 'vaSetErrorCallback' vaSetErrorCallback(va_error_callback); ^~~~~~~~~~~~~~~~~~ In file included from ../video/vaapi.h:24:0, from ../video/vaapi.c:22: /usr/include/va/va.h:270:19: note: declared here VAMessageCallback vaSetErrorCallback(VADisplay dpy, VAMessageCallback callback, void *user_context); ^~~~~~~~~~~~~~~~~~ ../video/vaapi.c:192:5: error: too few arguments to function 'vaSetInfoCallback' vaSetInfoCallback(va_info_callback); ^~~~~~~~~~~~~~~~~ In file included from ../video/vaapi.h:24:0, from ../video/vaapi.c:22: /usr/include/va/va.h:276:19: note: declared here VAMessageCallback vaSetInfoCallback(VADisplay dpy, VAMessageCallback callback, void *user_context); ^~~~~~~~~~~~~~~~~ Upstream commit solves the issue: https://github.com/mpv-player/mpv/commit/2ecf240b1cd20875991a5b18efafbe799864ff7f Using it as a user patch is a workaround until a new version is coming.
Created attachment 510346 [details, diff] libva2-callbacks.patch taken from git
Confirm on amd64
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e0c93bdde8b684243f8abcdf69fe15f1dcaea55 commit 3e0c93bdde8b684243f8abcdf69fe15f1dcaea55 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2017-12-17 03:26:33 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2017-12-17 03:28:40 +0000 media-video/mpv: Fixed compilation against libva2. Closes: https://bugs.gentoo.org/641384 Package-Manager: Portage-2.3.19, Repoman-2.3.6 media-video/mpv/files/mpv-libva2.patch | 88 ++++++++++++++++++++++++++++++++++ media-video/mpv/mpv-0.27.0.ebuild | 3 +- 2 files changed, 90 insertions(+), 1 deletion(-)
*** Bug 641454 has been marked as a duplicate of this bug. ***
*** Bug 641386 has been marked as a duplicate of this bug. ***