mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 05:16:13 +00:00
bluez: Fix codec selection on gstream plugin.
This commit is contained in:
parent
b167c2bbd3
commit
81eb2b020f
1 changed files with 1 additions and 0 deletions
|
@ -1073,6 +1073,7 @@ gst_avdtp_sink_configure (GstAvdtpSink * self, GstCaps * caps)
|
||||||
req->h.type = BT_REQUEST;
|
req->h.type = BT_REQUEST;
|
||||||
req->h.name = BT_SET_CONFIGURATION;
|
req->h.name = BT_SET_CONFIGURATION;
|
||||||
req->h.length = sizeof (*req);
|
req->h.length = sizeof (*req);
|
||||||
|
memcpy (&req->codec, codec, sizeof (req->codec));
|
||||||
|
|
||||||
if (codec->type == BT_A2DP_SBC_SINK)
|
if (codec->type == BT_A2DP_SBC_SINK)
|
||||||
ret = gst_avdtp_sink_init_sbc_pkt_conf (self, caps, (void *) &req->codec);
|
ret = gst_avdtp_sink_init_sbc_pkt_conf (self, caps, (void *) &req->codec);
|
||||||
|
|
Loading…
Reference in a new issue