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/dts | |
parent | 5258d372be503da09fa21fbde28afe619bc0cdc1 (diff) |
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'ext/dts')
-rw-r--r-- | ext/dts/gstdtsdec.c | 13 |
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"); } |