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.
This commit is contained in:
Thibault Saunier 2014-06-16 16:40:10 +02:00
parent 93d9032712
commit e847d7061a

View file

@ -367,7 +367,7 @@ _structures_field_is_contained (GstStructure * s1, GstStructure * s2,
if (!v1) if (!v1)
return !mandatory; return !mandatory;
if (!gst_value_is_fixed (v1) && !gst_value_is_fixed (v2)) if (!gst_value_is_fixed (v1))
return TRUE; return TRUE;
if (gst_value_compare (v1, v2) == GST_VALUE_EQUAL) if (gst_value_compare (v1, v2) == GST_VALUE_EQUAL)