summaryrefslogtreecommitdiff
path: root/ext/shout
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/shout
parent5258d372be503da09fa21fbde28afe619bc0cdc1 (diff)
downloadgstreamer-plugins-bad-775c7584fdad53053ae5b22bb19074cc6022ee98.tar.gz
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'ext/shout')
-rw-r--r--ext/shout/gstshout.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/ext/shout/gstshout.c b/ext/shout/gstshout.c
index 1fbbc0987..4e81b3961 100644
--- a/ext/shout/gstshout.c
+++ b/ext/shout/gstshout.c
@@ -22,13 +22,6 @@
#endif
#include "gstshout.h"
-/* elementfactory information */
-static const GstElementDetails icecastsend_details =
-GST_ELEMENT_DETAILS ("Icecast network sink",
- "Sink/Network",
- "Sends data to an icecast server using libshout",
- "Wim Taymans <wim.taymans@chello.be>");
-
static char *SHOUT_ERRORS[] = {
"ok",
"insane",
@@ -119,7 +112,10 @@ gst_icecastsend_base_init (GstIcecastSendClass * klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_template_factory));
- gst_element_class_set_details (element_class, &icecastsend_details);
+ gst_element_class_set_details_simple (element_class, "Icecast network sink",
+ "Sink/Network",
+ "Sends data to an icecast server using libshout",
+ "Wim Taymans <wim.taymans@chello.be>");
}
static void