Backport of "pulsedeviceprovider: fix incorrect usage of GST_ELEMENT_ERROR" into 1.22
requested to merge tpm/gstreamer:mr-5349-backport-into-1.22-topic-pulseprovider-element-error into 1.22
Backport of !5349 (merged) "pulsedeviceprovider: fix incorrect usage of GST_ELEMENT_ERROR".
Commits:
- 4b891639 pulsedeviceprovider: fix incorrect usage of GST_ELEMENT_ERROR