summaryrefslogtreecommitdiff
path: root/ext/audiofile/gstafsrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/audiofile/gstafsrc.c')
-rw-r--r--ext/audiofile/gstafsrc.c13
1 files changed, 4 insertions, 9 deletions
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