summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2013-04-06 21:49:25 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2013-04-06 21:49:25 +0200
commit91b3890d70f153bf0692fd0c3158f8f9e0d9c60d (patch)
treebe3f43311586029d8ebf2ed45eba5eafcb147d9d /tools
parent1de3b0f9e834f18251fa25388ccd6496238121b3 (diff)
caps: Handle ANY caps features properly in more places
Diffstat (limited to 'tools')
-rw-r--r--tools/gst-inspect.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c
index 750fded49..ccde78533 100644
--- a/tools/gst-inspect.c
+++ b/tools/gst-inspect.c
@@ -83,9 +83,9 @@ print_caps (const GstCaps * caps, const gchar * pfx)
GstStructure *structure = gst_caps_get_structure (caps, i);
GstCapsFeatures *features = gst_caps_get_features (caps, i);
- if (features
- && !gst_caps_features_is_equal (features,
- GST_CAPS_FEATURES_MEMORY_SYSTEM_MEMORY)) {
+ if (features && (gst_caps_features_is_any (features) ||
+ !gst_caps_features_is_equal (features,
+ GST_CAPS_FEATURES_MEMORY_SYSTEM_MEMORY))) {
gchar *features_string = gst_caps_features_to_string (features);
n_print ("%s%s(%s)\n", pfx, gst_structure_get_name (structure),