Hello community,

here is the log from the commit of package gstreamer-plugins-vaapi for 
openSUSE:Factory checked in at 2018-03-22 12:04:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gstreamer-plugins-vaapi (Old)
 and      /work/SRC/openSUSE:Factory/.gstreamer-plugins-vaapi.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gstreamer-plugins-vaapi"

Thu Mar 22 12:04:08 2018 rev:24 rq:589155 version:1.12.4

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/gstreamer-plugins-vaapi/gstreamer-plugins-vaapi.changes
  2018-03-06 10:46:54.317113567 +0100
+++ 
/work/SRC/openSUSE:Factory/.gstreamer-plugins-vaapi.new/gstreamer-plugins-vaapi.changes
     2018-03-22 12:10:03.175058536 +0100
@@ -1,0 +2,8 @@
+Mon Mar  5 17:37:42 UTC 2018 - [email protected]
+
+- Add gst-vaapi-vaapivideobufferpool-fix-regression.patch:
+  vaapivideobufferpool: fix regression. The allocator in the config
+  may be not VAAPI (videotestsrc, for example) and it will not have
+  a video info configuration (bgo#789476).
+
+-------------------------------------------------------------------

New:
----
  gst-vaapi-vaapivideobufferpool-fix-regression.patch

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

Other differences:
------------------
++++++ gstreamer-plugins-vaapi.spec ++++++
--- /var/tmp/diff_new_pack.PnYIsq/_old  2018-03-22 12:10:05.042991583 +0100
+++ /var/tmp/diff_new_pack.PnYIsq/_new  2018-03-22 12:10:05.050991297 +0100
@@ -17,6 +17,7 @@
 
 
 %define gst_branch 1.0
+
 Name:           gstreamer-plugins-vaapi
 Version:        1.12.4
 Release:        0
@@ -25,6 +26,7 @@
 Group:          Productivity/Multimedia/Other
 URL:            https://gstreamer.freedesktop.org/
 Source0:        
https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-%{version}.tar.xz
+
 # PATCH-FIX-UPSTREAM gst-vaapi-vaapipostproc-lock-ensure_filter.patch 
[email protected]
 Patch0:         gst-vaapi-vaapipostproc-lock-ensure_filter.patch
 # PATCH-FIX-UPSTREAM gst-vaapi-add-NULL-sentinel-to-kernel_names.patch 
[email protected]
@@ -35,6 +37,9 @@
 Patch3:         gst-vaapi-plugins-handle-vaapi-allocator.patch
 # PATCH-FIX-UPSTREAM gst-vaapi-vaapipostproc-set-discont-flag.patch 
[email protected]
 Patch4:         gst-vaapi-vaapipostproc-set-discont-flag.patch
+# PATCH-FIX-UPSTREAM gst-vaapi-vaapivideobufferpool-fix-regression.patch 
[email protected]
+Patch5:         gst-vaapi-vaapivideobufferpool-fix-regression.patch
+
 BuildRequires:  Mesa-devel
 BuildRequires:  Mesa-libGLESv3-devel
 BuildRequires:  gtk-doc

++++++ gst-vaapi-vaapivideobufferpool-fix-regression.patch ++++++
>From c00b35fe15ceb57936b61e9ef7d35cbcc474d12d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?=
 <[email protected]>
Date: Thu, 1 Mar 2018 17:44:07 -0600
Subject: vaapivideobufferpool: fix regression

The allocator in the config may be not VAAPI (videotestsrc, for
example) and it will not have a video info configuration.

https://bugzilla.gnome.org/show_bug.cgi?id=789476
---
 gst/vaapi/gstvaapivideobufferpool.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gst/vaapi/gstvaapivideobufferpool.c 
b/gst/vaapi/gstvaapivideobufferpool.c
index 73ebf82..c47b99e 100644
--- a/gst/vaapi/gstvaapivideobufferpool.c
+++ b/gst/vaapi/gstvaapivideobufferpool.c
@@ -171,7 +171,10 @@ gst_vaapi_video_buffer_pool_set_config (GstBufferPool * 
pool,
     if (allocator) {
       const GstVideoInfo *alloc_vinfo =
           gst_allocator_get_vaapi_video_info (allocator, &surface_alloc_flags);
-      vinfo_changed = gst_video_info_changed (alloc_vinfo, &new_vip);
+      if (!alloc_vinfo)
+        vinfo_changed = TRUE;
+      else
+        vinfo_changed = gst_video_info_changed (alloc_vinfo, &new_vip);
     }
 
     if (vinfo_changed && allocator && priv->use_dmabuf_memory) {
-- 
cgit v1.1


Reply via email to