summaryrefslogtreecommitdiff
path: root/gst/pcapparse
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/pcapparse
parent5258d372be503da09fa21fbde28afe619bc0cdc1 (diff)
downloadgstreamer-plugins-bad-775c7584fdad53053ae5b22bb19074cc6022ee98.tar.gz
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'gst/pcapparse')
-rw-r--r--gst/pcapparse/gstpcapparse.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/gst/pcapparse/gstpcapparse.c b/gst/pcapparse/gstpcapparse.c
index 6e2021269..96ab3f20e 100644
--- a/gst/pcapparse/gstpcapparse.c
+++ b/gst/pcapparse/gstpcapparse.c
@@ -95,19 +95,16 @@ static void
gst_pcap_parse_base_init (gpointer gclass)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (gclass);
- static GstElementDetails element_details = {
- "PCapParse",
- "Raw/Parser",
- "Parses a raw pcap stream",
- "Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>"
- };
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_template));
- gst_element_class_set_details (element_class, &element_details);
+ gst_element_class_set_details_simple (element_class, "PCapParse",
+ "Raw/Parser",
+ "Parses a raw pcap stream",
+ "Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>");
}
static void