[MOVED FROM BAD 30/68] gst_element_class_set_details => gst_element_class_set_details...
authorBenjamin Otte <otte@redhat.com>
Thu, 18 Mar 2010 16:30:26 +0000 (17:30 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 15 Jun 2011 14:12:54 +0000 (16:12 +0200)
gst/colorspace/gstcolorspace.c

index 59339bf..9c07644 100644 (file)
@@ -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 <wim.taymans@chello.be>");
-
 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 <wim.taymans@chello.be>");
 }
 
 static void