diff options
author | Benjamin Otte <otte@redhat.com> | 2010-03-18 17:30:26 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-03-18 22:46:41 +0100 |
commit | 775c7584fdad53053ae5b22bb19074cc6022ee98 (patch) | |
tree | 149c7daf4efd3ecaf17a179949e20b44347859ab /ext/sdl/sdlaudiosink.c | |
parent | 5258d372be503da09fa21fbde28afe619bc0cdc1 (diff) | |
download | gstreamer-plugins-bad-775c7584fdad53053ae5b22bb19074cc6022ee98.tar.gz |
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'ext/sdl/sdlaudiosink.c')
-rw-r--r-- | ext/sdl/sdlaudiosink.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/ext/sdl/sdlaudiosink.c b/ext/sdl/sdlaudiosink.c index 3b1ed4adf..2106864c1 100644 --- a/ext/sdl/sdlaudiosink.c +++ b/ext/sdl/sdlaudiosink.c @@ -26,13 +26,6 @@ GST_DEBUG_CATEGORY_EXTERN (sdl_debug); #define GST_CAT_DEFAULT sdl_debug -/* elementfactory information */ -static const GstElementDetails gst_sdlaudio_sink_details = -GST_ELEMENT_DETAILS ("SDL audio sink", - "Sink/Audio", - "Output to a sound card via SDLAUDIO", - "Edgard Lima <edgard.lima@indt.org.br>"); - static void gst_sdlaudio_sink_dispose (GObject * object); static GstCaps *gst_sdlaudio_sink_getcaps (GstBaseSink * bsink); @@ -151,11 +144,15 @@ gst_sdlaudio_sink_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_set_details (element_class, &gst_sdlaudio_sink_details); + gst_element_class_set_details_simple (element_class, "SDL audio sink", + "Sink/Audio", + "Output to a sound card via SDLAUDIO", + "Edgard Lima <edgard.lima@indt.org.br>"); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sdlaudiosink_sink_factory)); } + static void gst_sdlaudio_sink_class_init (GstSDLAudioSinkClass * klass) { |