[packages/libvncserver] - added va patch (update to libva 1.2+ API); release 2
qboosh
qboosh at pld-linux.org
Sun Dec 7 09:26:24 CET 2014
commit 44dd1dde2f9d12f20e5b6372a33247f9b1b7fd3a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Dec 7 09:26:47 2014 +0100
- added va patch (update to libva 1.2+ API); release 2
libvncserver-va.patch | 11 +++++++++++
libvncserver.spec | 2 +-
2 files changed, 12 insertions(+), 1 deletion(-)
---
diff --git a/libvncserver.spec b/libvncserver.spec
index 2d1df33..29f6f7b 100644
--- a/libvncserver.spec
+++ b/libvncserver.spec
@@ -6,7 +6,7 @@ Summary: LibVNCServer - a for easy implementation of VNC/RDP server
Summary(pl.UTF-8): LibVNCServer - biblioteka do łatwego implementowania serwera VNC/RDP
Name: libvncserver
Version: 0.9.10
-Release: 1
+Release: 2
License: GPL v2
Group: Libraries
Source0: https://github.com/LibVNC/libvncserver/archive/LibVNCServer-%{version}.tar.gz
diff --git a/libvncserver-va.patch b/libvncserver-va.patch
new file mode 100644
index 0000000..6a18e3c
--- /dev/null
+++ b/libvncserver-va.patch
@@ -0,0 +1,11 @@
+--- libvncserver-LibVNCServer-0.9.10/libvncclient/h264.c.orig 2014-12-06 20:18:09.065973169 +0100
++++ libvncserver-LibVNCServer-0.9.10/libvncclient/h264.c 2014-12-06 20:18:11.122639750 +0100
+@@ -250,7 +250,7 @@
+ va_sp_param_buf_id[i] = VA_INVALID_ID;
+ va_d_param_buf_id[i] = VA_INVALID_ID;
+ }
+- va_status = vaCreateSurfaces(va_dpy, width, height, VA_RT_FORMAT_YUV420, SURFACE_NUM, &va_surface_id[0]);
++ va_status = vaCreateSurfaces(va_dpy, VA_RT_FORMAT_YUV420, width, height, &va_surface_id[0], SURFACE_NUM, NULL, 0);
+ CHECK_VASTATUS(va_status, "vaCreateSurfaces");
+ for (i = 0; i < SURFACE_NUM; ++i) {
+ DebugLog(("%s: va_surface_id[%d] = %p\n", __FUNCTION__, i, va_surface_id[i]));
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libvncserver.git/commitdiff/44dd1dde2f9d12f20e5b6372a33247f9b1b7fd3a
More information about the pld-cvs-commit
mailing list