Fix codec selection on gstream plugin.
diff --git a/audio/gstavdtpsink.c b/audio/gstavdtpsink.c
index bc25bd1..141a8af 100644
--- a/audio/gstavdtpsink.c
+++ b/audio/gstavdtpsink.c
@@ -1089,6 +1089,7 @@
 	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,