mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
dtls: Properly name encoder/decoder logging categories
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2820>
This commit is contained in:
parent
7c3f73ec2e
commit
10eaae1243
2 changed files with 4 additions and 3 deletions
|
@ -62,7 +62,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_dtls_srtp_dec_debug);
|
|||
#define gst_dtls_srtp_dec_parent_class parent_class
|
||||
G_DEFINE_TYPE_WITH_CODE (GstDtlsSrtpDec, gst_dtls_srtp_dec,
|
||||
GST_TYPE_DTLS_SRTP_BIN, GST_DEBUG_CATEGORY_INIT (gst_dtls_srtp_dec_debug,
|
||||
"dtlssrtpdec", 0, "DTLS Decoder"));
|
||||
"dtlssrtpdec", 0, "DTLS-SRTP Decoder"));
|
||||
GST_ELEMENT_REGISTER_DEFINE_WITH_CODE (dtlssrtpdec, "dtlssrtpdec",
|
||||
GST_RANK_NONE, GST_TYPE_DTLS_SRTP_DEC, dtls_element_init (plugin));
|
||||
|
||||
|
|
|
@ -63,8 +63,9 @@ GST_DEBUG_CATEGORY_STATIC (gst_dtls_srtp_enc_debug);
|
|||
|
||||
#define gst_dtls_srtp_enc_parent_class parent_class
|
||||
G_DEFINE_TYPE_WITH_CODE (GstDtlsSrtpEnc, gst_dtls_srtp_enc,
|
||||
GST_TYPE_DTLS_SRTP_BIN, GST_DEBUG_CATEGORY_INIT (gst_dtls_srtp_enc_debug,
|
||||
"dtlssrtpenc", 0, "DTLS Decoder"));
|
||||
GST_TYPE_DTLS_SRTP_BIN,
|
||||
GST_DEBUG_CATEGORY_INIT (gst_dtls_srtp_enc_debug,
|
||||
"dtlssrtpenc", 0, "DTLS-SRTP Encoder"));
|
||||
GST_ELEMENT_REGISTER_DEFINE_WITH_CODE (dtlssrtpenc, "dtlssrtpenc",
|
||||
GST_RANK_NONE, GST_TYPE_DTLS_SRTP_ENC, dtls_element_init (plugin));
|
||||
|
||||
|
|
Loading…
Reference in a new issue