Hello community, here is the log from the commit of package gstreamer-plugins-vaapi for openSUSE:Factory checked in at 2018-03-06 10:46:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gstreamer-plugins-vaapi (Old) and /work/SRC/openSUSE:Factory/.gstreamer-plugins-vaapi.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gstreamer-plugins-vaapi" Tue Mar 6 10:46:52 2018 rev:23 rq:581652 version:1.12.4 Changes: -------- --- /work/SRC/openSUSE:Factory/gstreamer-plugins-vaapi/gstreamer-plugins-vaapi.changes 2018-02-13 10:32:44.665870527 +0100 +++ /work/SRC/openSUSE:Factory/.gstreamer-plugins-vaapi.new/gstreamer-plugins-vaapi.changes 2018-03-06 10:46:54.317113567 +0100 @@ -1,0 +2,14 @@ +Wed Feb 28 16:31:52 UTC 2018 - dims...@opensuse.org + +- Modernize spec-file by calling spec-cleaner. + +------------------------------------------------------------------- +Thu Feb 22 19:41:54 UTC 2018 - bjorn....@gmail.com + +- Add gst-vaapi-vaapipostproc-set-discont-flag.patch: + vaapipostproc: set discont flag at vpp deinterlacing. When + deinterlacing with VPP the discont flag was not forwarded to the + new created buffer. This patch sets the discont flag if input + buffer has it. + +------------------------------------------------------------------- New: ---- gst-vaapi-vaapipostproc-set-discont-flag.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gstreamer-plugins-vaapi.spec ++++++ --- /var/tmp/diff_new_pack.2vGY1P/_old 2018-03-06 10:46:54.877093338 +0100 +++ /var/tmp/diff_new_pack.2vGY1P/_new 2018-03-06 10:46:54.881093193 +0100 @@ -17,16 +17,14 @@ %define gst_branch 1.0 - Name: gstreamer-plugins-vaapi Version: 1.12.4 Release: 0 Summary: Gstreamer VA-API plugins -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: Productivity/Multimedia/Other -Url: https://gstreamer.freedesktop.org/ +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 bjorn....@gmail.com Patch0: gst-vaapi-vaapipostproc-lock-ensure_filter.patch # PATCH-FIX-UPSTREAM gst-vaapi-add-NULL-sentinel-to-kernel_names.patch bjorn....@gmail.com @@ -35,7 +33,8 @@ Patch2: gst-vaapi-vaapivideomemory-remove-unused-macro.patch # PATCH-FIX-UPSTREAM gst-vaapi-plugins-handle-vaapi-allocator.patch bjorn....@gmail.com Patch3: gst-vaapi-plugins-handle-vaapi-allocator.patch - +# PATCH-FIX-UPSTREAM gst-vaapi-vaapipostproc-set-discont-flag.patch bjorn....@gmail.com +Patch4: gst-vaapi-vaapipostproc-set-discont-flag.patch BuildRequires: Mesa-devel BuildRequires: Mesa-libGLESv3-devel BuildRequires: gtk-doc @@ -63,7 +62,7 @@ BuildRequires: pkgconfig(wayland-server) BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(xrender) -ExclusiveArch: %ix86 x86_64 +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. @@ -92,14 +91,14 @@ make %{?_smp_mflags} %install -%makeinstall -find %{buildroot}%{_libdir} -name '*.la' -delete -print +%make_install +find %{buildroot} -type f -name "*.la" -delete -print %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -%doc COPYING.LIB +%license COPYING.LIB %{_libdir}/gstreamer-%{gst_branch}/libgstvaapi.so %files doc ++++++ gst-vaapi-vaapipostproc-set-discont-flag.patch ++++++ >From 1328b3b51984010eaf2bc3631bc20270452187e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= <vjaq...@igalia.com> Date: Tue, 20 Feb 2018 09:15:05 -0600 Subject: vaapipostproc: set discont flag at vpp deinterlacing When deinterlacing with VPP the discont flag was not forwarded to the new created buffer. This patch sets the discont flag if input buffer has it. --- gst/vaapi/gstvaapipostproc.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gst/vaapi/gstvaapipostproc.c b/gst/vaapi/gstvaapipostproc.c index deaf23c..53888f5 100644 --- a/gst/vaapi/gstvaapipostproc.c +++ b/gst/vaapi/gstvaapipostproc.c @@ -617,7 +617,7 @@ gst_vaapipostproc_process_vpp (GstBaseTransform * trans, GstBuffer * inbuf, GstBuffer *fieldbuf; GstVaapiDeinterlaceMethod deint_method; guint flags, deint_flags; - gboolean tff, deint, deint_refs, deint_changed; + gboolean tff, deint, deint_refs, deint_changed, discont; const GstVideoCropMeta *crop_meta; GstVaapiRectangle *crop_rect = NULL; GstVaapiRectangle tmp_rect; @@ -641,6 +641,7 @@ gst_vaapipostproc_process_vpp (GstBaseTransform * trans, GstBuffer * inbuf, timestamp = GST_BUFFER_TIMESTAMP (inbuf); tff = GST_BUFFER_FLAG_IS_SET (inbuf, GST_VIDEO_BUFFER_FLAG_TFF); + discont = GST_BUFFER_FLAG_IS_SET (inbuf, GST_BUFFER_FLAG_DISCONT); deint = should_deinterlace_buffer (postproc, inbuf); /* Drop references if deinterlacing conditions changed */ @@ -723,6 +724,11 @@ gst_vaapipostproc_process_vpp (GstBaseTransform * trans, GstBuffer * inbuf, GST_BUFFER_TIMESTAMP (fieldbuf) = timestamp; GST_BUFFER_DURATION (fieldbuf) = postproc->field_duration; + if (discont) { + GST_BUFFER_FLAG_SET (fieldbuf, GST_BUFFER_FLAG_DISCONT); + discont = FALSE; + } + ret = gst_pad_push (trans->srcpad, fieldbuf); if (ret != GST_FLOW_OK) goto error_push_buffer; @@ -773,6 +779,10 @@ gst_vaapipostproc_process_vpp (GstBaseTransform * trans, GstBuffer * inbuf, else { GST_BUFFER_TIMESTAMP (outbuf) = timestamp + postproc->field_duration; GST_BUFFER_DURATION (outbuf) = postproc->field_duration; + if (discont) { + GST_BUFFER_FLAG_SET (fieldbuf, GST_BUFFER_FLAG_DISCONT); + discont = FALSE; + } } if (deint && deint_refs) -- cgit v1.1