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