Blame SOURCES/0001-missing-plugins-Remove-the-mpegaudioversion-field.patch

16c940
From d4e6ecc9799b05e20cd36ea6c5392380fb7f8cc2 Mon Sep 17 00:00:00 2001
16c940
From: Bastien Nocera <hadess@hadess.net>
16c940
Date: Fri, 3 Aug 2012 17:50:24 +0100
16c940
Subject: [PATCH] missing-plugins: Remove the mpegaudioversion field
16c940
16c940
From missing plugins requests as it's a duplicate of mpegversion
16c940
and its presence would break codec discovery when using RPM.
16c940
16c940
https://bugzilla.redhat.com/show_bug.cgi?id=680809
16c940
---
16c940
 gst-libs/gst/pbutils/missing-plugins.c |    3 +++
16c940
 1 file changed, 3 insertions(+)
16c940
16c940
diff --git a/gst-libs/gst/pbutils/missing-plugins.c b/gst-libs/gst/pbutils/missing-plugins.c
16c940
index 1b6d44b..6b343c5 100644
16c940
--- a/gst-libs/gst/pbutils/missing-plugins.c
16c940
+++ b/gst-libs/gst/pbutils/missing-plugins.c
16c940
@@ -152,6 +152,9 @@ copy_and_clean_caps (const GstCaps * caps)
16c940
   gst_structure_remove_field (s, "play-speed");
16c940
   gst_structure_remove_field (s, "play-scale");
16c940
   gst_structure_remove_field (s, "dynamic_range");
16c940
+  /* mpegaudioversion is a duplicate for mpegversion
16c940
+   * https://bugzilla.redhat.com/show_bug.cgi?id=680809 */
16c940
+  gst_structure_remove_field (s, "mpegaudioversion");
16c940
 
16c940
   return ret;
16c940
 }
16c940
-- 
16c940
1.7.10.2
16c940