Commit 775c7584 authored by Benjamin Otte's avatar Benjamin Otte

gst_element_class_set_details => gst_element_class_set_details_simple

parent 5258d372
......@@ -70,15 +70,6 @@ GST_DEBUG_CATEGORY_STATIC (alsaspdifsink_debug);
(((GstClockTime) AC3_RATE * (time)) / GST_SECOND)
#endif
/* ElementFactory information. */
static GstElementDetails alsaspdifsink_details = {
"S/PDIF ALSA audiosink",
"Sink/Audio",
"Feeds audio to S/PDIF interfaces through the ALSA sound driver",
"Martin Soto <martinsoto@users.sourceforge.net>\n"
"Michael Smith <msmith@fluendo.com>"
};
/* AlsaSPDIFSink signals and args */
enum
{
......@@ -141,7 +132,11 @@ alsaspdifsink_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
gst_element_class_set_details (element_class, &alsaspdifsink_details);
gst_element_class_set_details_simple (element_class, "S/PDIF ALSA audiosink",
"Sink/Audio",
"Feeds audio to S/PDIF interfaces through the ALSA sound driver",
"Martin Soto <martinsoto@users.sourceforge.net>, "
"Michael Smith <msmith@fluendo.com>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&alsaspdifsink_sink_factory));
}
......
......@@ -178,17 +178,16 @@ static void
gst_amrwbenc_base_init (gpointer klass)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
GstElementDetails details = GST_ELEMENT_DETAILS ("AMR-WB audio encoder",
"Codec/Encoder/Audio",
"Adaptive Multi-Rate Wideband audio encoder",
"Renato Araujo <renato.filho@indt.org.br>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_template));
gst_element_class_set_details (element_class, &details);
gst_element_class_set_details_simple (element_class, "AMR-WB audio encoder",
"Codec/Encoder/Audio",
"Adaptive Multi-Rate Wideband audio encoder",
"Renato Araujo <renato.filho@indt.org.br>");
}
static void
......
......@@ -42,14 +42,6 @@
#include "gst_arts.h"
#include "gst_artsio_impl.h"
/* elementfactory information */
static const GstElementDetails gst_arts_details =
GST_ELEMENT_DETAILS ("aRts plugin",
"Filter/Audio",
"aRts wrapper filter",
"Erik Walthinsen <omega@temple-baptist.com,\n"
"Stefan Westerfeld <stefan@space.twc.de>");
static GstStaticPadTemplate sink_temp = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
......@@ -123,7 +115,10 @@ gst_arts_base_init (gpointer g_class)
gst_static_pad_template_get (&sink_temp));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_temp));
gst_element_class_set_details (element_class, &gst_arts_details);
gst_element_class_set_details_simple (element_class, "aRts plugin",
"Filter/Audio", "aRts wrapper filter",
"Erik Walthinsen <omega@temple-baptist.com, "
"Stefan Westerfeld <stefan@space.twc.de>");
}
static void
......
......@@ -26,13 +26,6 @@
#include "gstartsdsink.h"
#include <gst/audio/audio.h>
/* elementfactory information */
static const GstElementDetails artsdsink_details =
GST_ELEMENT_DETAILS ("aRtsd audio sink",
"Sink/Audio",
"Plays audio to an aRts server",
"Richard Boulton <richard-gst@tartarus.org>",);
/* Signals and args */
enum
{
......@@ -106,7 +99,10 @@ gst_artsdsink_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_factory));
gst_element_class_set_details (element_class, &artsdsink_details);
gst_element_class_set_details_simple (element_class, "aRtsd audio sink",
"Sink/Audio",
"Plays audio to an aRts server",
"Richard Boulton <richard-gst@tartarus.org>");
}
static void
......
......@@ -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
......
......@@ -36,9 +36,6 @@ extern "C" {
#endif /* __cplusplus */
/*GstElementDetails gst_afparse_details;*/
#define GST_TYPE_AFPARSE \
(gst_afparse_get_type())
#define GST_AFPARSE(obj) \
......
......@@ -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
......
......@@ -34,9 +34,6 @@ extern "C" {
#endif /* __cplusplus */
/*GstElementDetails gst_afsink_details;*/
#define GST_TYPE_AFSINK \
(gst_afsink_get_type())
#define GST_AFSINK(obj) \
......
......@@ -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
......
......@@ -34,9 +34,6 @@ extern "C" {
#endif /* __cplusplus */
/*GstElementDetails gst_afsrc_details;*/
#define GST_TYPE_AFSRC \
(gst_afsrc_get_type())
#define GST_AFSRC(obj) \
......
......@@ -33,13 +33,6 @@
GST_DEBUG_CATEGORY_STATIC (audioresample_debug);
#define GST_CAT_DEFAULT audioresample_debug
/* elementfactory information */
static const GstElementDetails gst_audioresample_details =
GST_ELEMENT_DETAILS ("Audio scaler",
"Filter/Converter/Audio",
"Resample audio",
"David Schleef <ds@schleef.org>");
/* Audioresample signals and args */
enum
{
......@@ -127,7 +120,9 @@ static void gst_audioresample_base_init (gpointer g_class)
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&gst_audioresample_sink_template));
gst_element_class_set_details (gstelement_class, &gst_audioresample_details);
gst_element_class_set_details_simple (gstelement_class, "Audio scaler",
"Filter/Converter/Audio",
"Resample audio", "David Schleef <ds@schleef.org>");
}
static void gst_audioresample_class_init (AudioresampleClass * klass)
......
......@@ -115,13 +115,6 @@ static GstFormat sector_format;
static GstElementClass *parent_class;
static guint gst_cdaudio_signals[LAST_SIGNAL] = { 0 };
static const GstElementDetails gst_cdaudio_details =
GST_ELEMENT_DETAILS ("CD player",
"Generic/Bin",
"Play CD audio through the CD Drive",
"Wim Taymans <wim@fluendo.com>");
static void
_do_init (GType cdaudio_type)
{
......@@ -143,7 +136,9 @@ gst_cdaudio_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
gst_element_class_set_details (element_class, &gst_cdaudio_details);
gst_element_class_set_details_simple (element_class, "CD player",
"Generic/Bin",
"Play CD audio through the CD Drive", "Wim Taymans <wim@fluendo.com>");
/* Register the track and sector format */
track_format = gst_format_register ("track", "CD track");
......
......@@ -72,12 +72,6 @@ static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
"channels = (int) [ 1, 2 ], " "frame-size = (int) [ 64, 512 ]")
);
static const GstElementDetails celtenc_details =
GST_ELEMENT_DETAILS ("Celt audio encoder",
"Codec/Encoder/Audio",
"Encodes audio in Celt format",
"Sebastian Dröge <sebastian.droege@collabora.co.uk>");
#define DEFAULT_BITRATE 64
#define DEFAULT_FRAMESIZE 480
#define DEFAULT_CBR TRUE
......
......@@ -122,11 +122,7 @@ GST_BOILERPLATE (GstCogcolorspace, gst_cogcolorspace, GstBaseTransform,
static void
gst_cogcolorspace_base_init (gpointer g_class)
{
static GstElementDetails compress_details =
GST_ELEMENT_DETAILS ("YCbCr/RGB format conversion",
"Filter/Effect/Video",
"YCbCr/RGB format conversion",
"David Schleef <ds@schleef.org>");
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
gst_element_class_add_pad_template (element_class,
......@@ -134,7 +130,9 @@ gst_cogcolorspace_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_cogcolorspace_sink_template));
gst_element_class_set_details (element_class, &compress_details);
gst_element_class_set_details_simple (element_class,
"YCbCr/RGB format conversion", "Filter/Effect/Video",
"YCbCr/RGB format conversion", "David Schleef <ds@schleef.org>");
}
static void
......
......@@ -139,11 +139,7 @@ gst_cogdownsample_get_type (void)
static void
gst_cogdownsample_base_init (gpointer g_class)
{
static GstElementDetails compress_details =
GST_ELEMENT_DETAILS ("Downsample video",
"Filter/Effect/Video",
"Decreases size of video by a factor of 2",
"David Schleef <ds@schleef.org>");
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
gst_element_class_add_pad_template (element_class,
......@@ -151,7 +147,10 @@ gst_cogdownsample_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_cogdownsample_sink_template));
gst_element_class_set_details (element_class, &compress_details);
gst_element_class_set_details_simple (element_class, "Downsample video",
"Filter/Effect/Video",
"Decreases size of video by a factor of 2",
"David Schleef <ds@schleef.org>");
}
static void
......
......@@ -144,11 +144,7 @@ gst_cog_filter_get_type (void)
static void
gst_cog_filter_base_init (gpointer g_class)
{
static GstElementDetails compress_details =
GST_ELEMENT_DETAILS ("Cog Video Filter",
"Filter/Effect/Video",
"Applies a cog pre-filter to video",
"David Schleef <ds@schleef.org>");
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
gst_element_class_add_pad_template (element_class,
......@@ -156,7 +152,9 @@ gst_cog_filter_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_cog_filter_sink_template));
gst_element_class_set_details (element_class, &compress_details);
gst_element_class_set_details_simple (element_class, "Cog Video Filter",
"Filter/Effect/Video",
"Applies a cog pre-filter to video", "David Schleef <ds@schleef.org>");
}
static void
......
......@@ -74,11 +74,6 @@ struct _GstMSEClass
GstElementClass parent;
};
static const GstElementDetails element_details = GST_ELEMENT_DETAILS ("FIXME",
"Filter/Effect",
"FIXME example filter",
"FIXME <fixme@fixme.com>");
enum
{
PROP_0,
......@@ -142,7 +137,8 @@ gst_mse_base_init (gpointer klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_framestore_sink_test_template));
gst_element_class_set_details (element_class, &element_details);
gst_element_class_set_details_simple (element_class, "FIXME",
"Filter/Effect", "FIXME example filter", "FIXME <fixme@fixme.com>");
}
static void
......
......@@ -116,14 +116,6 @@ struct _GstCogScaleClass
GType gst_cog_scale_get_type (void);
/* elementfactory information */
static const GstElementDetails cog_scale_details =
GST_ELEMENT_DETAILS ("Video scaler",
"Filter/Effect/Video",
"Resizes video",
"Wim Taymans <wim.taymans@chello.be>");
#define DEFAULT_QUALITY 5
enum
......@@ -222,7 +214,9 @@ gst_cog_scale_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
gst_element_class_set_details (element_class, &cog_scale_details);
gst_element_class_set_details_simple (element_class, "Video scaler",
"Filter/Effect/Video",
"Resizes video", "Wim Taymans <wim.taymans@chello.be>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_cog_scale_src_template));
......
......@@ -137,11 +137,7 @@ gst_colorconvert_get_type (void)
static void
gst_colorconvert_base_init (gpointer g_class)
{
static GstElementDetails compress_details =
GST_ELEMENT_DETAILS ("Video Filter Template",
"Filter/Effect/Video",
"Template for a video filter",
"David Schleef <ds@schleef.org>");
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
gst_element_class_add_pad_template (element_class,
......@@ -149,7 +145,9 @@ gst_colorconvert_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_colorconvert_sink_template));
gst_element_class_set_details (element_class, &compress_details);
gst_element_class_set_details_simple (element_class, "Video Filter Template",
"Filter/Effect/Video",
"Template for a video filter", "David Schleef <ds@schleef.org>");
}
static void
......
......@@ -146,11 +146,7 @@ gst_logoinsert_get_type (void)
static void
gst_logoinsert_base_init (gpointer g_class)
{
static GstElementDetails compress_details =
GST_ELEMENT_DETAILS ("Video Filter Template",
"Filter/Effect/Video",
"Template for a video filter",
"David Schleef <ds@schleef.org>");
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
gst_element_class_add_pad_template (element_class,
......@@ -158,7 +154,9 @@ gst_logoinsert_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_logoinsert_sink_template));
gst_element_class_set_details (element_class, &compress_details);
gst_element_class_set_details_simple (element_class, "Video Filter Template",
"Filter/Effect/Video",
"Template for a video filter", "David Schleef <ds@schleef.org>");
}
static void
......
......@@ -43,12 +43,6 @@
GST_DEBUG_CATEGORY (dc1394_debug);
#define GST_CAT_DEFAULT dc1394_debug
static GstElementDetails dc1394_details =
GST_ELEMENT_DETAILS ("1394 IIDC Video Source",
"Source/Video",
"libdc1394 based source, supports 1394 IIDC cameras",
"Antoine Tremblay <hexa00@gmail.com>");
enum
{
PROP_0,
......@@ -112,7 +106,10 @@ gst_dc1394_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
gst_element_class_set_details (element_class, &dc1394_details);
gst_element_class_set_details_simple (element_class, "1394 IIDC Video Source",
"Source/Video",
"libdc1394 based source, supports 1394 IIDC cameras",
"Antoine Tremblay <hexa00@gmail.com>");
gst_element_class_add_pad_template (element_class,
gst_pad_template_new ("src", GST_PAD_SRC, GST_PAD_ALWAYS,
......
......@@ -29,15 +29,6 @@
#include "gstdiracdec.h"
/* elementfactory information */
static GstElementDetails gst_diracdec_details = {
"Dirac stream decoder",
"Codec/Decoder/Video",
"Decode DIRAC streams",
"David Schleef <ds@schleef.org>\n"
"Ronald Bultje <rbultje@ronald.bitfreak.net>",
};
GST_DEBUG_CATEGORY (diracdec_debug);
#define GST_CAT_DEFAULT diracdec_debug
......@@ -116,7 +107,10 @@ gst_diracdec_base_init (gpointer g_class)
gst_static_pad_template_get (&gst_diracdec_src_pad_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_diracdec_sink_pad_template));
gst_element_class_set_details (element_class, &gst_diracdec_details);
gst_element_class_set_details_simple (element_class, "Dirac stream decoder",
"Codec/Decoder/Video", "Decode DIRAC streams",
"David Schleef <ds@schleef.org>, "
"Ronald Bultje <rbultje@ronald.bitfreak.net>");
}
static void
......@@ -264,15 +258,16 @@ gst_diracdec_chain (GstPad * pad, GstData * _data)
diracdec->decoder->seq_params.width,
diracdec->decoder->seq_params.height,
(gdouble) fps_num / (gdouble) fps_denom,
gst_diracdec_chroma_to_fourcc (diracdec->decoder->seq_params.
chroma))) {
gst_diracdec_chroma_to_fourcc (diracdec->decoder->
seq_params.chroma))) {
GST_ELEMENT_ERROR (diracdec, CORE, NEGOTIATION, (NULL),
("Failed to set caps to %dx%d @ %d fps (format=" GST_FOURCC_FORMAT
"/%d)", diracdec->decoder->seq_params.width,
diracdec->decoder->seq_params.height,
diracdec->decoder->seq_params.frame_rate,
gst_diracdec_chroma_to_fourcc (diracdec->decoder->seq_params.
chroma), diracdec->decoder->seq_params.chroma));
gst_diracdec_chroma_to_fourcc (diracdec->decoder->
seq_params.chroma),
diracdec->decoder->seq_params.chroma));
c = FALSE;
break;
}
......
......@@ -207,11 +207,6 @@ GST_BOILERPLATE_FULL (GstDiracEnc, gst_dirac_enc, GstBaseVideoEncoder,
static void
gst_dirac_enc_base_init (gpointer g_class)
{
static GstElementDetails dirac_enc_details =
GST_ELEMENT_DETAILS ((gchar *) "Dirac Encoder",
(gchar *) "Codec/Encoder/Video",
(gchar *) "Encode raw YUV video into Dirac stream",
(gchar *) "David Schleef <ds@schleef.org>");
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
gst_element_class_add_pad_template (element_class,
......@@ -219,7 +214,10 @@ gst_dirac_enc_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_dirac_enc_sink_template));
gst_element_class_set_details (element_class, &dirac_enc_details);
gst_element_class_set_details_simple (element_class, "Dirac Encoder",
"Codec/Encoder/Video",
"Encode raw YUV video into Dirac stream",
"David Schleef <ds@schleef.org>");
}
static void
......
......@@ -99,13 +99,6 @@
GST_DEBUG_CATEGORY_STATIC (dfbvideosink_debug);
#define GST_CAT_DEFAULT dfbvideosink_debug
/* ElementFactory information */
static const GstElementDetails gst_dfbvideosink_details =
GST_ELEMENT_DETAILS ("DirectFB video sink",
"Sink/Video",
"A DirectFB based videosink",
"Julien Moutte <julien@moutte.net>");
/* Default template */
static GstStaticPadTemplate gst_dfbvideosink_sink_template_factory =
GST_STATIC_PAD_TEMPLATE ("sink",
......@@ -346,8 +339,8 @@ gst_dfbvideosink_event_thread (GstDfbVideoSink * dfbvideosink)
while (dfbvideosink->running) {
/* Wait for an event with a 50 ms timeout */
dfbvideosink->event_buffer->WaitForEventWithTimeout (dfbvideosink->
event_buffer, 0, 50);
dfbvideosink->event_buffer->
WaitForEventWithTimeout (dfbvideosink->event_buffer, 0, 50);
/* Do we have an event ? */
ret = dfbvideosink->event_buffer->HasEvent (dfbvideosink->event_buffer);
......@@ -2275,7 +2268,9 @@ gst_dfbvideosink_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
gst_element_class_set_details (element_class, &gst_dfbvideosink_details);
gst_element_class_set_details_simple (element_class, "DirectFB video sink",
"Sink/Video",
"A DirectFB based videosink", "Julien Moutte <julien@moutte.net>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_dfbvideosink_sink_template_factory));
......
......@@ -25,13 +25,6 @@
#include "gstdivxdec.h"
#include <gst/video/video.h>
/* elementfactory information */
static const GstElementDetails gst_divxdec_details =
GST_ELEMENT_DETAILS ("Divx4linux video decoder",
"Codec/Decoder/Video",
"Divx decoder based on divxdecore",
"Ronald Bultje <rbultje@ronald.bitfreak.net>");
static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
......@@ -142,7 +135,10 @@ gst_divxdec_base_init (GstDivxDecClass * klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_template));
gst_element_class_set_details (element_class, &gst_divxdec_details);
gst_element_class_set_details_simple (element_class,
"Divx4linux video decoder", "Codec/Decoder/Video",
"Divx decoder based on divxdecore",
"Ronald Bultje <rbultje@ronald.bitfreak.net>");
}
......
......@@ -26,13 +26,6 @@
#include <gst/video/video.h>
#include <encore2.h>
/* elementfactory information */
static const GstElementDetails gst_divxenc_details =
GST_ELEMENT_DETAILS ("Divx4linux video encoder",
"Codec/Encoder/Video",
"Divx encoder based on divxencore",
"Ronald Bultje <rbultje@ronald.bitfreak.net>");
static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
......@@ -153,7 +146,10 @@ gst_divxenc_base_init (GstDivxEncClass * klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_template));
gst_element_class_set_details (element_class, &gst_divxenc_details);
gst_element_class_set_details_simple (element_class,
"Divx4linux video encoder", "Codec/Encoder/Video",
"Divx encoder based on divxencore",
"Ronald Bultje <rbultje@ronald.bitfreak.net>");
}
......
......@@ -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");
}
......
......@@ -91,12 +91,6 @@ static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_ALWAYS,
GST_STATIC_CAPS (SINK_CAPS));
static const GstElementDetails gst_faac_details =
GST_ELEMENT_DETAILS ("AAC audio encoder",
"Codec/Encoder/Audio",