summaryrefslogtreecommitdiff
path: root/ext/audiofile
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/audiofile
parent5258d372be503da09fa21fbde28afe619bc0cdc1 (diff)
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'ext/audiofile')
-rw-r--r--ext/audiofile/gstafparse.c13
-rw-r--r--ext/audiofile/gstafparse.h3
-rw-r--r--ext/audiofile/gstafsink.c13
-rw-r--r--ext/audiofile/gstafsink.h3
-rw-r--r--ext/audiofile/gstafsrc.c13
-rw-r--r--ext/audiofile/gstafsrc.h3
6 files changed, 12 insertions, 36 deletions
diff --git a/ext/audiofile/gstafparse.c b/ext/audiofile/gstafparse.c
index ca786a936..27b5a6e8c 100644
--- a/ext/audiofile/gstafparse.c
+++ b/ext/audiofile/gstafparse.c
@@ -29,14 +29,6 @@
#include <string.h>
#include "gstafparse.h"
-/* elementfactory information */
-static const GstElementDetails afparse_details =
-GST_ELEMENT_DETAILS ("Audiofile demuxer",
- "Codec/Demuxer/Audio",
- "Audiofile parser for audio/raw",
- "Steve Baker <stevebaker_org@yahoo.co.uk>");
-
-
/* AFParse signals and args */
enum
{
@@ -127,7 +119,10 @@ gst_afparse_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&afparse_sink_factory));
- gst_element_class_set_details (element_class, &afparse_details);
+ gst_element_class_set_details_simple (element_class, "Audiofile demuxer",
+ "Codec/Demuxer/Audio",
+ "Audiofile parser for audio/raw",
+ "Steve Baker <stevebaker_org@yahoo.co.uk>");
}
static void
diff --git a/ext/audiofile/gstafparse.h b/ext/audiofile/gstafparse.h
index bece51269..3d9f61448 100644
--- a/ext/audiofile/gstafparse.h
+++ b/ext/audiofile/gstafparse.h
@@ -36,9 +36,6 @@ extern "C" {
#endif /* __cplusplus */
-/*GstElementDetails gst_afparse_details;*/
-
-
#define GST_TYPE_AFPARSE \
(gst_afparse_get_type())
#define GST_AFPARSE(obj) \
diff --git a/ext/audiofile/gstafsink.c b/ext/audiofile/gstafsink.c
index 68ee3bb59..8a24075e4 100644
--- a/ext/audiofile/gstafsink.c
+++ b/ext/audiofile/gstafsink.c
@@ -33,14 +33,6 @@
#include "gstafsink.h"
-/* elementfactory information */
-static const GstElementDetails afsink_details =
-GST_ELEMENT_DETAILS ("Audiofile sink",
- "Sink/Audio",
- "Write audio streams to disk using libaudiofile",
- "Thomas Vander Stichele <thomas@apestaart.org>");
-
-
/* AFSink signals and args */
enum
{
@@ -148,7 +140,10 @@ gst_afsink_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&afsink_sink_factory));
- gst_element_class_set_details (element_class, &afsink_details);
+ gst_element_class_set_details_simple (element_class, "Audiofile sink",
+ "Sink/Audio",
+ "Write audio streams to disk using libaudiofile",
+ "Thomas Vander Stichele <thomas@apestaart.org>");
}
static void
diff --git a/ext/audiofile/gstafsink.h b/ext/audiofile/gstafsink.h
index 150e81d15..358d43ca3 100644
--- a/ext/audiofile/gstafsink.h
+++ b/ext/audiofile/gstafsink.h
@@ -34,9 +34,6 @@ extern "C" {
#endif /* __cplusplus */
-/*GstElementDetails gst_afsink_details;*/
-
-
#define GST_TYPE_AFSINK \
(gst_afsink_get_type())
#define GST_AFSINK(obj) \
diff --git a/ext/audiofile/gstafsrc.c b/ext/audiofile/gstafsrc.c
index 87558b77b..2a750a378 100644
--- a/ext/audiofile/gstafsrc.c
+++ b/ext/audiofile/gstafsrc.c
@@ -33,14 +33,6 @@
#include "gstafsrc.h"
-/* elementfactory information */
-static const GstElementDetails afsrc_details =
-GST_ELEMENT_DETAILS ("Audiofile source",
- "Source/Audio",
- "Read audio files from disk using libaudiofile",
- "Thomas <thomas@apestaart.org>");
-
-
/* AFSrc signals and args */
enum
{
@@ -145,7 +137,10 @@ gst_afsrc_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&afsrc_src_factory));
- gst_element_class_set_details (element_class, &afsrc_details);
+ gst_element_class_set_details_simple (element_class, "Audiofile source",
+ "Source/Audio",
+ "Read audio files from disk using libaudiofile",
+ "Thomas <thomas@apestaart.org>");
}
static void
diff --git a/ext/audiofile/gstafsrc.h b/ext/audiofile/gstafsrc.h
index 785a0a689..f8f5fd8c3 100644
--- a/ext/audiofile/gstafsrc.h
+++ b/ext/audiofile/gstafsrc.h
@@ -34,9 +34,6 @@ extern "C" {
#endif /* __cplusplus */
-/*GstElementDetails gst_afsrc_details;*/
-
-
#define GST_TYPE_AFSRC \
(gst_afsrc_get_type())
#define GST_AFSRC(obj) \