diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2015-03-16 17:49:58 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2015-03-16 17:51:20 +0000 |
commit | 9f06d36d95b5bd37a0732d3e131bd816577f4cca (patch) | |
tree | 07a796316f13dcb33964f36b5fbe5846b2f8ecc5 /ext/dtls/gstdtlsconnection.c | |
parent | 86a889883ea3e9ea088b26bae71bd9bb98f5a04e (diff) | |
download | gstreamer-plugins-bad-9f06d36d95b5bd37a0732d3e131bd816577f4cca.tar.gz |
dtls: make sure we actually log into the right debug category
GST_DTLS_USE_GST_LOG is not defined anywhere, so
we'd just log into the default category by accident.
We use the gst logging system unconditionally now,
so might just as well remove this #if #else.
Diffstat (limited to 'ext/dtls/gstdtlsconnection.c')
-rw-r--r-- | ext/dtls/gstdtlsconnection.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ext/dtls/gstdtlsconnection.c b/ext/dtls/gstdtlsconnection.c index ffa93394f..c84e9f20a 100644 --- a/ext/dtls/gstdtlsconnection.c +++ b/ext/dtls/gstdtlsconnection.c @@ -42,15 +42,11 @@ #include <openssl/err.h> #include <openssl/ssl.h> -#if GST_DTLS_USE_GST_LOG GST_DEBUG_CATEGORY_STATIC (gst_dtls_connection_debug); -# define GST_CAT_DEFAULT gst_dtls_connection_debug +#define GST_CAT_DEFAULT gst_dtls_connection_debug G_DEFINE_TYPE_WITH_CODE (GstDtlsConnection, gst_dtls_connection, G_TYPE_OBJECT, GST_DEBUG_CATEGORY_INIT (gst_dtls_connection_debug, "dtlsconnection", 0, "DTLS Connection")); -#else -G_DEFINE_TYPE (GstDtlsConnection, gst_dtls_connection, G_TYPE_OBJECT); -#endif #define GST_DTLS_CONNECTION_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE((obj), GST_TYPE_DTLS_CONNECTION, GstDtlsConnectionPrivate)) |