From: Benjamin Otte Date: Thu, 18 Mar 2010 16:30:26 +0000 (+0100) Subject: [MOVED FROM BAD 30/68] gst_element_class_set_details => gst_element_class_set_details... X-Git-Tag: RELEASE-0.11.0~150 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0125cb55b9d8cae31deeefd544ec995c7a94f8a6;p=platform%2Fupstream%2Fgst-plugins-base.git [MOVED FROM BAD 30/68] gst_element_class_set_details => gst_element_class_set_details_simple --- diff --git a/gst/colorspace/gstcolorspace.c b/gst/colorspace/gstcolorspace.c index 59339bf..9c07644 100644 --- a/gst/colorspace/gstcolorspace.c +++ b/gst/colorspace/gstcolorspace.c @@ -44,12 +44,6 @@ static GstColorspaceConverter gst_colorspace_converters[] = { {GST_COLORSPACE_YV12, GST_COLORSPACE_RGB16, gst_colorspace_YV12_to_rgb16}, }; -static const GstElementDetails colorspace_details = -GST_ELEMENT_DETAILS ("Colorspace converter", - "Filter/Converter/Video", - "Converts video from YUV to RGB", - "Wim Taymans "); - static GstStaticPadTemplate gst_colorspace_sink_template = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, @@ -490,7 +484,9 @@ gst_colorspace_base_init (gpointer g_class) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_colorspace_sink_template)); - gst_element_class_set_details (element_class, &colorspace_details); + gst_element_class_set_details_simple (element_class, "Colorspace converter", + "Filter/Converter/Video", + "Converts video from YUV to RGB", "Wim Taymans "); } static void