summaryrefslogtreecommitdiff
path: root/ext/neon/gstneonhttpsrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/neon/gstneonhttpsrc.c')
-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