Project

General

Profile

Actions

Bug #4679

closed

Build broken with libva 2.0.0

Added by b kuhls over 7 years ago. Updated over 7 years ago.

Status:
Fixed
Priority:
Normal
Category:
Transcoding
Target version:
-
Start date:
2017-11-05
Due date:
% Done:

100%

Estimated time:
(Total: 0:00 h)
Found in version:
github a234e2ff6d140e6ffceb7057bf18a8fdd927a5ac
Affected Versions:

Description

Building tvheadend with newly released libva 2.0.0 is broken:

src/libav.c: In function 'libav_vaapi_init':
src/libav.c:265:3: error: too few arguments to function 'vaSetErrorCallback'
   vaSetErrorCallback(libav_va_error_callback);
   ^~~~~~~~~~~~~~~~~~
In file included from src/libav.c:4:0:
/home/bernd/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/va/va.h:270:19: note: declared here
 VAMessageCallback vaSetErrorCallback(VADisplay dpy, VAMessageCallback callback, void *user_context);
                   ^~~~~~~~~~~~~~~~~~
src/libav.c:266:3: error: too few arguments to function 'vaSetInfoCallback'
   vaSetInfoCallback(libav_va_info_callback);
   ^~~~~~~~~~~~~~~~~
In file included from src/libav.c:4:0:
/home/bernd/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/va/va.h:276:19: note: declared here
 VAMessageCallback vaSetInfoCallback(VADisplay dpy, VAMessageCallback callback, void *user_context);
                   ^~~~~~~~~~~~~~~~~

A similar problem was fixed in mpv: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=879057

Files

0004-libva-2.patch (2.92 KB) 0004-libva-2.patch Michael Marley, 2017-11-08 00:47

Subtasks 1 (0 open1 closed)

Bug #4706: TVHeadend is not compatible with libva 2.xRejected2017-11-05

Actions
Actions

Also available in: Atom PDF