diff options
author | Benjamin Otte <otte@redhat.com> | 2010-03-18 17:30:26 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-03-18 22:46:41 +0100 |
commit | 775c7584fdad53053ae5b22bb19074cc6022ee98 (patch) | |
tree | 149c7daf4efd3ecaf17a179949e20b44347859ab /sys/cdrom | |
parent | 5258d372be503da09fa21fbde28afe619bc0cdc1 (diff) | |
download | gstreamer-plugins-bad-775c7584fdad53053ae5b22bb19074cc6022ee98.tar.gz |
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'sys/cdrom')
-rw-r--r-- | sys/cdrom/gstcdplayer.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/sys/cdrom/gstcdplayer.c b/sys/cdrom/gstcdplayer.c index a7debd24a..123517d07 100644 --- a/sys/cdrom/gstcdplayer.c +++ b/sys/cdrom/gstcdplayer.c @@ -58,14 +58,6 @@ static GstStateChangeReturn cdplayer_change_state (GstElement * element, static GstElementClass *parent_class; static guint cdplayer_signals[LAST_SIGNAL] = { 0 }; -static const GstElementDetails cdplayer_details = -GST_ELEMENT_DETAILS ("CD Player", - "Generic/Bin", - "Play CD audio through the CD Drive", - "Charles Schmidt <cbschmid@uiuc.edu>, " - "Wim Taymans <wim.taymans@chello.be>"); - - GType cdplayer_get_type (void) { @@ -97,8 +89,13 @@ cdplayer_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_details (element_class, &cdplayer_details); + gst_element_class_set_details_simple (element_class, "CD Player", + "Generic/Bin", + "Play CD audio through the CD Drive", + "Charles Schmidt <cbschmid@uiuc.edu>, " + "Wim Taymans <wim.taymans@chello.be>"); } + static void cdplayer_class_init (CDPlayerClass * klass) { |