From 428b8f34570d89878b243a78cf4a222aec6e9807 Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Wed, 12 Jun 2019 10:12:14 +0200 Subject: [PATCH] avdtpsrc: Honour initial transport volume setting before connection We make the binding go from the avdtpsrc to the transport, so that any initial setting before a connection made is used. --- sys/bluez/gstavdtputil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/bluez/gstavdtputil.c b/sys/bluez/gstavdtputil.c index 3e58e12..3a11bd2 100644 --- a/sys/bluez/gstavdtputil.c +++ b/sys/bluez/gstavdtputil.c @@ -724,9 +724,9 @@ gst_avdtp_connection_get_caps (GstAvdtpConnection * conn) void gst_avdtp_connection_notify_volume (GstAvdtpConnection * conn, - GObject * target, const gchar * property) + GObject * source, const gchar * property) { - g_object_bind_property (conn->data.conn, "volume", target, property, + g_object_bind_property (source, property, conn->data.conn, "volume", G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE); } -- 2.7.4