summaryrefslogtreecommitdiff
path: root/gst/playondemand/gstplayondemand.c
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/playondemand/gstplayondemand.c
parent5258d372be503da09fa21fbde28afe619bc0cdc1 (diff)
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'gst/playondemand/gstplayondemand.c')
-rw-r--r--gst/playondemand/gstplayondemand.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/gst/playondemand/gstplayondemand.c b/gst/playondemand/gstplayondemand.c
index 91eae05cc..f754b1580 100644
--- a/gst/playondemand/gstplayondemand.c
+++ b/gst/playondemand/gstplayondemand.c
@@ -40,14 +40,6 @@
#define GST_POD_BUFPOOL_SIZE 4096
#define GST_POD_BUFPOOL_NUM 6
-
-static const GstElementDetails play_on_demand_details =
-GST_ELEMENT_DETAILS ("Play On Demand",
- "Filter/Editor/Audio",
- "Schedule a stream to play at specific times, or when a signal is received",
- "Leif Morgan Johnson <leif@ambient.2y.net>");
-
-
static GstStaticPadTemplate play_on_demand_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
@@ -152,7 +144,10 @@ play_on_demand_base_init (GstPlayOnDemandClass * klass)
gst_static_pad_template_get (&play_on_demand_src_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&play_on_demand_sink_template));
- gst_element_class_set_details (element_class, &play_on_demand_details);
+ gst_element_class_set_details_simple (element_class, "Play On Demand",
+ "Filter/Editor/Audio",
+ "Schedule a stream to play at specific times, or when a signal is received",
+ "Leif Morgan Johnson <leif@ambient.2y.net>");
}
static void