The probe that installs the buffer probe is already on the correct pad. There is no need for a separate function to install the probe. While at it, change the signature of the probe functions to GstPadProbeCallback to avoid the cast when installing the probes. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4994>