Facilitates debug logs interpretation of GST_DEBUG_OBJECT() calls.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2820>
GstDtlsCertificate *certificate;
};
-G_DEFINE_TYPE_WITH_PRIVATE (GstDtlsAgent, gst_dtls_agent, G_TYPE_OBJECT);
+G_DEFINE_TYPE_WITH_PRIVATE (GstDtlsAgent, gst_dtls_agent, GST_TYPE_OBJECT);
static void gst_dtls_agent_finalize (GObject * gobject);
static void gst_dtls_agent_set_property (GObject *, guint prop_id,
#include "gstdtlscertificate.h"
-#include <glib-object.h>
+#include <gst/gst.h>
G_BEGIN_DECLS
* GstDtlsAgent needs to be constructed with the "certificate" property set.
*/
struct _GstDtlsAgent {
- GObject parent_instance;
+ GstObject parent_instance;
GstDtlsAgentPrivate *priv;
};
struct _GstDtlsAgentClass {
- GObjectClass parent_class;
+ GstObjectClass parent_class;
};
GType gst_dtls_agent_get_type(void) G_GNUC_CONST;
GThreadPool *thread_pool;
};
-G_DEFINE_TYPE_WITH_CODE (GstDtlsConnection, gst_dtls_connection, G_TYPE_OBJECT,
- G_ADD_PRIVATE (GstDtlsConnection)
+G_DEFINE_TYPE_WITH_CODE (GstDtlsConnection, gst_dtls_connection,
+ GST_TYPE_OBJECT, G_ADD_PRIVATE (GstDtlsConnection)
GST_DEBUG_CATEGORY_INIT (gst_dtls_connection_debug, "dtlsconnection", 0,
"DTLS Connection"));
* Once the DTLS handshake is completed, on-encoder-key and on-decoder-key will be signalled.
*/
struct _GstDtlsConnection {
- GObject parent_instance;
+ GstObject parent_instance;
GstDtlsConnectionPrivate *priv;
};
struct _GstDtlsConnectionClass {
- GObjectClass parent_class;
+ GstObjectClass parent_class;
};
GType gst_dtls_connection_get_type(void) G_GNUC_CONST;