bluetooth: ldac: Fix missing check for RTP LDAC payloader element
authorSanchayan Maity <sanchayan@asymptotic.io>
Wed, 19 May 2021 08:07:37 +0000 (13:37 +0530)
committerSanchayan Maity <sanchayan@asymptotic.io>
Wed, 19 May 2021 12:39:43 +0000 (18:09 +0530)
commit8dbe5f7ad45541a138e35289923aaee8d3c164d3
tree67010a0c45592a2bbc3d95cc2581afd87326079b
parentedae28e9b58cb4cf9bb147c55d1839856c51315d
bluetooth: ldac: Fix missing check for RTP LDAC payloader element

While at it, improve the error message to include the name of the
element which was not found.

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/560>
src/modules/bluetooth/a2dp-codec-ldac-gst.c