summaryrefslogtreecommitdiff
path: root/gst/freeze
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-18 17:30:26 +0100
committerBenjamin Otte <otte@redhat.com>2010-03-18 22:46:41 +0100
commit775c7584fdad53053ae5b22bb19074cc6022ee98 (patch)
tree149c7daf4efd3ecaf17a179949e20b44347859ab /gst/freeze
parent5258d372be503da09fa21fbde28afe619bc0cdc1 (diff)
downloadgstreamer-plugins-bad-775c7584fdad53053ae5b22bb19074cc6022ee98.tar.gz
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'gst/freeze')
-rw-r--r--gst/freeze/gstfreeze.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/gst/freeze/gstfreeze.c b/gst/freeze/gstfreeze.c
index d55498839..a721eab2b 100644
--- a/gst/freeze/gstfreeze.c
+++ b/gst/freeze/gstfreeze.c
@@ -46,14 +46,6 @@ enum
ARG_MAX_BUFFERS,
};
-
-static const GstElementDetails freeze_details =
-GST_ELEMENT_DETAILS ("Stream freezer",
- "Generic",
- "Makes a stream from buffers of data",
- "Gergely Nagy <gergely.nagy@neteyes.hu>,"
- " Renato Filho <renato.filho@indt.org.br>");
-
static GstStaticPadTemplate gst_freeze_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
@@ -92,7 +84,11 @@ gst_freeze_base_init (gpointer klass)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
- gst_element_class_set_details (element_class, &freeze_details);
+ gst_element_class_set_details_simple (element_class, "Stream freezer",
+ "Generic",
+ "Makes a stream from buffers of data",
+ "Gergely Nagy <gergely.nagy@neteyes.hu>,"
+ " Renato Filho <renato.filho@indt.org.br>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_freeze_sink_template));