mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 20:42:30 +00:00
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.
This commit is contained in:
parent
a6398b79c4
commit
c1a32ecf46
2 changed files with 8 additions and 0 deletions
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue