gstreamer1-plugins-base/0001-missing-plugins-Remove-the-mpegaudioversion-field.patch

31 lines
1.1 KiB
Diff
Raw Normal View History

From d4e6ecc9799b05e20cd36ea6c5392380fb7f8cc2 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
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