From c1a32ecf46aeb5207f3939043109b384d46e3a25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 6 Apr 2008 17:19:39 +0000 Subject: [PATCH] gst-libs/gst/pbutils/missing-plugins.c: Remove some more fields. Original commit message from CVS: * gst-libs/gst/pbutils/missing-plugins.c: (copy_and_clean_caps): Remove some more fields. --- ChangeLog | 5 +++++ gst-libs/gst/pbutils/missing-plugins.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 04fda8eb45..a7367f67c3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-04-06 Tim-Philipp Müller + + * gst-libs/gst/pbutils/missing-plugins.c: (copy_and_clean_caps): + Remove some more fields. + 2008-04-06 Sebastian Dröge Patch by: Damien Lespiau diff --git a/gst-libs/gst/pbutils/missing-plugins.c b/gst-libs/gst/pbutils/missing-plugins.c index 6b7693eda3..07603c4b06 100644 --- a/gst-libs/gst/pbutils/missing-plugins.c +++ b/gst-libs/gst/pbutils/missing-plugins.c @@ -130,6 +130,8 @@ copy_and_clean_caps (const GstCaps * caps) gst_structure_remove_field (s, "framerate"); gst_structure_remove_field (s, "leaf_size"); gst_structure_remove_field (s, "packet_size"); + gst_structure_remove_field (s, "block_align"); + gst_structure_remove_field (s, "metadata-interval"); /* icy caps */ /* decoders/encoders almost always handle the usual width/height/channel/rate * range (and if we don't remove this then the app will have a much harder * time blacklisting formats it has unsuccessfully tried to install before) */ @@ -147,6 +149,7 @@ copy_and_clean_caps (const GstCaps * caps) gst_structure_remove_field (s, "npt-stop"); gst_structure_remove_field (s, "play-speed"); gst_structure_remove_field (s, "play-scale"); + gst_structure_remove_field (s, "dynamic_range"); return ret; }