bluez: Fix codec selection on gstream plugin.

This commit is contained in:
Luiz Augusto von Dentz 2009-10-05 22:51:14 +02:00 committed by Tim-Philipp Müller
parent b167c2bbd3
commit 81eb2b020f

View file

@ -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);