Hello community,
here is the log from the commit of package gstreamer-plugins-ugly for
openSUSE:Factory checked in at 2020-01-12 23:16:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gstreamer-plugins-ugly (Old)
and /work/SRC/openSUSE:Factory/.gstreamer-plugins-ugly.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gstreamer-plugins-ugly"
Sun Jan 12 23:16:19 2020 rev:59 rq:761778 version:1.16.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/gstreamer-plugins-ugly/gstreamer-plugins-ugly.changes
2019-12-11 12:09:19.684634279 +0100
+++
/work/SRC/openSUSE:Factory/.gstreamer-plugins-ugly.new.6675/gstreamer-plugins-ugly.changes
2020-01-12 23:16:39.490644684 +0100
@@ -1,0 +2,7 @@
+Mon Dec 23 19:06:50 UTC 2019 - Bjørn Lie <[email protected]>
+
+- Add gst-ugly-x264enc-fixes.patch: x264enc: corrected em_data
+ value. Patch from upstream git.
+- Drop no longer needed conditional libtool BuildRequires.
+
+-------------------------------------------------------------------
New:
----
gst-ugly-x264enc-fixes.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gstreamer-plugins-ugly.spec ++++++
--- /var/tmp/diff_new_pack.v3a3a1/_old 2020-01-12 23:16:41.198645316 +0100
+++ /var/tmp/diff_new_pack.v3a3a1/_new 2020-01-12 23:16:41.218645323 +0100
@@ -35,6 +35,9 @@
URL: http://gstreamer.freedesktop.org/
Source:
https://gstreamer.freedesktop.org/src/gst-plugins-ugly/%{_name}-%{version}.tar.xz
Source99: baselibs.conf
+# PATCH-FIX-UPSTREAM gst-ugly-x264enc-fixes.patch -- x264enc: corrected
em_data value
+Patch0: gst-ugly-x264enc-fixes.patch
+
BuildRequires: gcc-c++
BuildRequires: gtk-doc >= 1.12
BuildRequires: liba52-devel
@@ -42,9 +45,6 @@
BuildRequires: libdvdread-devel
%if %{use_meson}
BuildRequires: meson >= 0.47.0
-%else
-# Needed for patches 0 and 1
-BuildRequires: libtool
%endif
BuildRequires: orc >= 0.4.16
BuildRequires: pkgconfig
@@ -120,7 +120,7 @@
%lang_package
%prep
-%setup -q -n %{_name}-%{version}
+%autosetup -p1 -n %{_name}-%{version}
%build
export PYTHON=%{_bindir}/python3
++++++ gst-ugly-x264enc-fixes.patch ++++++
>From a76c19a3c9f0736087b67fdca44902708c1c083a Mon Sep 17 00:00:00 2001
From: Dmitry Shusharin <[email protected]>
Date: Sat, 14 Dec 2019 17:15:21 +0700
Subject: [PATCH] x264enc: corrected em_data value in CEA-708 CC SEI message
(fixes #28)
Section 4.4 of CEA-708-D specification (table 2) requires all bits to be
set inside em_data field. h264parse element (and possible third-party
decoders such as libav) also follows this requirement.
https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/issues/28
---
ext/x264/gstx264enc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ext/x264/gstx264enc.c b/ext/x264/gstx264enc.c
index f313b211..ee275dc8 100644
--- a/ext/x264/gstx264enc.c
+++ b/ext/x264/gstx264enc.c
@@ -2413,7 +2413,7 @@ gst_x264_enc_add_cc (GstBuffer * buffer, x264_picture_t *
pic_in)
*/
pic_in->extra_sei.payloads[i].payload[8] =
((cc_meta->size / 3) & 0x1f) | 0x40;
- pic_in->extra_sei.payloads[i].payload[9] = 0; /* 8 bits em_data,
unused */
+ pic_in->extra_sei.payloads[i].payload[9] = 255; /* 8 bits em_data,
unused */
pic_in->extra_sei.payloads[i].payload[cc_meta->size + 10] = 255; /* 8
marker bits */
}
}
--
2.24.1
>From fcddd6e184e4cae1876affe62449aa68fb7e2c8d Mon Sep 17 00:00:00 2001
From: Dmitry Shusharin <[email protected]>
Date: Sat, 14 Dec 2019 18:49:54 +0700
Subject: [PATCH] x264enc: fixed codestyle
---
ext/x264/gstx264enc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ext/x264/gstx264enc.c b/ext/x264/gstx264enc.c
index ee275dc8..79bbe009 100644
--- a/ext/x264/gstx264enc.c
+++ b/ext/x264/gstx264enc.c
@@ -2413,7 +2413,7 @@ gst_x264_enc_add_cc (GstBuffer * buffer, x264_picture_t *
pic_in)
*/
pic_in->extra_sei.payloads[i].payload[8] =
((cc_meta->size / 3) & 0x1f) | 0x40;
- pic_in->extra_sei.payloads[i].payload[9] = 255; /* 8 bits em_data,
unused */
+ pic_in->extra_sei.payloads[i].payload[9] = 255; /* 8 bits em_data,
unused */
pic_in->extra_sei.payloads[i].payload[cc_meta->size + 10] = 255; /* 8
marker bits */
}
}
--
2.24.1