summaryrefslogtreecommitdiff
path: root/gst/debugutils/gstcapssetter.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/debugutils/gstcapssetter.c')
-rw-r--r--gst/debugutils/gstcapssetter.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/gst/debugutils/gstcapssetter.c b/gst/debugutils/gstcapssetter.c
index 12077c0de..9489268ce 100644
--- a/gst/debugutils/gstcapssetter.c
+++ b/gst/debugutils/gstcapssetter.c
@@ -83,12 +83,6 @@ enum
#define DEFAULT_JOIN TRUE
#define DEFAULT_REPLACE FALSE
-static GstElementDetails caps_setter_details =
-GST_ELEMENT_DETAILS ("CapsSetter",
- "Generic",
- "Set/merge caps on stream",
- "Mark Nauwelaerts <mnauw@users.sourceforge.net>");
-
static GstStaticPadTemplate gst_caps_setter_src_template =
GST_STATIC_PAD_TEMPLATE (GST_BASE_TRANSFORM_SRC_NAME,
GST_PAD_SRC,
@@ -125,7 +119,10 @@ gst_caps_setter_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_set_details (element_class, &caps_setter_details);
+ gst_element_class_set_details_simple (element_class, "CapsSetter",
+ "Generic",
+ "Set/merge caps on stream",
+ "Mark Nauwelaerts <mnauw@users.sourceforge.net>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_caps_setter_sink_template));