commit gstreamer-plugins-vaapi for openSUSE:Factory
Hello community, here is the log from the commit of package gstreamer-plugins-vaapi for openSUSE:Factory checked in at 2019-06-30 14:40:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gstreamer-plugins-vaapi (Old) and /work/SRC/openSUSE:Factory/.gstreamer-plugins-vaapi.new.4615 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gstreamer-plugins-vaapi" Sun Jun 30 14:40:52 2019 rev:34 rq:712294 version:1.16.0 Changes: -------- --- /work/SRC/openSUSE:Factory/gstreamer-plugins-vaapi/gstreamer-plugins-vaapi.changes 2019-06-14 20:24:42.850794803 +0200 +++ /work/SRC/openSUSE:Factory/.gstreamer-plugins-vaapi.new.4615/gstreamer-plugins-vaapi.changes 2019-06-30 14:40:53.739935231 +0200 @@ -1,0 +2,55 @@ +Thu Jun 27 23:43:02 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com> + +- Add gst-vaapi-fix-garbled-screen-totem.patch: Fix garbled video + in totem. +- Add missing pkgconfig(wayland-protocols) BuildRequires for + wayland support. +- Drop conditionals for no longer supported versions of openSUSE. + +------------------------------------------------------------------- +Wed Jun 19 13:17:00 UTC 2019 - mgorse@suse.com + +- Update to version 1.16.0: + + Highlights + - GStreamer WebRTC stack gained support for data channels for + peer-to-peer communication based on SCTP, BUNDLE support, as + well as support for multiple TURN servers. + - AV1 video codec support for Matroska and QuickTime/MP4 + containers and more configuration options and supported + input formats for the AOMedia AV1 encoder + - Support for Closed Captions and other Ancillary Data in video + - Support for planar (non-interleaved) raw audio + - GstVideoAggregator, compositor and OpenGL mixer elements are + now in -base + - New alternate fields interlace mode where each buffer carries + a single field + - WebM and Matroska ContentEncryption support in the Matroska + demuxer + - new WebKit WPE-based web browser source element + - Video4Linux: HEVC encoding and decoding, JPEG encoding, and + improved dmabuf import/export + - Hardware-accelerated Nvidia video decoder gained support for + VP8/VP9 decoding, whilst the encoder gained support for + H.265/HEVC encoding. + - Many improvements to the Intel Media SDK based + hardware-accelerated video decoder and encoder plugin (msdk): + dmabuf import/export for zero-copy integration with other + components; VP9 decoding; 10-bit HEVC encoding; video + post-processing (vpp) support including deinterlacing; and + the video decoder now handles dynamic resolution changes. + - The ASS/SSA subtitle overlay renderer can now handle multiple + subtitles that overlap in time and will show them on screen + simultaneously + - The Meson build is now feature-complete (*) and it is now the + recommended build system on all platforms. The Autotools + build is scheduled to be removed in the next cycle. + - The GStreamer Rust bindings and Rust plugins module are now + officially part of upstream GStreamer. + - The GStreamer Editing Services gained a gesdemux element that + allows directly playing back serialized edit list with + playbin or (uri)decodebin + - Many performance improvements +- Add support for meson, but disable for now, since plugin docs + are not built. + +------------------------------------------------------------------- Old: ---- gstreamer-vaapi-1.14.5.tar.xz New: ---- gst-vaapi-fix-garbled-screen-totem.patch gstreamer-vaapi-1.16.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gstreamer-plugins-vaapi.spec ++++++ --- /var/tmp/diff_new_pack.9QLEzE/_old 2019-06-30 14:40:55.103937546 +0200 +++ /var/tmp/diff_new_pack.9QLEzE/_new 2019-06-30 14:40:55.107937554 +0200 @@ -17,18 +17,25 @@ %define gst_branch 1.0 +# Disable for now, since plugin docs are not being built +%define use_meson 0 Name: gstreamer-plugins-vaapi -Version: 1.14.5 +Version: 1.16.0 Release: 0 Summary: Gstreamer VA-API plugins License: LGPL-2.1-or-later 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-fix-garbled-screen-totem.patch -- Fix garbled video in totem +Patch0: gst-vaapi-fix-garbled-screen-totem.patch BuildRequires: Mesa-devel BuildRequires: Mesa-libGLESv3-devel BuildRequires: gtk-doc +%if %{use_meson} +BuildRequires: meson >= 0.47.0 +%endif BuildRequires: pkgconfig BuildRequires: yasm BuildRequires: pkgconfig(egl) @@ -45,17 +52,16 @@ BuildRequires: pkgconfig(vpx) BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(xrender) -ExclusiveArch: %{ix86} x86_64 -%if 0%{?suse_version} >= 1500 BuildRequires: vaapi-wayland-tools BuildRequires: pkgconfig(libva-glx) BuildRequires: pkgconfig(libva-wayland) BuildRequires: pkgconfig(wayland-client) >= 1.0.2 BuildRequires: pkgconfig(wayland-cursor) BuildRequires: pkgconfig(wayland-egl) +BuildRequires: pkgconfig(wayland-protocols) >= 1.15 BuildRequires: pkgconfig(wayland-scanner) BuildRequires: pkgconfig(wayland-server) -%endif +ExclusiveArch: %{ix86} x86_64 %description gstreamer-vaapi is a collection of GStreamer plugins and helper libraries that allow hardware accelerated video decoding through VA-API. @@ -72,21 +78,36 @@ %autosetup -n gstreamer-vaapi-%{version} -p1 %build +%if %{use_meson} +%{meson} \ + -Dwith_egl=yes \ + -Dwith_encoders=yes \ + -Dwith_drm=yes \ + -Dwith_glx=yes \ + -Dwith_wayland=yes \ + -Dwith_x11=yes \ + -Dexamples=disabled \ + %{nil} +%{meson_build} +%else %configure \ --disable-static \ --enable-egl \ --enable-encoders \ --enable-drm \ --enable-glx \ -%if 0%{?suse_version} >= 1500 --enable-wayland \ -%endif --enable-x11 \ %{nil} make %{?_smp_mflags} +%endif %install +%if %{use_meson} +%{meson_install} +%else %make_install +%endif find %{buildroot} -type f -name "*.la" -delete -print %post -p /sbin/ldconfig ++++++ gst-vaapi-fix-garbled-screen-totem.patch ++++++
From 838045b9e2d3b14e4dc95270ba8e86025f5cf3f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= <vjaquez@igalia.com> Date: Thu, 2 May 2019 16:00:57 +0200 Subject: [PATCH] vaapipostproc: don't do any color conversion when GL_TEXTURE_UPLOAD
https://bugzilla.gnome.org/show_bug.cgi?id=748184 has resurrected with commit 3e992d8a Since gst_vaapi_find_preferred_caps_feature() returns a color format from caps negotiation, different from the default one (NV12), the postproc enables the color transformation. But when GL_TEXTURE_UPLOAD feature is negotiated, no color transformation shall be done. Nonetheless, with commit 3e992d8a the requested format changes firstly, because there's no video sink yet, so ANY caps are negotiated; but later, when there's a video sink and a caps renegotiation, the GL_TEXTURE_UPLOAD is negotiated though the color format conversion still ongoing. It is required to reset that conversion. This patch force default color format when GL_TEXTURE_UPLOAD is selected as preferred, thus avoiding the color conversion. Fixes: #157 --- gst/vaapi/gstvaapipostprocutil.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gst/vaapi/gstvaapipostprocutil.c b/gst/vaapi/gstvaapipostprocutil.c index 1cdc5c49..2b34196b 100644 --- a/gst/vaapi/gstvaapipostprocutil.c +++ b/gst/vaapi/gstvaapipostprocutil.c @@ -709,9 +709,11 @@ _get_preferred_caps (GstVaapiPostproc * postproc, GstVideoInfo * vinfo, /* we don't need to do format conversion if GL_TEXTURE_UPLOAD_META * is negotiated */ - if (f != GST_VAAPI_CAPS_FEATURE_GL_TEXTURE_UPLOAD_META - && postproc->format != format) + if (f == GST_VAAPI_CAPS_FEATURE_GL_TEXTURE_UPLOAD_META) { + postproc->format = DEFAULT_FORMAT; + } else if (postproc->format != format) { postproc->format = format; + } return outcaps; -- 2.21.0 ++++++ gstreamer-vaapi-1.14.5.tar.xz -> gstreamer-vaapi-1.16.0.tar.xz ++++++ ++++ 27397 lines of diff (skipped)
participants (1)
-
root