summaryrefslogtreecommitdiff
path: root/ext/dts/gstdtsdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dts/gstdtsdec.c')
-rw-r--r--ext/dts/gstdtsdec.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/ext/dts/gstdtsdec.c b/ext/dts/gstdtsdec.c
index 8d026a43b..9f3ddf0b1 100644
--- a/ext/dts/gstdtsdec.c
+++ b/ext/dts/gstdtsdec.c
@@ -85,13 +85,6 @@ typedef struct dts_state_s dca_state_t;
#include <liboil/liboilcpu.h>
#include <liboil/liboilfunction.h>
-static const GstElementDetails gst_dtsdec_details =
-GST_ELEMENT_DETAILS ("DTS audio decoder",
- "Codec/Decoder/Audio",
- "Decodes DTS audio streams",
- "Jan Schmidt <thaytan@noraisin.net>\n"
- "Ronald Bultje <rbultje@ronald.bitfreak.net>");
-
#if defined(LIBDTS_FIXED) || defined(LIBDCA_FIXED)
#define SAMPLE_WIDTH 16
#elif defined (LIBDTS_DOUBLE) || defined(LIBDCA_DOUBLE)
@@ -158,7 +151,11 @@ gst_dtsdec_base_init (gpointer g_class)
gst_static_pad_template_get (&sink_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_factory));
- gst_element_class_set_details (element_class, &gst_dtsdec_details);
+ gst_element_class_set_details_simple (element_class, "DTS audio decoder",
+ "Codec/Decoder/Audio",
+ "Decodes DTS audio streams",
+ "Jan Schmidt <thaytan@noraisin.net>, "
+ "Ronald Bultje <rbultje@ronald.bitfreak.net>");
GST_DEBUG_CATEGORY_INIT (dtsdec_debug, "dtsdec", 0, "DTS/DCA audio decoder");
}