Previously one of the branches did not check for the property value. To avoid this in the future, check inside the QoS calculation function instead. As a side effect this now always prints the debug messages into the logs when samples are dropped, which is useful information even without the QoS messages. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1224>