gst-libs/gst/pbutils/missing-plugins.c: When cleaning up the caps fields also remove "depth" for the same reason we r...

Original commit message from CVS:
* gst-libs/gst/pbutils/missing-plugins.c: (copy_and_clean_caps):
When cleaning up the caps fields also remove "depth" for the same
reason we remove "width".
This commit is contained in:
Sebastian Dröge 2008-08-15 07:24:38 +00:00
parent 87384c993d
commit 12bccedb68
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2008-08-15 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* gst-libs/gst/pbutils/missing-plugins.c: (copy_and_clean_caps):
When cleaning up the caps fields also remove "depth" for the same
reason we remove "width".
2008-08-14 Tim-Philipp Müller <tim.muller at collabora co uk>
* gst-libs/gst/pbutils/descriptions.c: (format_info_get_desc):

View file

@ -136,6 +136,7 @@ copy_and_clean_caps (const GstCaps * caps)
* 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) */
gst_structure_remove_field (s, "width");
gst_structure_remove_field (s, "depth");
gst_structure_remove_field (s, "height");
gst_structure_remove_field (s, "channels");
gst_structure_remove_field (s, "rate");