From 12bccedb686293072f34788b60d32a09649aba0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 15 Aug 2008 07:24:38 +0000 Subject: [PATCH] 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". --- ChangeLog | 6 ++++++ gst-libs/gst/pbutils/missing-plugins.c | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7243609ba9..36ba112084 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-08-15 Sebastian Dröge + + * 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 * gst-libs/gst/pbutils/descriptions.c: (format_info_get_desc): diff --git a/gst-libs/gst/pbutils/missing-plugins.c b/gst-libs/gst/pbutils/missing-plugins.c index 07603c4b06..cc02bbf666 100644 --- a/gst-libs/gst/pbutils/missing-plugins.c +++ b/gst-libs/gst/pbutils/missing-plugins.c @@ -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");