check : gstpad: useless check ?
This is related to the query pad function here : https://gitlab.freedesktop.org/gstreamer/gstreamer/-/blob/master/tests/check/gst/gstpad.c#L341
I'm not sure what the intent is/was. But essentially that
GST_QUERY_CAPS handling has no effect:
- Currently it will passthrough and therefore the result will be overriden. Remove that case/function altogether has the same effect.
- Adding a break in that case causes the tests to fail
What was the intent of this ?