We can't actually configure the transport, so we should only be working
with whatever we get.
g_free (mode);
}
- if (!gst_avdtp_sink_set_device_caps (self->sink, caps))
- return FALSE;
-
g_object_set (self->rtp, "mtu",
gst_avdtp_sink_get_link_mtu (self->sink), NULL);
return gst_caps_copy (sink->dev_caps);
}
-gboolean
-gst_avdtp_sink_set_device_caps (GstAvdtpSink * self, GstCaps * caps)
-{
- GST_DEBUG_OBJECT (self, "setting device caps");
- GST_AVDTP_SINK_MUTEX_LOCK (self);
-
- if (self->stream_caps)
- gst_caps_unref (self->stream_caps);
- self->stream_caps = gst_caps_ref (caps);
-
- GST_AVDTP_SINK_MUTEX_UNLOCK (self);
-
- return TRUE;
-}
-
guint
gst_avdtp_sink_get_link_mtu (GstAvdtpSink * sink)
{
GType gst_avdtp_sink_get_type (void);
GstCaps *gst_avdtp_sink_get_device_caps (GstAvdtpSink * sink);
-gboolean gst_avdtp_sink_set_device_caps (GstAvdtpSink * sink, GstCaps * caps);
guint gst_avdtp_sink_get_link_mtu (GstAvdtpSink * sink);