Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libva for openSUSE:Factory checked 
in at 2023-04-28 16:22:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libva (Old)
 and      /work/SRC/openSUSE:Factory/.libva.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libva"

Fri Apr 28 16:22:40 2023 rev:71 rq:1083250 version:2.18.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libva/libva.changes      2023-04-14 
13:12:39.391419193 +0200
+++ /work/SRC/openSUSE:Factory/.libva.new.1533/libva.changes    2023-04-28 
16:23:00.721885447 +0200
@@ -1,0 +2,6 @@
+Thu Apr 27 11:19:52 UTC 2023 - Stefan Dirsch <sndir...@suse.com>
+
+- reintroduce propagate-dpy.patch (regression fix), since the issue
+  still hasn't been fixed in libva-vdpau-driver ...
+
+-------------------------------------------------------------------

New:
----
  propagate-dpy.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libva.spec ++++++
--- /var/tmp/diff_new_pack.ORB8aU/_old  2023-04-28 16:23:01.249888529 +0200
+++ /var/tmp/diff_new_pack.ORB8aU/_new  2023-04-28 16:23:01.253888552 +0200
@@ -38,6 +38,7 @@
 URL:            https://01.org/linuxmedia
 Source0:        
https://github.com/intel/libva/archive/%{version}.tar.gz#/libva-%{version}.tar.gz
 Source2:        baselibs.conf
+Patch0:         propagate-dpy.patch
 
 BuildRequires:  c++_compiler
 BuildRequires:  meson

++++++ propagate-dpy.patch ++++++
Index: libva-2.18.0/va/va.c
===================================================================
--- libva-2.18.0.orig/va/va.c
+++ libva-2.18.0/va/va.c
@@ -417,6 +417,11 @@ static char *va_getDriverPath(const char
 static VAStatus va_openDriver(VADisplay dpy, char *driver_name)
 {
     VADriverContextP ctx = CTX(dpy);
+    /* workaround for broken dpy blocks returned by vaGetDisplayDRM */
+    if (NULL == ctx->native_dpy) {
+        ctx->native_dpy = dpy;
+    }
+
     VAStatus vaStatus = VA_STATUS_ERROR_UNKNOWN;
     char *search_path = NULL;
     char *saveptr;

Reply via email to