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

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