gst-libs/gst/pbutils/missing-plugins.c: Remove some more fields.
authorTim-Philipp Müller <tim@centricular.net>
Sun, 6 Apr 2008 17:19:39 +0000 (17:19 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Sun, 6 Apr 2008 17:19:39 +0000 (17:19 +0000)
Original commit message from CVS:
* gst-libs/gst/pbutils/missing-plugins.c: (copy_and_clean_caps):
Remove some more fields.

ChangeLog
gst-libs/gst/pbutils/missing-plugins.c

index 04fda8e..a7367f6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-04-06  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * gst-libs/gst/pbutils/missing-plugins.c: (copy_and_clean_caps):
+         Remove some more fields.
+
 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
 
        Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
index 6b7693e..07603c4 100644 (file)
@@ -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;
 }