summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsL1pKn072019-08-03 17:32:45 +0200
committersL1pKn072019-08-03 17:32:45 +0200
commit332e04dadf1fb90b87eeaa868d95b90d1ba624ed (patch)
tree5afa7ba447c8317636a23362055193ebedf13f0e
parent5f5b647b66952ecaa150852be82c23238c746129 (diff)
downloadaur-332e04dadf1fb90b87eeaa868d95b90d1ba624ed.tar.gz
Fix <unknown profile>, VAProfileH264Baseline -> VAProfileH264ConstrainedBaseline
-rw-r--r--PKGBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2da7415292a..7f38b3d36a4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -43,9 +43,13 @@ prepare() {
patch -d "libva-vdpau-driver-${pkgver}" -p1 -i "${srcdir}/sigfpe-crash.patch"
patch -d "libva-vdpau-driver-${pkgver}" -p1 -i "${srcdir}/implement-vaquerysurfaceattributes.patch"
+ # https://bbs.archlinux.org/viewtopic.php?id=247933
sed -e '/v4l2_buffer/d' \
-e '/v4l2_format/d' \
-i "${srcdir}/libva-vdpau-driver-0.7.4/src/"vdpau_video.{h,c}
+
+ # https://gitlab.freedesktop.org/lima/mesa/commit/1edaa33135feffe1082bf491e098224121615b08
+ sed 's|Baseline|ConstrainedBaseline|g' -i "${srcdir}/libva-vdpau-driver-0.7.4/src/vdpau_decode.c"
}
build() {