diff --git a/gst/rtsp-server/rtsp-context.c b/gst/rtsp-server/rtsp-context.c index 817207dbf4..919ca2dc53 100644 --- a/gst/rtsp-server/rtsp-context.c +++ b/gst/rtsp-server/rtsp-context.c @@ -26,10 +26,12 @@ #include "rtsp-context.h" +G_DEFINE_POINTER_TYPE (GstRTSPContext, gst_rtsp_context); + static GPrivate current_context; /** - * gst_rtsp_context_get_current: (skip) + * gst_rtsp_context_get_current: * * Get the current #GstRTSPContext. This object is retrieved from the * current thread that is handling the request for a client. diff --git a/gst/rtsp-server/rtsp-context.h b/gst/rtsp-server/rtsp-context.h index 60ff030f67..a43563fce0 100644 --- a/gst/rtsp-server/rtsp-context.h +++ b/gst/rtsp-server/rtsp-context.h @@ -71,6 +71,8 @@ struct _GstRTSPContext { GstRTSPMessage *response; }; +GType gst_rtsp_context_get_type (void); + GstRTSPContext * gst_rtsp_context_get_current (void); void gst_rtsp_context_push_current (GstRTSPContext * ctx); void gst_rtsp_context_pop_current (GstRTSPContext * ctx);