summaryrefslogtreecommitdiff
path: root/gst/dccp
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-18 17:30:26 +0100
committerBenjamin Otte <otte@redhat.com>2010-03-18 22:46:41 +0100
commit775c7584fdad53053ae5b22bb19074cc6022ee98 (patch)
tree149c7daf4efd3ecaf17a179949e20b44347859ab /gst/dccp
parent5258d372be503da09fa21fbde28afe619bc0cdc1 (diff)
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'gst/dccp')
-rw-r--r--gst/dccp/gstdccpclientsink.c11
-rw-r--r--gst/dccp/gstdccpclientsrc.c11
-rw-r--r--gst/dccp/gstdccpserversink.c12
-rw-r--r--gst/dccp/gstdccpserversrc.c11
4 files changed, 16 insertions, 29 deletions
diff --git a/gst/dccp/gstdccpclientsink.c b/gst/dccp/gstdccpclientsink.c
index 4c1fd50f0..ed7f462a9 100644
--- a/gst/dccp/gstdccpclientsink.c
+++ b/gst/dccp/gstdccpclientsink.c
@@ -76,12 +76,6 @@ static GstFlowReturn gst_dccp_client_sink_render (GstBaseSink * bsink,
GST_DEBUG_CATEGORY_STATIC (dccpclientsink_debug);
-static const GstElementDetails gst_dccp_client_sink_details =
-GST_ELEMENT_DETAILS ("DCCP client sink",
- "Sink/Network",
- "Send data as a client over the network via DCCP",
- "E-Phone Team at Federal University of Campina Grande <leandroal@gmail.com>");
-
static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
@@ -237,7 +231,10 @@ gst_dccp_client_sink_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sinktemplate));
- gst_element_class_set_details (element_class, &gst_dccp_client_sink_details);
+ gst_element_class_set_details_simple (element_class, "DCCP client sink",
+ "Sink/Network",
+ "Send data as a client over the network via DCCP",
+ "E-Phone Team at Federal University of Campina Grande <leandroal@gmail.com>");
}
static void
diff --git a/gst/dccp/gstdccpclientsrc.c b/gst/dccp/gstdccpclientsrc.c
index 4cb33e7c7..a07d5e59d 100644
--- a/gst/dccp/gstdccpclientsrc.c
+++ b/gst/dccp/gstdccpclientsrc.c
@@ -81,12 +81,6 @@ static gboolean gst_dccp_client_src_stop (GstBaseSrc * bsrc);
GST_DEBUG_CATEGORY_STATIC (dccpclientsrc_debug);
-static const GstElementDetails gst_dccp_client_src_details =
-GST_ELEMENT_DETAILS ("DCCP client source",
- "Source/Network",
- "Receive data as a client over the network via DCCP",
- "E-Phone Team at Federal University of Campina Grande <leandroal@gmail.com>");
-
static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
@@ -281,7 +275,10 @@ gst_dccp_client_src_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&srctemplate));
- gst_element_class_set_details (element_class, &gst_dccp_client_src_details);
+ gst_element_class_set_details_simple (element_class, "DCCP client source",
+ "Source/Network",
+ "Receive data as a client over the network via DCCP",
+ "E-Phone Team at Federal University of Campina Grande <leandroal@gmail.com>");
}
static void
diff --git a/gst/dccp/gstdccpserversink.c b/gst/dccp/gstdccpserversink.c
index e8f8a04f5..23282b1eb 100644
--- a/gst/dccp/gstdccpserversink.c
+++ b/gst/dccp/gstdccpserversink.c
@@ -78,13 +78,6 @@ static gboolean gst_dccp_server_sink_stop (GstBaseSink * bsink);
GST_DEBUG_CATEGORY_STATIC (dccpserversink_debug);
-static const GstElementDetails gst_dccp_server_sink_details =
-GST_ELEMENT_DETAILS ("DCCP server sink",
- "Sink/Network",
- "Send data as a server over the network via DCCP",
- "E-Phone Team at Federal University of Campina Grande <leandroal@gmail.com>");
-
-
static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
@@ -337,7 +330,10 @@ gst_dccp_server_sink_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sinktemplate));
- gst_element_class_set_details (element_class, &gst_dccp_server_sink_details);
+ gst_element_class_set_details_simple (element_class, "DCCP server sink",
+ "Sink/Network",
+ "Send data as a server over the network via DCCP",
+ "E-Phone Team at Federal University of Campina Grande <leandroal@gmail.com>");
}
/*
diff --git a/gst/dccp/gstdccpserversrc.c b/gst/dccp/gstdccpserversrc.c
index 4c344e422..16cd38241 100644
--- a/gst/dccp/gstdccpserversrc.c
+++ b/gst/dccp/gstdccpserversrc.c
@@ -76,12 +76,6 @@ static gboolean gst_dccp_server_src_stop (GstBaseSrc * bsrc);
GST_DEBUG_CATEGORY_STATIC (dccpserversrc_debug);
-static const GstElementDetails gst_dccp_server_src_details =
-GST_ELEMENT_DETAILS ("DCCP server source",
- "Source/Network",
- "Receive data as a server over the network via DCCP",
- "E-Phone Team at Federal University of Campina Grande <leandroal@gmail.com>");
-
static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
@@ -271,7 +265,10 @@ gst_dccp_server_src_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&srctemplate));
- gst_element_class_set_details (element_class, &gst_dccp_server_src_details);
+ gst_element_class_set_details_simple (element_class, "DCCP server source",
+ "Source/Network",
+ "Receive data as a server over the network via DCCP",
+ "E-Phone Team at Federal University of Campina Grande <leandroal@gmail.com>");
}