caps: is_stricty_equal() returns TRUE when comparing "ANY" and "EMPTY"
The gst_caps_is_stricty_equal (caps1, caps2)
will return TRUE
when caps1
is an "ANY" caps and caps2
is an "EMPTY" caps, even though FALSE
would be the expected result. This is because both have the same 'zero' length (no structures), so the current algorithm doesn't distinguish between them.
I suggest adding in an additional test for the special "ANY" case.