[packages/libva-driver-vdpau] - disable h.264 api (fixes build, patch from fedora) - rel 2

baggins baggins at pld-linux.org
Sun Jan 26 01:44:58 CET 2014


commit b3208d5e3b7e5126275b82ae314a0fabf7a948af
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Jan 26 01:44:28 2014 +0100

    - disable h.264 api (fixes build, patch from fedora)
    - rel 2

 libva-driver-vdpau-drop-h264-api.patch | 12 ++++++++++++
 libva-driver-vdpau.spec                |  4 +++-
 2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/libva-driver-vdpau.spec b/libva-driver-vdpau.spec
index f5aa6d8..7ab35be 100644
--- a/libva-driver-vdpau.spec
+++ b/libva-driver-vdpau.spec
@@ -2,13 +2,14 @@ Summary:	VDPAU driver for VAAPI
 Summary(pl.UTF-8):	Sterownik VDPAU dla VAAPI
 Name:		libva-driver-vdpau
 Version:	0.7.4
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		Libraries
 Source0:	http://www.freedesktop.org/software/vaapi/releases/libva-vdpau-driver/libva-vdpau-driver-%{version}.tar.bz2
 # Source0-md5:	5ec6d452d2dd307434ea3d32da49c3e5
 Patch0:         %{name}-with-GL_GLEXT_VERSION-85.patch
 Patch1:         %{name}-am.patch
+Patch2:		%{name}-drop-h264-api.patch
 URL:		http://www.freedesktop.org/wiki/Software/vaapi
 BuildRequires:	OpenGL-GLX-devel
 BuildRequires:	autoconf >= 2.57
@@ -35,6 +36,7 @@ Sterownik oparty na VDPAU dla VAAPI.
 %setup -q -n libva-vdpau-driver-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__libtoolize}
diff --git a/libva-driver-vdpau-drop-h264-api.patch b/libva-driver-vdpau-drop-h264-api.patch
new file mode 100644
index 0000000..b42d6d6
--- /dev/null
+++ b/libva-driver-vdpau-drop-h264-api.patch
@@ -0,0 +1,12 @@
+diff -Naur libva-vdpau-driver-0.7.4.old/src/vdpau_dump.c libva-vdpau-driver-0.7.4/src/vdpau_dump.c
+--- libva-vdpau-driver-0.7.4.old/src/vdpau_dump.c	2013-07-31 10:27:40.413324916 +0200
++++ libva-vdpau-driver-0.7.4/src/vdpau_dump.c	2013-07-31 10:28:12.386040595 +0200
+@@ -59,8 +59,6 @@
+         _(VAEncSequenceParameterBufferType);
+         _(VAEncPictureParameterBufferType);
+         _(VAEncSliceParameterBufferType);
+-        _(VAEncH264VUIBufferType);
+-        _(VAEncH264SEIBufferType);
+ #endif
+ #if VA_CHECK_VERSION(0,31,1)
+         _(VAQMatrixBufferType);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libva-driver-vdpau.git/commitdiff/b3208d5e3b7e5126275b82ae314a0fabf7a948af



More information about the pld-cvs-commit mailing list