summaryrefslogtreecommitdiff
path: root/ext/nas
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 /ext/nas
parent5258d372be503da09fa21fbde28afe619bc0cdc1 (diff)
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'ext/nas')
-rw-r--r--ext/nas/nassink.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/ext/nas/nassink.c b/ext/nas/nassink.c
index 6f5a003ee..93e9c1043 100644
--- a/ext/nas/nassink.c
+++ b/ext/nas/nassink.c
@@ -88,13 +88,6 @@ static AuBool NAS_EventHandler (AuServer * aud, AuEvent * ev,
static AuDeviceID NAS_getDevice (AuServer * aud, int numTracks);
static int NAS_createFlow (GstNasSink * sink, GstRingBufferSpec * spec);
-static const GstElementDetails nas_sink_details =
-GST_ELEMENT_DETAILS ("NAS audio sink",
- "Sink/Audio",
- "Plays audio to a Network Audio Server",
- "Laurent Vivier <Laurent.Vivier@bull.net>, "
- "Arwed v. Merkatz <v.merkatz@gmx.net>");
-
GST_BOILERPLATE (GstNasSink, gst_nas_sink, GstAudioSink, GST_TYPE_AUDIO_SINK);
static void
@@ -104,7 +97,11 @@ gst_nas_sink_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_factory));
- gst_element_class_set_details (element_class, &nas_sink_details);
+ gst_element_class_set_details_simple (element_class, "NAS audio sink",
+ "Sink/Audio",
+ "Plays audio to a Network Audio Server",
+ "Laurent Vivier <Laurent.Vivier@bull.net>, "
+ "Arwed v. Merkatz <v.merkatz@gmx.net>");
}
static void