diff --git a/0001-missing-plugins-Remove-the-mpegaudioversion-field.patch b/0001-missing-plugins-Remove-the-mpegaudioversion-field.patch new file mode 100644 index 0000000..4a92322 --- /dev/null +++ b/0001-missing-plugins-Remove-the-mpegaudioversion-field.patch @@ -0,0 +1,30 @@ +From d4e6ecc9799b05e20cd36ea6c5392380fb7f8cc2 Mon Sep 17 00:00:00 2001 +From: Bastien Nocera +Date: Fri, 3 Aug 2012 17:50:24 +0100 +Subject: [PATCH] missing-plugins: Remove the mpegaudioversion field + +From missing plugins requests as it's a duplicate of mpegversion +and its presence would break codec discovery when using RPM. + +https://bugzilla.redhat.com/show_bug.cgi?id=680809 +--- + gst-libs/gst/pbutils/missing-plugins.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/gst-libs/gst/pbutils/missing-plugins.c b/gst-libs/gst/pbutils/missing-plugins.c +index 1b6d44b..6b343c5 100644 +--- a/gst-libs/gst/pbutils/missing-plugins.c ++++ b/gst-libs/gst/pbutils/missing-plugins.c +@@ -152,6 +152,9 @@ copy_and_clean_caps (const GstCaps * caps) + gst_structure_remove_field (s, "play-speed"); + gst_structure_remove_field (s, "play-scale"); + gst_structure_remove_field (s, "dynamic_range"); ++ /* mpegaudioversion is a duplicate for mpegversion ++ * https://bugzilla.redhat.com/show_bug.cgi?id=680809 */ ++ gst_structure_remove_field (s, "mpegaudioversion"); + + return ret; + } +-- +1.7.10.2 + diff --git a/gstreamer1-plugins-base.spec b/gstreamer1-plugins-base.spec index af177dd..78d914e 100644 --- a/gstreamer1-plugins-base.spec +++ b/gstreamer1-plugins-base.spec @@ -2,12 +2,13 @@ Name: gstreamer1-plugins-base Version: 1.0.5 -Release: 1%{?dist} +Release: 2%{?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 BuildRequires: gstreamer1-devel >= %{version} BuildRequires: gobject-introspection-devel >= 1.31.1 @@ -87,6 +88,7 @@ for the GStreamer Base Plugins library. %prep %setup -q -n gst-plugins-base-%{version} +%patch0 -p1 %build @@ -331,6 +333,9 @@ chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gst-discoverer-1.0 %changelog +* Fri Jan 18 2013 Brian Pepple - 1.0.5-2 +- Add patch to fix missing mp3 codec discovery. (#680809, #896018) + * Tue Jan 8 2013 Brian Pepple - 1.0.5-1 - Update to 1.0.5.