Hello community,
here is the log from the commit of package gstreamer-plugins-good for
openSUSE:Factory checked in at 2016-11-03 12:55:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gstreamer-plugins-good (Old)
and /work/SRC/openSUSE:Factory/.gstreamer-plugins-good.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gstreamer-plugins-good"
Changes:
--------
---
/work/SRC/openSUSE:Factory/gstreamer-plugins-good/gstreamer-plugins-good.changes
2016-09-07 11:41:46.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.gstreamer-plugins-good.new/gstreamer-plugins-good.changes
2016-11-03 12:55:52.000000000 +0100
@@ -1,0 +2,8 @@
+Tue Nov 1 15:28:35 UTC 2016 - [email protected]
+
+- Add gstreamer-plugins-good-wavparse.patch: Don't try to add
+ srcpad if we don't know valid caps yet. Otherwise we'll run into
+ an assertion on specially crafted files (bgo#773643,
+ boo#1007595).
+
+-------------------------------------------------------------------
New:
----
gstreamer-plugins-good-wavparse.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gstreamer-plugins-good.spec ++++++
--- /var/tmp/diff_new_pack.nwQNUb/_old 2016-11-03 12:55:53.000000000 +0100
+++ /var/tmp/diff_new_pack.nwQNUb/_new 2016-11-03 12:55:53.000000000 +0100
@@ -32,6 +32,8 @@
Source0:
http://gstreamer.freedesktop.org/src/gst-plugins-good/%{_name}-%{version}.tar.xz
Source1: gstreamer-plugins-good.appdata.xml
Source99: baselibs.conf
+# PATCH-FIX-UPSTREAM gstreamer-plugins-good-wavparse.patch bgo#773643
[email protected] -- Don't try to add srcpad if we don't know valid caps yet
+Patch0: gstreamer-plugins-good-wavparse.patch
%if 0%{?ENABLE_AALIB}
BuildRequires: aalib-devel
%endif
@@ -121,6 +123,7 @@
%prep
chmod 0644 %{S:0}
%setup -q -n %{_name}-%{version}
+%patch0 -p1
translation-update-upstream po gst-plugins-good-%{gst_branch}
%build
++++++ gstreamer-plugins-good-wavparse.patch ++++++
>From 9ba6fb86d8e63a83031824d25d633116e78b4c66 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <[email protected]>
Date: Mon, 31 Oct 2016 09:00:49 +0200
Subject: wavparse: Don't try to add srcpad if we don't know valid caps yet
Otherwise we'll run into an assertion on specially crafted files.
https://bugzilla.gnome.org/show_bug.cgi?id=773643
diff --git a/gst/wavparse/gstwavparse.c b/gst/wavparse/gstwavparse.c
index 6650d18..49bc03c 100644
--- a/gst/wavparse/gstwavparse.c
+++ b/gst/wavparse/gstwavparse.c
@@ -2216,7 +2216,7 @@ pause:
else if (wav->segment.rate < 0.0)
wav->segment.position = wav->segment.start;
}
- if (wav->state == GST_WAVPARSE_START) {
+ if (wav->state == GST_WAVPARSE_START || !wav->caps) {
GST_ELEMENT_ERROR (wav, STREAM, WRONG_TYPE, (NULL),
("No valid input found before end of stream"));
gst_pad_push_event (wav->srcpad, gst_event_new_eos ());
@@ -2427,7 +2427,7 @@ gst_wavparse_sink_event (GstPad * pad, GstObject *
parent, GstEvent * event)
break;
}
case GST_EVENT_EOS:
- if (wav->state == GST_WAVPARSE_START) {
+ if (wav->state == GST_WAVPARSE_START || !wav->caps) {
GST_ELEMENT_ERROR (wav, STREAM, WRONG_TYPE, (NULL),
("No valid input found before end of stream"));
} else {
--
cgit v0.10.2