From e847d7061ad1307f03a2e9c759f2f87a58b48692 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Mon, 16 Jun 2014 16:40:10 +0200 Subject: [PATCH] validate: pad-monitor: Do not compare not fixed sinkpad caps fields We are only able to check that the sink pad caps values are inside the src pad value. --- validate/gst/validate/gst-validate-pad-monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validate/gst/validate/gst-validate-pad-monitor.c b/validate/gst/validate/gst-validate-pad-monitor.c index 9a5cc0abad..0dc5a4b0b4 100644 --- a/validate/gst/validate/gst-validate-pad-monitor.c +++ b/validate/gst/validate/gst-validate-pad-monitor.c @@ -367,7 +367,7 @@ _structures_field_is_contained (GstStructure * s1, GstStructure * s2, if (!v1) return !mandatory; - if (!gst_value_is_fixed (v1) && !gst_value_is_fixed (v2)) + if (!gst_value_is_fixed (v1)) return TRUE; if (gst_value_compare (v1, v2) == GST_VALUE_EQUAL)