summaryrefslogtreecommitdiff
path: root/sys/fbdev/gstfbdevsink.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fbdev/gstfbdevsink.c')
-rw-r--r--sys/fbdev/gstfbdevsink.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/sys/fbdev/gstfbdevsink.c b/sys/fbdev/gstfbdevsink.c
index 6975f55db..989d48f15 100644
--- a/sys/fbdev/gstfbdevsink.c
+++ b/sys/fbdev/gstfbdevsink.c
@@ -39,13 +39,6 @@
#include "gstfbdevsink.h"
-/* elementfactory information */
-static const GstElementDetails gst_fbdevsink_details =
-GST_ELEMENT_DETAILS ("fbdev video sink",
- "Sink/Video",
- "A linux framebuffer videosink",
- "Sean D'Epagnier <sean@depagnier.com>");
-
enum
{
ARG_0,
@@ -97,7 +90,9 @@ gst_fbdevsink_base_init (gpointer g_class)
GST_STATIC_CAPS (GST_FBDEV_TEMPLATE_CAPS)
);
- gst_element_class_set_details (element_class, &gst_fbdevsink_details);
+ gst_element_class_set_details_simple (element_class, "fbdev video sink",
+ "Sink/Video",
+ "A linux framebuffer videosink", "Sean D'Epagnier <sean@depagnier.com>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_template));
}