diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2009-03-19 11:50:26 -0300 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2013-01-09 14:30:11 +0000 |
commit | 35e57f99f09185b602a99e28f5cf5e169dbaf580 (patch) | |
tree | 0b8bc7c716a2713ccd0572f0215882092ab4d114 /sys/bluez/gstavdtpsink.c | |
parent | 1f8330784aec0970e22cbb2aee287a0b65f021af (diff) | |
download | gstreamer-plugins-bad-35e57f99f09185b602a99e28f5cf5e169dbaf580.tar.gz |
bluez: Add source and destination fields to audio ipc messages.
Diffstat (limited to 'sys/bluez/gstavdtpsink.c')
-rw-r--r-- | sys/bluez/gstavdtpsink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/bluez/gstavdtpsink.c b/sys/bluez/gstavdtpsink.c index 2e87e0eef..9016e75af 100644 --- a/sys/bluez/gstavdtpsink.c +++ b/sys/bluez/gstavdtpsink.c @@ -769,7 +769,7 @@ gst_avdtp_sink_get_capabilities (GstAvdtpSink * self) if (self->device == NULL) return FALSE; - strncpy (req->device, self->device, 18); + strncpy (req->destination, self->device, 18); if (self->autoconnect) req->flags |= BT_FLAG_AUTOCONNECT; @@ -1043,7 +1043,7 @@ gst_avdtp_sink_configure (GstAvdtpSink * self, GstCaps * caps) req->h.length = sizeof (*req); req->access_mode = BT_CAPABILITIES_ACCESS_MODE_WRITE; - strncpy (req->device, self->device, 18); + strncpy (req->destination, self->device, 18); structure = gst_caps_get_structure (caps, 0); if (gst_structure_has_name (structure, "audio/x-sbc")) |