gstreamer1-plugins-base/0001-missing-plugins-Remove-the-mpegaudioversion-field.patch
Petr Šabata 9e13d0feca RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/gstreamer1-plugins-base#c5004da7333b7267f02d916db770d9cb20ea2e30
2020-10-15 12:07:36 +02:00

31 lines
1.1 KiB
Diff

From 06ca82cad9898f5df40011fe0614ee1dfd89f1ae Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Fri, 3 Aug 2012 17:50:24 +0100
Subject: [PATCH 1/2] 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 a08803b18..cdce4bf05 100644
--- a/gst-libs/gst/pbutils/missing-plugins.c
+++ b/gst-libs/gst/pbutils/missing-plugins.c
@@ -151,6 +151,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;
}
--
2.14.3