[gstreamer-plugins-base] add a patch for GNOME #652342 (upstream)

Adam Williamson adamwill at fedoraproject.org
Tue Aug 30 00:35:41 UTC 2011


commit 3ba9ba009c5200054deae253d8534ead76dfd697
Author: Adam Williamson <awilliam at redhat.com>
Date:   Mon Aug 29 17:35:09 2011 -0700

    add a patch for GNOME #652342 (upstream)

 gst-plugins-base-0.10.35-profiles.patch |   29 +++++++++++++++++++++++++++++
 gstreamer-plugins-base.spec             |    8 +++++++-
 2 files changed, 36 insertions(+), 1 deletions(-)
---
diff --git a/gst-plugins-base-0.10.35-profiles.patch b/gst-plugins-base-0.10.35-profiles.patch
new file mode 100644
index 0000000..b92c2c6
--- /dev/null
+++ b/gst-plugins-base-0.10.35-profiles.patch
@@ -0,0 +1,29 @@
+From 4073e00839d0a30f8e0e3bb80ae96cac619a73d0 Mon Sep 17 00:00:00 2001
+From: Jonathan Matthew <jonathan at d14n.org>
+Date: Sat, 11 Jun 2011 09:03:57 +0000
+Subject: encoding-target: set names on audio and video profiles
+
+https://bugzilla.gnome.org/show_bug.cgi?id=652342
+---
+diff --git a/gst-libs/gst/pbutils/encoding-target.c b/gst-libs/gst/pbutils/encoding-target.c
+index 29e67d0..f3002b7 100644
+--- a/gst-libs/gst/pbutils/encoding-target.c
++++ b/gst-libs/gst/pbutils/encoding-target.c
+@@ -642,10 +642,14 @@ parse_encoding_profile (GKeyFile * in, gchar * parentprofilename,
+             *) sprof, variableframerate);
+     gst_encoding_video_profile_set_pass ((GstEncodingVideoProfile *) sprof,
+         pass);
++    gst_encoding_profile_set_name (sprof, pname);
++    gst_encoding_profile_set_description (sprof, description);
+   } else if (!g_strcmp0 (proftype, "audio")) {
+     sprof =
+         (GstEncodingProfile *) gst_encoding_audio_profile_new (formatcaps,
+         preset, restrictioncaps, presence);
++    gst_encoding_profile_set_name (sprof, pname);
++    gst_encoding_profile_set_description (sprof, description);
+   } else
+     GST_ERROR ("Unknown profile format '%s'", proftype);
+ 
+--
+cgit v0.9.0.2-2-gbebe
+
diff --git a/gstreamer-plugins-base.spec b/gstreamer-plugins-base.spec
index 9074bde..426fca5 100644
--- a/gstreamer-plugins-base.spec
+++ b/gstreamer-plugins-base.spec
@@ -4,7 +4,7 @@
 
 Name:           %{gstreamer}-plugins-base
 Version:        %{gstreamer_version}
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        GStreamer streaming media framework base plug-ins
 
 Group:          Applications/Multimedia
@@ -12,6 +12,8 @@ License:        LGPLv2+
 URL:            http://gstreamer.freedesktop.org/
 #Source:         http://gstreamer.freedesktop.org/src/gst-plugins-base/pre/gst-plugins-base-%{version}.tar.bz2
 Source:         http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-%{version}.tar.xz
+# https://bugzilla.gnome.org/show_bug.cgi?id=652342 - fixes RB CD rip
+Patch0:         gst-plugins-base-0.10.35-profiles.patch
 
 Requires:       %{gstreamer} >= %{gstreamer_version}
 Requires:       iso-codes
@@ -53,6 +55,7 @@ This package contains a set of well-maintained base plug-ins.
 
 %prep
 %setup -q -n gst-plugins-base-%{version}
+%patch0 -p1 -b .profiles
 
 %build
 %configure \
@@ -313,6 +316,9 @@ library.
 %doc %{_datadir}/gtk-doc/html/gst-plugins-base-plugins-%{majorminor}
 
 %changelog
+* Mon Aug 29 2011 Adam Williamson <awilliam at redhat.com> - 0.10.35-3
+- backport a fix for GNOME #652342, fixing Rhythmbox CD rip to FLAC
+
 * Thu Jul 21 2011 Michael Schwendt <mschwendt at fedoraproject.org> - 0.10.35-2
 - Remove gtk-doc dependency from -devel-docs package and 
   own the two gtk-doc directories instead (#604365).


More information about the scm-commits mailing list