Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#13606 closed Bug Report - General (fixed)

Can't compile whith--enable-vaapi

Reported by: nicolas-mrq Owned by: Mark Kendall
Priority: major Milestone: 31.1
Component: Packaging Version: v31-fixes
Severity: medium Keywords: vaapi
Cc: Ticket locked: no

Description

Error with mageia 7.1 when i tried compile with vaapi :

include/QtSql -I/usr/lib64/qt5/include/QtCore -Imoc -isystem /usr/include/libdrm -I/usr/lib64/qt5/mkspecs/linux-g++ -o obj/dtvchannel.o recorders/dtvchannel.cpp opengl/mythvaapidrminterop.cpp: In static member function 'static VideoFrameType? MythVAAPIInteropDRM::VATypeToMythType(uint32_t)': opengl/mythvaapidrminterop.cpp:353:14: error: 'VA_FOURCC_P010' was not declared in this scope

case VA_FOURCC_P010: return FMT_P010;

~

opengl/mythvaapidrminterop.cpp:353:14: note: suggested alternative: 'VA_FOURCC_NV12'

case VA_FOURCC_P010: return FMT_P010;

~ VA_FOURCC_NV12

opengl/mythvaapidrminterop.cpp:354:14: error: 'VA_FOURCC_P016' was not declared in this scope

case VA_FOURCC_P016: return FMT_P016;

~

opengl/mythvaapidrminterop.cpp:354:14: note: suggested alternative: 'VA_FOURCC_NV12'

case VA_FOURCC_P016: return FMT_P016;

~ VA_FOURCC_NV12

make[2]: * [Makefile:48109: obj/mythvaapidrminterop.o] Error 1 make[2]: * Waiting for unfinished jobs.

Change History (4)

comment:1 Changed 4 years ago by Mark Kendall

Milestone: needs_triage31.1
Owner: set to Mark Kendall
Status: newaccepted

comment:2 Changed 4 years ago by Mark Kendall

Resolution: Fixed
Status: acceptedclosed

Should have been fixed in 3b54678feba714c514f32b38b0f5c1c6a74eaf3f - but the commit hook hasn't processed.

comment:3 Changed 4 years ago by Mark Kendall <mark.kendall@…>

Resolution: Fixedfixed

In 394245f0db/mythtv:

VAAPI: Fix compilation for older drivers

Fixes #13606

comment:4 Changed 4 years ago by Mark Kendall <mark.kendall@…>

In 3b54678fe/mythtv:

VAAPI: Fix compilation for older drivers

Fixes #13606

(cherry picked from commit 394245f0dbab1f2680b5a6edc67764debe3d9dfd)

Note: See TracTickets for help on using tickets.