mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +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.name = BT_SET_CONFIGURATION;
|
||||
req->h.length = sizeof (*req);
|
||||
memcpy (&req->codec, codec, sizeof (req->codec));
|
||||
|
||||
if (codec->type == BT_A2DP_SBC_SINK)
|
||||
ret = gst_avdtp_sink_init_sbc_pkt_conf (self, caps, (void *) &req->codec);
|
||||
|
|
Loading…
Reference in a new issue