Deprecate gst_pad_has_current_caps()
Similar to #603 (closed) this easily leads to racy code:
if (gst_pad_has_current_caps(pad)) {
GstCaps *caps = gst_pad_get_current_caps(pad);
// assume caps are not NULL
}
Right now I can't think of any valid use-case of gst_pad_has_current_caps()
.