diff options
Diffstat (limited to 'gst/videodrop/gstvideodrop.c')
-rw-r--r-- | gst/videodrop/gstvideodrop.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/gst/videodrop/gstvideodrop.c b/gst/videodrop/gstvideodrop.c index 9d6c33557..8cfc59633 100644 --- a/gst/videodrop/gstvideodrop.c +++ b/gst/videodrop/gstvideodrop.c @@ -24,13 +24,6 @@ #include <gstvideodrop.h> #include <gst/video/video.h> -/* elementfactory information */ -static const GstElementDetails videodrop_details = -GST_ELEMENT_DETAILS ("Frame dropper", - "Filter/Effect/Video", - "Re-FPS'es video by dropping frames", - "Ronald Bultje <rbultje@ronald.bitfreak.net>"); - /* GstVideodrop signals and args */ enum { @@ -108,13 +101,17 @@ gst_videodrop_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_details (element_class, &videodrop_details); + gst_element_class_set_details_simple (element_class, "Frame dropper", + "Filter/Effect/Video", + "Re-FPS'es video by dropping frames", + "Ronald Bultje <rbultje@ronald.bitfreak.net>"); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_videodrop_sink_template)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_videodrop_src_template)); } + static void gst_videodrop_class_init (GstVideodropClass * klass) { |