summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-18 14:31:35 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2010-03-27 09:05:00 +0000
commit7bd87408431bd1028c36d7647d1dae306b01153f (patch)
tree6d31ccbf2c119b86ffd4547ee79a34284c8081f3 /sys
parent0e3c190d753710e86f2d689ecdcea5c0cc8432c2 (diff)
gst_element_class_set_details => gst_element_class_set_details_simple
Apply this again, as it was overwritten by the previous commit. Merging is hard, apparently.
Diffstat (limited to 'sys')
-rw-r--r--sys/directsound/gstdirectsoundsink.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/sys/directsound/gstdirectsoundsink.c b/sys/directsound/gstdirectsoundsink.c
index 5ac45b2ee..ac9d2c9f4 100644
--- a/sys/directsound/gstdirectsoundsink.c
+++ b/sys/directsound/gstdirectsoundsink.c
@@ -59,13 +59,6 @@
GST_DEBUG_CATEGORY_STATIC (directsoundsink_debug);
#define GST_CAT_DEFAULT directsoundsink_debug
-/* elementfactory information */
-static const GstElementDetails gst_directsound_sink_details =
-GST_ELEMENT_DETAILS ("Direct Sound Audio Sink",
- "Sink/Audio",
- "Output to a sound card via Direct Sound",
- "Sebastien Moutte <sebastien@moutte.net>");
-
static void gst_directsound_sink_base_init (gpointer g_class);
static void gst_directsound_sink_class_init (GstDirectSoundSinkClass * klass);
static void gst_directsound_sink_init (GstDirectSoundSink * dsoundsink,
@@ -260,7 +253,10 @@ gst_directsound_sink_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_set_details (element_class, &gst_directsound_sink_details);
+ gst_element_class_set_details_simple (element_class,
+ "Direct Sound Audio Sink", "Sink/Audio",
+ "Output to a sound card via Direct Sound",
+ "Sebastien Moutte <sebastien@moutte.net>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&directsoundsink_sink_factory));
}