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/debugutils/gstcapssetter.c | |
parent | 5258d372be503da09fa21fbde28afe619bc0cdc1 (diff) |
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'gst/debugutils/gstcapssetter.c')
-rw-r--r-- | gst/debugutils/gstcapssetter.c | 11 |
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)); |