summaryrefslogtreecommitdiff
path: root/gst/hdvparse
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/hdvparse
parent5258d372be503da09fa21fbde28afe619bc0cdc1 (diff)
downloadgstreamer-plugins-bad-775c7584fdad53053ae5b22bb19074cc6022ee98.tar.gz
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'gst/hdvparse')
-rw-r--r--gst/hdvparse/gsthdvparse.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/gst/hdvparse/gsthdvparse.c b/gst/hdvparse/gsthdvparse.c
index 03b77747d..9a610f7cb 100644
--- a/gst/hdvparse/gsthdvparse.c
+++ b/gst/hdvparse/gsthdvparse.c
@@ -113,19 +113,16 @@ static GstCaps *gst_hdvparse_transform_caps (GstBaseTransform * trans,
static void
gst_hdvparse_base_init (gpointer klass)
{
- static GstElementDetails element_details = {
- "HDVParser",
- "Data/Parser",
- "HDV private stream Parser",
- "Edward Hervey <bilboed@bilboed.com>"
- };
+
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_template));
- gst_element_class_set_details (element_class, &element_details);
+ gst_element_class_set_details_simple (element_class, "HDVParser",
+ "Data/Parser",
+ "HDV private stream Parser", "Edward Hervey <bilboed@bilboed.com>");
}
/* initialize the HDVParse's class */