unsupported_transmode:
{
GST_DEBUG ("unsupported transport mode %d", transport->trans);
+ g_mutex_unlock (&priv->lock);
return FALSE;
}
unsupported_profile:
{
GST_DEBUG ("unsupported profile %d", transport->profile);
+ g_mutex_unlock (&priv->lock);
return FALSE;
}
unsupported_ltrans:
{
GST_DEBUG ("unsupported lower transport %d", transport->lower_transport);
+ g_mutex_unlock (&priv->lock);
return FALSE;
}
}
was_not_joined:
{
+ g_mutex_unlock (&priv->lock);
return TRUE;
}
}
*
* @stream must be joined to a bin.
*
- * Returns: the RTP socket or %NULL if no socket could be allocated for @family.
- * Unref after usage
+ * Returns: (transfer full): the RTP socket or %NULL if no socket could be
+ * allocated for @family. Unref after usage
*/
GSocket *
gst_rtsp_stream_get_rtp_socket (GstRTSPStream * stream, GSocketFamily family)
*
* @stream must be joined to a bin.
*
- * Returns: the RTCP socket or %NULL if no socket could be allocated for
- * @family. Unref after usage
+ * Returns: (transfer full): the RTCP socket or %NULL if no socket could be
+ * allocated for @family. Unref after usage
*/
GSocket *
gst_rtsp_stream_get_rtcp_socket (GstRTSPStream * stream, GSocketFamily family)