g_object_class_install_properties (gobject_class, NUM_PROPERTIES, properties);
}
+#if defined(SCTP_DEBUG) && !defined(GST_DISABLE_GST_DEBUG)
#define USRSCTP_GST_DEBUG_LEVEL GST_LEVEL_DEBUG
static void
gst_usrsctp_debug (const gchar * format, ...)
__FILE__, GST_FUNCTION, __LINE__, NULL, format, varargs);
va_end (varargs);
}
+#endif
static void
gst_sctp_association_init (GstSctpAssociation * self)
{
/* No need to lock mutex here as long as the function is only called from gst_sctp_association_get */
if (number_of_associations == 0) {
+#if defined(SCTP_DEBUG) && !defined(GST_DISABLE_GST_DEBUG)
usrsctp_init (0, sctp_packet_out, gst_usrsctp_debug);
+#else
+ usrsctp_init (0, sctp_packet_out, NULL);
+#endif
/* Explicit Congestion Notification */
usrsctp_sysctl_set_sctp_ecn_enable (0);