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 /gst/smooth | |
parent | 5258d372be503da09fa21fbde28afe619bc0cdc1 (diff) |
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'gst/smooth')
-rw-r--r-- | gst/smooth/gstsmooth.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/gst/smooth/gstsmooth.c b/gst/smooth/gstsmooth.c index b1af76a69..a4bd43af1 100644 --- a/gst/smooth/gstsmooth.c +++ b/gst/smooth/gstsmooth.c @@ -24,14 +24,6 @@ #include "gstsmooth.h" #include <gst/video/video.h> -/* elementfactory information */ -static const GstElementDetails smooth_details = -GST_ELEMENT_DETAILS ("Smooth effect", - "Filter/Effect/Video", - "Apply a smooth filter to an image", - "Wim Taymans <wim.taymans@chello.be>"); - - /* Smooth signals and args */ enum { @@ -114,7 +106,10 @@ gst_smooth_base_init (GstSmoothClass * klass) gst_static_pad_template_get (&gst_smooth_sink_template)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_smooth_src_template)); - gst_element_class_set_details (element_class, &smooth_details); + gst_element_class_set_details_simple (element_class, "Smooth effect", + "Filter/Effect/Video", + "Apply a smooth filter to an image", + "Wim Taymans <wim.taymans@chello.be>"); } static void |