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/sndfile | |
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/sndfile')
-rw-r--r-- | ext/sndfile/gstsfsink.c | 12 | ||||
-rw-r--r-- | ext/sndfile/gstsfsrc.c | 12 |
2 files changed, 8 insertions, 16 deletions
diff --git a/ext/sndfile/gstsfsink.c b/ext/sndfile/gstsfsink.c index 4039a792d..2bdb2fe35 100644 --- a/ext/sndfile/gstsfsink.c +++ b/ext/sndfile/gstsfsink.c @@ -28,13 +28,6 @@ #include "gstsfsink.h" - -static const GstElementDetails sfsink_details = -GST_ELEMENT_DETAILS ("Sndfile sink", - "Sink/Audio", - "Write audio streams to disk using libsndfile", - "Andy Wingo <wingo at pobox dot com>"); - enum { PROP_0, @@ -93,7 +86,10 @@ gst_sf_sink_base_init (gpointer g_class) GST_DEBUG_CATEGORY_INIT (gst_sf_debug, "sfsink", 0, "sfsink element"); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sf_sink_factory)); - gst_element_class_set_details (element_class, &sfsink_details); + gst_element_class_set_details_simple (element_class, "Sndfile sink", + "Sink/Audio", + "Write audio streams to disk using libsndfile", + "Andy Wingo <wingo at pobox dot com>"); } static void diff --git a/ext/sndfile/gstsfsrc.c b/ext/sndfile/gstsfsrc.c index 0cd1e9137..f725d3f5b 100644 --- a/ext/sndfile/gstsfsrc.c +++ b/ext/sndfile/gstsfsrc.c @@ -29,13 +29,6 @@ #include "gstsfsrc.h" - -static const GstElementDetails sf_src_details = -GST_ELEMENT_DETAILS ("Sndfile source", - "Source/Audio", - "Read audio streams from disk using libsndfile", - "Andy Wingo <wingo at pobox dot com>"); - enum { PROP_0, @@ -93,7 +86,10 @@ gst_sf_src_base_init (gpointer g_class) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&sf_src_factory)); - gst_element_class_set_details (gstelement_class, &sf_src_details); + gst_element_class_set_details_simple (gstelement_class, "Sndfile source", + "Source/Audio", + "Read audio streams from disk using libsndfile", + "Andy Wingo <wingo at pobox dot com>"); GST_DEBUG_CATEGORY_INIT (gst_sf_src_debug, "sfsrc", 0, "sfsrc element"); } |