summaryrefslogtreecommitdiff
path: root/gst/nsf
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/nsf
parent5258d372be503da09fa21fbde28afe619bc0cdc1 (diff)
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'gst/nsf')
-rw-r--r--gst/nsf/gstnsf.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/gst/nsf/gstnsf.c b/gst/nsf/gstnsf.c
index 666aaf490..11e2a86ab 100644
--- a/gst/nsf/gstnsf.c
+++ b/gst/nsf/gstnsf.c
@@ -29,12 +29,6 @@
#define GST_CAT_DEFAULT nsfdec_debug
GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT);
-static const GstElementDetails gst_nsfdec_details =
-GST_ELEMENT_DETAILS ("Nsf decoder",
- "Codec/Decoder/Audio",
- "Using nosefart to decode NSF audio tunes",
- "Johan Dahlin <johan@gnome.org>");
-
/* Nsfdec signals and args */
enum
{
@@ -142,7 +136,10 @@ gst_nsfdec_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_set_details (element_class, &gst_nsfdec_details);
+ gst_element_class_set_details_simple (element_class, "Nsf decoder",
+ "Codec/Decoder/Audio",
+ "Using nosefart to decode NSF audio tunes",
+ "Johan Dahlin <johan@gnome.org>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_templ));