From cd523804603893bd3e1407de873803761f727caf Mon Sep 17 00:00:00 2001 From: Brian Pepple Date: Fri, 12 Jul 2013 09:56:30 -0400 Subject: [PATCH] Update to 1.1.2. Drop contrast/brightness video playback patch. Fixed upstream. --- .gitignore | 1 + ...-translated-color-balance-value-to-c.patch | 52 ------------------- gstreamer1-plugins-base.spec | 10 ++-- sources | 2 +- 4 files changed, 8 insertions(+), 57 deletions(-) delete mode 100644 0001-gstplaysink-pass-translated-color-balance-value-to-c.patch diff --git a/.gitignore b/.gitignore index c3f21b1..96139d4 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /gst-plugins-base-1.0.5.tar.xz /gst-plugins-base-1.0.6.tar.xz /gst-plugins-base-1.0.7.tar.xz +/gst-plugins-base-1.1.2.tar.xz diff --git a/0001-gstplaysink-pass-translated-color-balance-value-to-c.patch b/0001-gstplaysink-pass-translated-color-balance-value-to-c.patch deleted file mode 100644 index a236750..0000000 --- a/0001-gstplaysink-pass-translated-color-balance-value-to-c.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 2731012d832b593c54a50492a27d328f2de9b596 Mon Sep 17 00:00:00 2001 -From: Daniel Drake -Date: Wed, 29 May 2013 10:33:48 -0600 -Subject: [PATCH] gstplaysink: pass translated color balance value to channel -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -We found a case where untranslated values were being passed from the -proxy to the underlying channel, causing bad color balance values -in some setups. - -Thanks to Sebastian Dröge for clarifying how the code works, and -suggesting the fix. - -Fixes https://bugzilla.gnome.org/show_bug.cgi?id=701202 ---- - gst/playback/gstplaysink.c | 13 ++++++++++++- - 1 file changed, 12 insertions(+), 1 deletion(-) - -Index: gst-plugins-base-1.0.7/gst/playback/gstplaysink.c -=================================================================== ---- gst-plugins-base-1.0.7.orig/gst/playback/gstplaysink.c -+++ gst-plugins-base-1.0.7/gst/playback/gstplaysink.c -@@ -1540,6 +1540,7 @@ update_colorbalance (GstPlaySink * plays - GstColorBalanceChannel *proxy = l->data; - GstColorBalanceChannel *channel = NULL; - const GList *channels, *k; -+ gdouble new_val; - - channels = gst_color_balance_list_channels (balance); - for (k = channels; k; k = k->next) { -@@ -1553,8 +1554,18 @@ update_colorbalance (GstPlaySink * plays - - g_assert (channel); - -+ /* Convert to [0, 1] range */ -+ new_val = -+ ((gdouble) playsink->colorbalance_values[i] - -+ (gdouble) proxy->min_value) / ((gdouble) proxy->max_value - -+ (gdouble) proxy->min_value); -+ /* Convert to channel range */ -+ new_val = -+ channel->min_value + new_val * ((gdouble) channel->max_value - -+ (gdouble) channel->min_value); -+ - gst_color_balance_set_value (balance, channel, -- playsink->colorbalance_values[i]); -+ (gint) (new_val + 0.5)); - } - - g_signal_handlers_unblock_by_func (balance, diff --git a/gstreamer1-plugins-base.spec b/gstreamer1-plugins-base.spec index c908ab3..f18b9d9 100644 --- a/gstreamer1-plugins-base.spec +++ b/gstreamer1-plugins-base.spec @@ -1,15 +1,14 @@ %global majorminor 1.0 Name: gstreamer1-plugins-base -Version: 1.0.7 -Release: 2%{?dist} +Version: 1.1.2 +Release: 1%{?dist} Summary: GStreamer streaming media framework base plugins License: LGPLv2+ URL: http://gstreamer.freedesktop.org/ Source0: http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-%{version}.tar.xz Patch0: 0001-missing-plugins-Remove-the-mpegaudioversion-field.patch -Patch1: 0001-gstplaysink-pass-translated-color-balance-value-to-c.patch BuildRequires: gstreamer1-devel >= %{version} BuildRequires: gobject-introspection-devel >= 1.31.1 @@ -88,7 +87,6 @@ for the GStreamer Base Plugins library. %prep %setup -q -n gst-plugins-base-%{version} %patch0 -p1 -%patch1 -p1 %build @@ -333,6 +331,10 @@ chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gst-discoverer-1.0 %changelog +* Fri Jul 12 2013 Brian Pepple - 1.1.2-1 +- Update to 1.1.2. +- Drop contrast/brightness video playback patch. Fixed upstream. + * Wed May 29 2013 Daniel Drake - 1.0.7-2 - Upstream patch to fix contrast/brightness in video playback diff --git a/sources b/sources index 0607d8d..0cd73b6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b5b43cfbf82b413ce2e07a190d87e68f gst-plugins-base-1.0.7.tar.xz +537221efe121fd583004e60e49414c0d gst-plugins-base-1.1.2.tar.xz