rtspwms: Porting to 0.11

This commit is contained in:
Thiago Santos 2011-06-19 12:45:00 -03:00
parent 77106101fa
commit 6649f6cfa0

View file

@ -203,26 +203,16 @@ send_error:
static void gst_rtsp_wms_extension_init (gpointer g_iface, gpointer iface_data);
static void
_do_init (GType rtspwms_type)
{
static const GInterfaceInfo rtspextension_info = {
gst_rtsp_wms_extension_init,
NULL,
NULL
};
g_type_add_interface_static (rtspwms_type, GST_TYPE_RTSP_EXTENSION,
&rtspextension_info);
}
GST_BOILERPLATE_FULL (GstRTSPWMS, gst_rtsp_wms, GstElement, GST_TYPE_ELEMENT,
_do_init);
G_DEFINE_TYPE_WITH_CODE (GstRTSPWMS, gst_rtsp_wms, GST_TYPE_ELEMENT,
G_IMPLEMENT_INTERFACE (GST_TYPE_RTSP_EXTENSION,
gst_rtsp_wms_extension_init));
static void
gst_rtsp_wms_base_init (gpointer klass)
gst_rtsp_wms_class_init (GstRTSPWMSClass * g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
GST_DEBUG_CATEGORY_INIT (rtspwms_debug, "rtspwms", 0, "WMS RTSP extension");
gst_element_class_set_details_simple (element_class, "WMS RTSP Extension",
"Network/Extension/Protocol",
@ -231,13 +221,7 @@ gst_rtsp_wms_base_init (gpointer klass)
}
static void
gst_rtsp_wms_class_init (GstRTSPWMSClass * g_class)
{
GST_DEBUG_CATEGORY_INIT (rtspwms_debug, "rtspwms", 0, "WMS RTSP extension");
}
static void
gst_rtsp_wms_init (GstRTSPWMS * rtspwms, GstRTSPWMSClass * klass)
gst_rtsp_wms_init (GstRTSPWMS * rtspwms)
{
}