summaryrefslogtreecommitdiff
path: root/ext/neon
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 /ext/neon
parent5258d372be503da09fa21fbde28afe619bc0cdc1 (diff)
downloadgstreamer-plugins-bad-775c7584fdad53053ae5b22bb19074cc6022ee98.tar.gz
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'ext/neon')
-rw-r--r--ext/neon/gstneonhttpsrc.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/ext/neon/gstneonhttpsrc.c b/ext/neon/gstneonhttpsrc.c
index 61eec9aec..fd704f85b 100644
--- a/ext/neon/gstneonhttpsrc.c
+++ b/ext/neon/gstneonhttpsrc.c
@@ -37,14 +37,6 @@ GST_DEBUG_CATEGORY_STATIC (neonhttpsrc_debug);
/* max number of HTTP redirects, when iterating over a sequence of HTTP 3xx status code */
#define MAX_HTTP_REDIRECTS_NUMBER 5
-static const GstElementDetails gst_neonhttp_src_details =
-GST_ELEMENT_DETAILS ("HTTP client source",
- "Source/Network",
- "Receive data as a client over the network via HTTP using NEON",
- "Edgard Lima <edgard.lima@indt.org.br>, "
- "Rosfran Borges <rosfran.borges@indt.org.br>, "
- "Andre Moreira Magalhaes <andre.magalhaes@indt.org.br>");
-
static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
@@ -140,7 +132,12 @@ gst_neonhttp_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_neonhttp_src_details);
+ gst_element_class_set_details_simple (element_class, "HTTP client source",
+ "Source/Network",
+ "Receive data as a client over the network via HTTP using NEON",
+ "Edgard Lima <edgard.lima@indt.org.br>, "
+ "Rosfran Borges <rosfran.borges@indt.org.br>, "
+ "Andre Moreira Magalhaes <andre.magalhaes@indt.org.br>");
}
static void