summaryrefslogtreecommitdiff
path: root/ext/lcs
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 /ext/lcs
parent5258d372be503da09fa21fbde28afe619bc0cdc1 (diff)
downloadgstreamer-plugins-bad-775c7584fdad53053ae5b22bb19074cc6022ee98.tar.gz
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'ext/lcs')
-rw-r--r--ext/lcs/gstcolorspace.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/ext/lcs/gstcolorspace.c b/ext/lcs/gstcolorspace.c
index cdf8cb83e..5b4479c14 100644
--- a/ext/lcs/gstcolorspace.c
+++ b/ext/lcs/gstcolorspace.c
@@ -58,14 +58,6 @@ struct _GstColorspaceClass
GstElementClass parent_class;
};
-/* elementfactory information */
-static const GstElementDetails colorspace_details =
-GST_ELEMENT_DETAILS ("Colorspace converter",
- "Filter/Effect",
- "Converts video from one colorspace to another",
- "Wim Taymans <wim.taymans@chello.be>");
-
-
/* Stereo signals and args */
enum
{
@@ -346,7 +338,10 @@ gst_colorspace_base_init (GstColorspaceClass * klass)
gst_static_pad_template_get (&gst_colorspace_src_template));
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/Effect",
+ "Converts video from one colorspace to another",
+ "Wim Taymans <wim.taymans@chello.be>");
}
static void