From 775c7584fdad53053ae5b22bb19074cc6022ee98 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Thu, 18 Mar 2010 17:30:26 +0100 Subject: gst_element_class_set_details => gst_element_class_set_details_simple --- sys/cdrom/gstcdplayer.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'sys/cdrom') 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 , " - "Wim Taymans "); - - 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 , " + "Wim Taymans "); } + static void cdplayer_class_init (CDPlayerClass * klass) { -- cgit v1.2.1