summaryrefslogtreecommitdiff
path: root/gst/debugutils/gstpushfilesrc.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-18 14:31:35 +0100
committerBenjamin Otte <otte@redhat.com>2010-03-18 14:32:00 +0100
commitcccfeaa59c3447be82eea26e4ce66d95ae8c22db (patch)
tree5cf8b52dd0a04f0824f8f51d1f82a8f195d592ee /gst/debugutils/gstpushfilesrc.c
parentbc1b65bee3e7b2af24567aac66961911ab003ecf (diff)
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'gst/debugutils/gstpushfilesrc.c')
-rw-r--r--gst/debugutils/gstpushfilesrc.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/gst/debugutils/gstpushfilesrc.c b/gst/debugutils/gstpushfilesrc.c
index 47daa83e1..185fffc48 100644
--- a/gst/debugutils/gstpushfilesrc.c
+++ b/gst/debugutils/gstpushfilesrc.c
@@ -48,12 +48,6 @@
GST_DEBUG_CATEGORY_STATIC (pushfilesrc_debug);
#define GST_CAT_DEFAULT pushfilesrc_debug
-static const GstElementDetails pushfilesrc_details =
-GST_ELEMENT_DETAILS ("Push File Source",
- "Testing",
- "Implements pushfile:// URI-handler for push-based file access",
- "Tim-Philipp Müller <tim centricular net>");
-
static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
@@ -88,7 +82,10 @@ gst_push_file_src_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&srctemplate));
- gst_element_class_set_details (element_class, &pushfilesrc_details);
+ gst_element_class_set_details_simple (element_class, "Push File Source",
+ "Testing",
+ "Implements pushfile:// URI-handler for push-based file access",
+ "Tim-Philipp Müller <tim centricular net>");
}
static void