Ohterwise when user set a wrong device, the warning message doesn't get printed if user doesn't set a right debug level in the environment, this behavior might mislead user that the wrong device is being used. This fixed https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1567 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2138>