mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
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.
This commit is contained in:
parent
c13b53d221
commit
428b8f3457
1 changed files with 2 additions and 2 deletions
|
@ -724,9 +724,9 @@ gst_avdtp_connection_get_caps (GstAvdtpConnection * conn)
|
||||||
|
|
||||||
void
|
void
|
||||||
gst_avdtp_connection_notify_volume (GstAvdtpConnection * conn,
|
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);
|
G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue