#include "gstaasink.h"
#include <gst/video/video.h>
-/* elementfactory information */
-static const GstElementDetails gst_aasink_details =
-GST_ELEMENT_DETAILS ("ASCII art video sink",
- "Sink/Video",
- "An ASCII art videosink",
- "Wim Taymans <wim.taymans@chello.be>");
-
/* aasink signals and args */
enum
{
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_template));
- gst_element_class_set_details (element_class, &gst_aasink_details);
+ gst_element_class_set_details_simple (element_class, "ASCII art video sink",
+ "Sink/Video",
+ "An ASCII art videosink", "Wim Taymans <wim.taymans@chello.be>");
}
static void
LAST_SIGNAL
};
-static const GstElementDetails gst_cmml_dec_details =
-GST_ELEMENT_DETAILS ("CMML stream decoder",
- "Codec/Decoder",
- "Decodes CMML streams",
- "Alessandro Decina <alessandro@nnva.org>");
-
static GstStaticPadTemplate gst_cmml_dec_src_factory =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
gst_static_pad_template_get (&gst_cmml_dec_sink_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_cmml_dec_src_factory));
- gst_element_class_set_details (element_class, &gst_cmml_dec_details);
+ gst_element_class_set_details_simple (element_class, "CMML stream decoder",
+ "Codec/Decoder",
+ "Decodes CMML streams", "Alessandro Decina <alessandro@nnva.org>");
}
static void
LAST_SIGNAL
};
-static const GstElementDetails gst_cmml_enc_details =
-GST_ELEMENT_DETAILS ("CMML streams encoder",
- "Codec/Encoder",
- "Encodes CMML streams",
- "Alessandro Decina <alessandro@nnva.org>");
-
static GstStaticPadTemplate gst_cmml_enc_src_factory =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
gst_static_pad_template_get (&gst_cmml_enc_sink_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_cmml_enc_src_factory));
- gst_element_class_set_details (element_class, &gst_cmml_enc_details);
+ gst_element_class_set_details_simple (element_class, "CMML streams encoder",
+ "Codec/Encoder",
+ "Encodes CMML streams", "Alessandro Decina <alessandro@nnva.org>");
}
static void
GST_DEBUG_CATEGORY_EXTERN (cairo_debug);
#define GST_CAT_DEFAULT cairo_debug
-static const GstElementDetails cairo_text_overlay_details =
-GST_ELEMENT_DETAILS ("Text overlay",
- "Filter/Editor/Video",
- "Adds text strings on top of a video buffer",
- "David Schleef <ds@schleef.org>");
-
enum
{
ARG_0,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&text_sink_template_factory));
- gst_element_class_set_details (element_class, &cairo_text_overlay_details);
+ gst_element_class_set_details_simple (element_class, "Text overlay",
+ "Filter/Editor/Video",
+ "Adds text strings on top of a video buffer",
+ "David Schleef <ds@schleef.org>");
}
static void
#define rint(x) ((double) floor((x)+(((x) < 0)? -0.5 : 0.5)))
#endif
-static const GstElementDetails cairo_time_overlay_details =
-GST_ELEMENT_DETAILS ("Time overlay",
- "Filter/Editor/Video",
- "Overlays the time on a video stream",
- "David Schleef <ds@schleef.org>");
-
static GstStaticPadTemplate gst_cairo_time_overlay_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_set_details (element_class, &cairo_time_overlay_details);
+ gst_element_class_set_details_simple (element_class, "Time overlay",
+ "Filter/Editor/Video",
+ "Overlays the time on a video stream", "David Schleef <ds@schleef.org>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_cairo_time_overlay_sink_template));
#include "gstdvdec.h"
-
-static const GstElementDetails dvdec_details =
-GST_ELEMENT_DETAILS ("DV video decoder",
- "Codec/Decoder/Video",
- "Uses libdv to decode DV video (smpte314) (libdv.sourceforge.net)",
- "Erik Walthinsen <omega@cse.ogi.edu>," "Wim Taymans <wim@fluendo.com>");
-
/* sizes of one input buffer */
#define NTSC_HEIGHT 480
#define NTSC_BUFFER 120000
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_temp));
- gst_element_class_set_details (element_class, &dvdec_details);
+ gst_element_class_set_details_simple (element_class, "DV video decoder",
+ "Codec/Decoder/Video",
+ "Uses libdv to decode DV video (smpte314) (libdv.sourceforge.net)",
+ "Erik Walthinsen <omega@cse.ogi.edu>," "Wim Taymans <wim@fluendo.com>");
GST_DEBUG_CATEGORY_INIT (dvdec_debug, "dvdec", 0, "DV decoding element");
}
GST_DEBUG_CATEGORY_STATIC (dvdemux_debug);
#define GST_CAT_DEFAULT dvdemux_debug
-static const GstElementDetails dvdemux_details =
-GST_ELEMENT_DETAILS ("DV system stream demuxer",
- "Codec/Demuxer",
- "Uses libdv to separate DV audio from DV video (libdv.sourceforge.net)",
- "Erik Walthinsen <omega@cse.ogi.edu>, Wim Taymans <wim@fluendo.com>");
-
static GstStaticPadTemplate sink_temp = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&audio_src_temp));
- gst_element_class_set_details (element_class, &dvdemux_details);
+ gst_element_class_set_details_simple (element_class,
+ "DV system stream demuxer", "Codec/Demuxer",
+ "Uses libdv to separate DV audio from DV video (libdv.sourceforge.net)",
+ "Erik Walthinsen <omega@cse.ogi.edu>, Wim Taymans <wim@fluendo.com>");
GST_DEBUG_CATEGORY_INIT (dvdemux_debug, "dvdemux", 0, "DV demuxer element");
}
#include <esd.h>
#include <unistd.h>
-
-/* elementfactory information */
-static const GstElementDetails esdmon_details =
-GST_ELEMENT_DETAILS ("Esound audio monitor",
- "Source/Audio",
- "Monitors audio from an esound server",
- "Richard Boulton <richard-gst@tartarus.org>");
-
/* Signals and args */
enum
{
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_factory));
- gst_element_class_set_details (element_class, &esdmon_details);
+ gst_element_class_set_details_simple (element_class, "Esound audio monitor",
+ "Source/Audio",
+ "Monitors audio from an esound server",
+ "Richard Boulton <richard-gst@tartarus.org>");
}
static void
GST_DEBUG_CATEGORY_EXTERN (esd_debug);
#define GST_CAT_DEFAULT esd_debug
-/* elementfactory information */
-static const GstElementDetails esdsink_details =
-GST_ELEMENT_DETAILS ("Esound audio sink",
- "Sink/Audio",
- "Plays audio to an esound server",
- "Arwed von Merkatz <v.merkatz@gmx.net>");
-
enum
{
PROP_0,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_factory));
- gst_element_class_set_details (element_class, &esdsink_details);
+ gst_element_class_set_details_simple (element_class, "Esound audio sink",
+ "Sink/Audio",
+ "Plays audio to an esound server",
+ "Arwed von Merkatz <v.merkatz@gmx.net>");
}
static void
gst_gconf_audio_sink_base_init (gpointer klass)
{
GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
- static const GstElementDetails gst_gconf_audio_sink_details =
- GST_ELEMENT_DETAILS ("GConf audio sink",
+
+ gst_element_class_set_details_simple (eklass, "GConf audio sink",
"Sink/Audio",
"Audio sink embedding the GConf-settings for audio output",
"Jan Schmidt <thaytan@mad.scientist.com>");
- gst_element_class_set_details (eklass, &gst_gconf_audio_sink_details);
}
#define GST_TYPE_GCONF_PROFILE (gst_gconf_profile_get_type())
gst_gconf_audio_src_base_init (gpointer klass)
{
GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
- static const GstElementDetails gst_gconf_audio_src_details =
- GST_ELEMENT_DETAILS ("GConf audio source",
- "Source/Audio",
- "Audio source embedding the GConf-settings for audio input",
- "GStreamer maintainers <gstreamer-devel@lists.sourceforge.net>");
+
static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
gst_element_class_add_pad_template (eklass,
gst_static_pad_template_get (&src_template));
- gst_element_class_set_details (eklass, &gst_gconf_audio_src_details);
+ gst_element_class_set_details_simple (eklass, "GConf audio source",
+ "Source/Audio",
+ "Audio source embedding the GConf-settings for audio input",
+ "GStreamer maintainers <gstreamer-devel@lists.sourceforge.net>");
}
static void
gst_gconf_video_sink_base_init (gpointer klass)
{
GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
- static const GstElementDetails gst_gconf_video_sink_details =
- GST_ELEMENT_DETAILS ("GConf video sink",
- "Sink/Video",
- "Video sink embedding the GConf-settings for video output",
- "GStreamer maintainers <gstreamer-devel@lists.sourceforge.net>");
+
static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
gst_element_class_add_pad_template (eklass,
gst_static_pad_template_get (&sink_template));
- gst_element_class_set_details (eklass, &gst_gconf_video_sink_details);
+ gst_element_class_set_details_simple (eklass, "GConf video sink",
+ "Sink/Video",
+ "Video sink embedding the GConf-settings for video output",
+ "GStreamer maintainers <gstreamer-devel@lists.sourceforge.net>");
}
static void
gst_gconf_video_src_base_init (gpointer klass)
{
GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
- static const GstElementDetails gst_gconf_video_src_details =
- GST_ELEMENT_DETAILS ("GConf video source",
- "Source/Video",
- "Video source embedding the GConf-settings for video input",
- "GStreamer maintainers <gstreamer-devel@lists.sourceforge.net>");
+
static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
gst_element_class_add_pad_template (eklass,
gst_static_pad_template_get (&src_template));
- gst_element_class_set_details (eklass, &gst_gconf_video_src_details);
+ gst_element_class_set_details_simple (eklass, "GConf video source",
+ "Source/Video",
+ "Video source embedding the GConf-settings for video input",
+ "GStreamer maintainers <gstreamer-devel@lists.sourceforge.net>");
}
static void
GST_DEBUG_CATEGORY_STATIC (gst_gdk_pixbuf_debug);
#define GST_CAT_DEFAULT gst_gdk_pixbuf_debug
-static const GstElementDetails plugin_details =
-GST_ELEMENT_DETAILS ("GdkPixbuf image decoder",
- "Codec/Decoder/Image",
- "Decodes images in a video stream using GdkPixbuf",
- "David A. Schleef <ds@schleef.org>, Renato Filho <renato.filho@indt.org.br>");
-
enum
{
ARG_0,
gst_static_pad_template_get (&gst_gdk_pixbuf_src_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_gdk_pixbuf_sink_template));
- gst_element_class_set_details (element_class, &plugin_details);
+ gst_element_class_set_details_simple (element_class,
+ "GdkPixbuf image decoder", "Codec/Decoder/Image",
+ "Decodes images in a video stream using GdkPixbuf",
+ "David A. Schleef <ds@schleef.org>, Renato Filho <renato.filho@indt.org.br>");
}
/* initialize the plugin's class */
GST_DEBUG_CATEGORY_STATIC (pixbufscale_debug);
#define GST_CAT_DEFAULT pixbufscale_debug
-/* elementfactory information */
-static const GstElementDetails pixbufscale_details =
-GST_ELEMENT_DETAILS ("GdkPixbuf image scaler",
- "Filter/Effect/Video",
- "Resizes video",
- "Jan Schmidt <thaytan@mad.scientist.com>\n"
- "Wim Taymans <wim.taymans@chello.be>\n"
- "Renato Filho <renato.filho@indt.org.br>");
-
/* GstPixbufScale signals and args */
enum
{
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_set_details (element_class, &pixbufscale_details);
+ gst_element_class_set_details_simple (element_class, "GdkPixbuf image scaler",
+ "Filter/Effect/Video", "Resizes video",
+ "Jan Schmidt <thaytan@mad.scientist.com>, "
+ "Wim Taymans <wim.taymans@chello.be>, "
+ "Renato Filho <renato.filho@indt.org.br>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_pixbufscale_src_template));
gst_hal_audio_sink_base_init (gpointer klass)
{
GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
- static const GstElementDetails gst_hal_audio_sink_details =
- GST_ELEMENT_DETAILS ("HAL audio sink",
- "Sink/Audio",
- "Audio sink for sound device access via HAL",
- "Jürg Billeter <j@bitron.ch>");
+
static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
gst_element_class_add_pad_template (eklass,
gst_static_pad_template_get (&sink_template));
- gst_element_class_set_details (eklass, &gst_hal_audio_sink_details);
+ gst_element_class_set_details_simple (eklass, "HAL audio sink",
+ "Sink/Audio",
+ "Audio sink for sound device access via HAL",
+ "Jürg Billeter <j@bitron.ch>");
}
static void
gst_hal_audio_src_base_init (gpointer klass)
{
GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
- static const GstElementDetails gst_hal_audio_src_details =
- GST_ELEMENT_DETAILS ("HAL audio source",
- "Source/Audio",
- "Audio source for sound device access via HAL",
- "Jürg Billeter <j@bitron.ch>");
+
static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
gst_element_class_add_pad_template (eklass,
gst_static_pad_template_get (&src_template));
- gst_element_class_set_details (eklass, &gst_hal_audio_src_details);
+ gst_element_class_set_details_simple (eklass, "HAL audio source",
+ "Source/Audio",
+ "Audio source for sound device access via HAL",
+ "Jürg Billeter <j@bitron.ch>");
}
static void
#include "gst/gst-i18n-plugin.h"
#include <jerror.h>
-static const GstElementDetails gst_jpeg_dec_details =
-GST_ELEMENT_DETAILS ("JPEG image decoder",
- "Codec/Decoder/Image",
- "Decode images from JPEG format",
- "Wim Taymans <wim@fluendo.com>");
-
#define MIN_WIDTH 16
#define MAX_WIDTH 65535
#define MIN_HEIGHT 8
gst_static_pad_template_get (&gst_jpeg_dec_src_pad_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_jpeg_dec_sink_pad_template));
- gst_element_class_set_details (element_class, &gst_jpeg_dec_details);
+ gst_element_class_set_details_simple (element_class, "JPEG image decoder",
+ "Codec/Decoder/Image",
+ "Decode images from JPEG format", "Wim Taymans <wim@fluendo.com>");
}
static void
/* setting smoothig seems to have no effect in libjepeg
#define ENABLE_SMOOTHING 1
*/
-/*#define ENABLE_COLORSPACE_RGB 1 */
-
-/* elementfactory information */
-static const GstElementDetails gst_jpegenc_details =
-GST_ELEMENT_DETAILS ("JPEG image encoder",
- "Codec/Encoder/Image",
- "Encode images in JPEG format",
- "Wim Taymans <wim.taymans@tvd.be>");
GST_DEBUG_CATEGORY_STATIC (jpegenc_debug);
#define GST_CAT_DEFAULT jpegenc_debug
gst_static_pad_template_get (&gst_jpegenc_sink_pad_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_jpegenc_src_pad_template));
- gst_element_class_set_details (element_class, &gst_jpegenc_details);
+ gst_element_class_set_details_simple (element_class, "JPEG image encoder",
+ "Codec/Encoder/Image",
+ "Encode images in JPEG format", "Wim Taymans <wim.taymans@tvd.be>");
}
static void
#include "gstsmokedec.h"
#include <gst/video/video.h>
-/* elementfactory information */
-static const GstElementDetails gst_smokedec_details =
-GST_ELEMENT_DETAILS ("Smoke video decoder",
- "Codec/Decoder/Video",
- "Decode video from Smoke format",
- "Wim Taymans <wim@fluendo.com>");
-
GST_DEBUG_CATEGORY_STATIC (smokedec_debug);
#define GST_CAT_DEFAULT smokedec_debug
gst_static_pad_template_get (&gst_smokedec_src_pad_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_smokedec_sink_pad_template));
- gst_element_class_set_details (element_class, &gst_smokedec_details);
+ gst_element_class_set_details_simple (element_class, "Smoke video decoder",
+ "Codec/Decoder/Video",
+ "Decode video from Smoke format", "Wim Taymans <wim@fluendo.com>");
}
static void
#include "gstsmokeenc.h"
#include <gst/video/video.h>
-/* elementfactory information */
-static const GstElementDetails gst_smokeenc_details =
-GST_ELEMENT_DETAILS ("Smoke video encoder",
- "Codec/Encoder/Video",
- "Encode images into the Smoke format",
- "Wim Taymans <wim@fluendo.com>");
-
GST_DEBUG_CATEGORY_STATIC (smokeenc_debug);
#define GST_CAT_DEFAULT smokeenc_debug
gst_static_pad_template_get (&gst_smokeenc_sink_pad_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_smokeenc_src_pad_template));
- gst_element_class_set_details (element_class, &gst_smokeenc_details);
+ gst_element_class_set_details_simple (element_class, "Smoke video encoder",
+ "Codec/Encoder/Video",
+ "Encode images into the Smoke format", "Wim Taymans <wim@fluendo.com>");
}
static void
//#define GST_CACA_DEFAULT_GREEN_MASK G_MASK_32_REVERSE_INT
//#define GST_CACA_DEFAULT_BLUE_MASK B_MASK_32_REVERSE_INT
-/* elementfactory information */
-static const GstElementDetails gst_cacasink_details =
-GST_ELEMENT_DETAILS ("A colored ASCII art video sink",
- "Sink/Video",
- "A colored ASCII art videosink",
- "Zeeshan Ali <zak147@yahoo.com>");
-
/* cacasink signals and args */
enum
{
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_set_details (element_class, &gst_cacasink_details);
+ gst_element_class_set_details_simple (element_class,
+ "A colored ASCII art video sink", "Sink/Video",
+ "A colored ASCII art videosink", "Zeeshan Ali <zak147@yahoo.com>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_template));
}
#include <gst/gst.h>
GType gst_mngenc_get_type (void);
-extern GstElementDetails gst_mngenc_details;
extern GstPadTemplate *gst_mng_sink_factory ();
extern GstPadTemplate *gst_mng_src_factory ();
#include "gstmngdec.h"
#include <gst/video/video.h>
-static const GstElementDetails gst_mng_dec_details =
-GST_ELEMENT_DETAILS ("MNG video decoder",
- "Codec/Decoder/Video",
- "Decode a mng video to raw images",
- "Wim Taymans <wim@fluendo.com>");
-
/* Filter signals and args */
enum
{
gst_static_pad_template_get (&gst_mng_dec_src_pad_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_mng_dec_sink_pad_template));
- gst_element_class_set_details (element_class, &gst_mng_dec_details);
+ gst_element_class_set_details_simple (element_class, "MNG video decoder",
+ "Codec/Decoder/Video",
+ "Decode a mng video to raw images", "Wim Taymans <wim@fluendo.com>");
}
static void
#define MAX_HEIGHT 4096
-static const GstElementDetails gst_mng_enc_details =
-GST_ELEMENT_DETAILS ("MNG video encoder",
- "Codec/Encoder/Video",
- "Encode a video frame to an .mng video",
- "Wim Taymans <wim@fluendo.com>");
-
-
/* Filter signals and args */
enum
{
gst_element_class_add_pad_template (element_class, mngenc_sink_template);
gst_element_class_add_pad_template (element_class, mngenc_src_template);
- gst_element_class_set_details (element_class, &gst_mng_enc_details);
+ gst_element_class_set_details_simple (element_class, "MNG video encoder",
+ "Codec/Encoder/Video",
+ "Encode a video frame to an .mng video", "Wim Taymans <wim@fluendo.com>");
}
static void
#include <png.h>
GType gst_pngenc_get_type (void);
-extern GstElementDetails gst_pngenc_details;
extern GstPadTemplate *gst_png_sink_factory ();
extern GstPadTemplate *gst_png_src_factory ();
#include <gst/video/video.h>
#include <gst/gst-i18n-plugin.h>
-static const GstElementDetails gst_pngdec_details =
-GST_ELEMENT_DETAILS ("PNG image decoder",
- "Codec/Decoder/Image",
- "Decode a png video frame to a raw image",
- "Wim Taymans <wim@fluendo.com>");
-
GST_DEBUG_CATEGORY_STATIC (pngdec_debug);
#define GST_CAT_DEFAULT pngdec_debug
gst_static_pad_template_get (&gst_pngdec_src_pad_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_pngdec_sink_pad_template));
- gst_element_class_set_details (element_class, &gst_pngdec_details);
+ gst_element_class_set_details_simple (element_class, "PNG image decoder",
+ "Codec/Decoder/Image",
+ "Decode a png video frame to a raw image",
+ "Wim Taymans <wim@fluendo.com>");
}
static void
#define MAX_HEIGHT 4096
-
-static const GstElementDetails gst_pngenc_details =
-GST_ELEMENT_DETAILS ("PNG image encoder",
- "Codec/Encoder/Image",
- "Encode a video frame to a .png image",
- "Jeremy SIMON <jsimon13@yahoo.fr>");
-
GST_DEBUG_CATEGORY_STATIC (pngenc_debug);
#define GST_CAT_DEFAULT pngenc_debug
(element_class, gst_static_pad_template_get (&pngenc_sink_template));
gst_element_class_add_pad_template
(element_class, gst_static_pad_template_get (&pngenc_src_template));
- gst_element_class_set_details (element_class, &gst_pngenc_details);
+ gst_element_class_set_details_simple (element_class, "PNG image encoder",
+ "Codec/Encoder/Image",
+ "Encode a video frame to a .png image",
+ "Jeremy SIMON <jsimon13@yahoo.fr>");
}
static void
#include <stdlib.h>
-/* elementfactory information */
-static const GstElementDetails mikmod_details =
-GST_ELEMENT_DETAILS ("MikMod audio decoder",
- "Codec/Decoder/Audio",
- "Module decoder based on libmikmod",
- "Jeremy SIMON <jsimon13@yahoo.fr>");
-
-
/* Filter signals and args */
enum
{
gst_static_pad_template_get (&mikmod_src_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&mikmod_sink_factory));
- gst_element_class_set_details (element_class, &mikmod_details);
+ gst_element_class_set_details_simple (element_class, "MikMod audio decoder",
+ "Codec/Decoder/Audio",
+ "Module decoder based on libmikmod", "Jeremy SIMON <jsimon13@yahoo.fr>");
}
static void
PROP_DEVICE_NAME
};
-static const GstElementDetails gst_dv1394src_details =
-GST_ELEMENT_DETAILS ("Firewire (1394) DV video source",
- "Source/Video",
- "Source for DV video data from firewire port",
- "Erik Walthinsen <omega@temple-baptist.com>\n"
- "Daniel Fischer <dan@f3c.com>\n" "Wim Taymans <wim@fluendo.com>\n"
- "Zaheer Abbas Merali <zaheerabbas at merali dot org>");
-
static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_factory));
- gst_element_class_set_details (element_class, &gst_dv1394src_details);
+ gst_element_class_set_details_simple (element_class,
+ "Firewire (1394) DV video source", "Source/Video",
+ "Source for DV video data from firewire port",
+ "Erik Walthinsen <omega@temple-baptist.com>, "
+ "Daniel Fischer <dan@f3c.com>, " "Wim Taymans <wim@fluendo.com>, "
+ "Zaheer Abbas Merali <zaheerabbas at merali dot org>");
}
static void
PROP_DEVICE_NAME
};
-static const GstElementDetails gst_hdv1394src_details =
-GST_ELEMENT_DETAILS ("Firewire (1394) HDV video source",
- "Source/Video",
- "Source for MPEG-TS video data from firewire port",
- "Edward Hervey <bilboed@bilboed.com>");
-
static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_factory));
- gst_element_class_set_details (element_class, &gst_hdv1394src_details);
+ gst_element_class_set_details_simple (element_class,
+ "Firewire (1394) HDV video source", "Source/Video",
+ "Source for MPEG-TS video data from firewire port",
+ "Edward Hervey <bilboed@bilboed.com>");
}
static void
GST_DEBUG_CATEGORY_STATIC (shout2_debug);
#define GST_CAT_DEFAULT shout2_debug
-static const GstElementDetails shout2send_details =
-GST_ELEMENT_DETAILS ("Icecast network sink",
- "Sink/Network",
- "Sends data to an icecast server",
- "Wim Taymans <wim.taymans@chello.be>\n"
- "Pedro Corte-Real <typo@netcabo.pt>\n"
- "Zaheer Abbas Merali <zaheerabbas at merali dot org>");
-
enum
{
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_template));
- gst_element_class_set_details (element_class, &shout2send_details);
+ gst_element_class_set_details_simple (element_class, "Icecast network sink",
+ "Sink/Network", "Sends data to an icecast server",
+ "Wim Taymans <wim.taymans@chello.be>, "
+ "Pedro Corte-Real <typo@netcabo.pt>, "
+ "Zaheer Abbas Merali <zaheerabbas at merali dot org>");
GST_DEBUG_CATEGORY_INIT (shout2_debug, "shout2", 0, "shout2send element");
}
GST_DEBUG_CATEGORY_STATIC (souphttpsrc_debug);
#define GST_CAT_DEFAULT souphttpsrc_debug
-static const GstElementDetails gst_soup_http_src_details =
-GST_ELEMENT_DETAILS ("HTTP client source",
- "Source/Network",
- "Receive data as a client over the network via HTTP using SOUP",
- "Wouter Cloetens <wouter@mind.be>");
-
static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&srctemplate));
- gst_element_class_set_details (element_class, &gst_soup_http_src_details);
+ gst_element_class_set_details_simple (element_class, "HTTP client source",
+ "Source/Network",
+ "Receive data as a client over the network via HTTP using SOUP",
+ "Wouter Cloetens <wouter@mind.be>");
}
static void
GST_DEBUG_CATEGORY_STATIC (speexdec_debug);
#define GST_CAT_DEFAULT speexdec_debug
-static const GstElementDetails speex_dec_details =
-GST_ELEMENT_DETAILS ("Speex audio decoder",
- "Codec/Decoder/Audio",
- "decode speex streams to audio",
- "Wim Taymans <wim@fluendo.com>");
-
#define DEFAULT_ENH TRUE
enum
gst_static_pad_template_get (&speex_dec_src_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&speex_dec_sink_factory));
- gst_element_class_set_details (element_class, &speex_dec_details);
+ gst_element_class_set_details_simple (element_class, "Speex audio decoder",
+ "Codec/Decoder/Audio",
+ "decode speex streams to audio", "Wim Taymans <wim@fluendo.com>");
}
static void
"rate = (int) [ 6000, 48000 ], " "channels = (int) [ 1, 2]")
);
-static const GstElementDetails speexenc_details =
-GST_ELEMENT_DETAILS ("Speex audio encoder",
- "Codec/Encoder/Audio",
- "Encodes audio in Speex format",
- "Wim Taymans <wim@fluendo.com>");
-
#define DEFAULT_QUALITY 8.0
#define DEFAULT_BITRATE 0
#define DEFAULT_MODE GST_SPEEX_ENC_MODE_AUTO
gst_static_pad_template_get (&src_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_factory));
- gst_element_class_set_details (element_class, &speexenc_details);
+ gst_element_class_set_details_simple (element_class, "Speex audio encoder",
+ "Codec/Encoder/Audio",
+ "Encodes audio in Speex format", "Wim Taymans <wim@fluendo.com>");
}
static void
GST_DEBUG_CATEGORY_STATIC (apedemux_debug);
#define GST_CAT_DEFAULT (apedemux_debug)
-static const GstElementDetails gst_ape_demux_details =
-GST_ELEMENT_DETAILS ("APE tag demuxer",
- "Codec/Demuxer/Metadata",
- "Read and output APE tags while demuxing the contents",
- "Tim-Philipp Müller <tim centricular net>");
-
static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_factory));
- gst_element_class_set_details (element_class, &gst_ape_demux_details);
+ gst_element_class_set_details_simple (element_class, "APE tag demuxer",
+ "Codec/Demuxer/Metadata",
+ "Read and output APE tags while demuxing the contents",
+ "Tim-Philipp Müller <tim centricular net>");
GST_DEBUG_CATEGORY_INIT (apedemux_debug, "apedemux", 0,
"GStreamer APE tag demuxer");
#define GST_CAT_DEFAULT gst_audio_amplify_debug
GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT);
-static const GstElementDetails element_details =
-GST_ELEMENT_DETAILS ("Audio amplifier",
- "Filter/Effect/Audio",
- "Amplifies an audio stream by a given factor",
- "Sebastian Dröge <slomo@circular-chaos.org>");
-
/* Filter signals and args */
enum
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
GstCaps *caps;
- gst_element_class_set_details (element_class, &element_details);
+ gst_element_class_set_details_simple (element_class, "Audio amplifier",
+ "Filter/Effect/Audio",
+ "Amplifies an audio stream by a given factor",
+ "Sebastian Dröge <slomo@circular-chaos.org>");
caps = gst_caps_from_string (ALLOWED_CAPS);
gst_audio_filter_class_add_pad_templates (GST_AUDIO_FILTER_CLASS (klass),
#define GST_CAT_DEFAULT gst_audio_dynamic_debug
GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT);
-static const GstElementDetails element_details =
-GST_ELEMENT_DETAILS ("Dynamic range controller",
- "Filter/Effect/Audio",
- "Compressor and Expander",
- "Sebastian Dröge <slomo@circular-chaos.org>");
-
/* Filter signals and args */
enum
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
GstCaps *caps;
- gst_element_class_set_details (element_class, &element_details);
+ gst_element_class_set_details_simple (element_class,
+ "Dynamic range controller", "Filter/Effect/Audio",
+ "Compressor and Expander", "Sebastian Dröge <slomo@circular-chaos.org>");
caps = gst_caps_from_string (ALLOWED_CAPS);
gst_audio_filter_class_add_pad_templates (GST_AUDIO_FILTER_CLASS (klass),
#define GST_CAT_DEFAULT gst_audio_invert_debug
GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT);
-static const GstElementDetails element_details =
-GST_ELEMENT_DETAILS ("Audio inversion",
- "Filter/Effect/Audio",
- "Swaps upper and lower half of audio samples",
- "Sebastian Dröge <slomo@circular-chaos.org>");
-
/* Filter signals and args */
enum
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
GstCaps *caps;
- gst_element_class_set_details (element_class, &element_details);
+ gst_element_class_set_details_simple (element_class, "Audio inversion",
+ "Filter/Effect/Audio",
+ "Swaps upper and lower half of audio samples",
+ "Sebastian Dröge <slomo@circular-chaos.org>");
caps = gst_caps_from_string (ALLOWED_CAPS);
gst_audio_filter_class_add_pad_templates (GST_AUDIO_FILTER_CLASS (klass),
#define GST_CAT_DEFAULT gst_audio_karaoke_debug
GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT);
-static const GstElementDetails element_details =
-GST_ELEMENT_DETAILS ("AudioKaraoke",
- "Filter/Effect/Audio",
- "Removes voice from sound",
- "Wim Taymans <wim.taymans@gmail.com>");
-
/* Filter signals and args */
enum
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
GstCaps *caps;
- gst_element_class_set_details (element_class, &element_details);
+ gst_element_class_set_details_simple (element_class, "AudioKaraoke",
+ "Filter/Effect/Audio",
+ "Removes voice from sound", "Wim Taymans <wim.taymans@gmail.com>");
caps = gst_caps_from_string (ALLOWED_CAPS);
gst_audio_filter_class_add_pad_templates (GST_AUDIO_FILTER_CLASS (klass),
#define GST_CAT_DEFAULT gst_audio_panorama_debug
GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT);
-static const GstElementDetails element_details =
-GST_ELEMENT_DETAILS ("Stereo positioning",
- "Filter/Effect/Audio",
- "Positions audio streams in the stereo panorama",
- "Stefan Kost <ensonic@users.sf.net>");
-
/* Filter signals and args */
enum
{
gst_static_pad_template_get (&src_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_template));
- gst_element_class_set_details (element_class, &element_details);
+ gst_element_class_set_details_simple (element_class, "Stereo positioning",
+ "Filter/Effect/Audio",
+ "Positions audio streams in the stereo panorama",
+ "Stefan Kost <ensonic@users.sf.net>");
}
static void
GST_DEBUG_CATEGORY_STATIC (auparse_debug);
#define GST_CAT_DEFAULT (auparse_debug)
-static const GstElementDetails gst_au_parse_details =
-GST_ELEMENT_DETAILS ("AU audio demuxer",
- "Codec/Demuxer/Audio",
- "Parse an .au file into raw audio",
- "Erik Walthinsen <omega@cse.ogi.edu>");
-
static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
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, &gst_au_parse_details);
+ gst_element_class_set_details_simple (element_class, "AU audio demuxer",
+ "Codec/Demuxer/Audio",
+ "Parse an .au file into raw audio",
+ "Erik Walthinsen <omega@cse.ogi.edu>");
GST_DEBUG_CATEGORY_INIT (auparse_debug, "auparse", 0, ".au parser");
}
GST_BOILERPLATE (GstAutoAudioSink, gst_auto_audio_sink, GstBin, GST_TYPE_BIN);
-static const GstElementDetails gst_auto_audio_sink_details =
-GST_ELEMENT_DETAILS ("Auto audio sink",
- "Sink/Audio",
- "Wrapper audio sink for automatically detected audio sink",
- "Jan Schmidt <thaytan@noraisin.net>");
-
static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
gst_element_class_add_pad_template (eklass,
gst_static_pad_template_get (&sink_template));
- gst_element_class_set_details (eklass, &gst_auto_audio_sink_details);
+ gst_element_class_set_details_simple (eklass, "Auto audio sink",
+ "Sink/Audio",
+ "Wrapper audio sink for automatically detected audio sink",
+ "Jan Schmidt <thaytan@noraisin.net>");
}
static void
GST_BOILERPLATE (GstAutoAudioSrc, gst_auto_audio_src, GstBin, GST_TYPE_BIN);
-static const GstElementDetails gst_auto_audio_src_details =
-GST_ELEMENT_DETAILS ("Auto audio source",
- "Source/Audio",
- "Wrapper audio source for automatically detected audio source",
- "Jan Schmidt <thaytan@noraisin.net>\n"
- "Stefan Kost <ensonic@users.sf.net>");
-
static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
gst_element_class_add_pad_template (eklass,
gst_static_pad_template_get (&src_template));
- gst_element_class_set_details (eklass, &gst_auto_audio_src_details);
+ gst_element_class_set_details_simple (eklass, "Auto audio source",
+ "Source/Audio",
+ "Wrapper audio source for automatically detected audio source",
+ "Jan Schmidt <thaytan@noraisin.net>, "
+ "Stefan Kost <ensonic@users.sf.net>");
}
static void
GST_BOILERPLATE (GstAutoVideoSink, gst_auto_video_sink, GstBin, GST_TYPE_BIN);
-static const GstElementDetails gst_auto_video_sink_details =
-GST_ELEMENT_DETAILS ("Auto video sink",
- "Sink/Video",
- "Wrapper video sink for automatically detected video sink",
- "Jan Schmidt <thaytan@noraisin.net>");
-
static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
gst_element_class_add_pad_template (eklass,
gst_static_pad_template_get (&sink_template));
- gst_element_class_set_details (eklass, &gst_auto_video_sink_details);
+ gst_element_class_set_details_simple (eklass, "Auto video sink",
+ "Sink/Video",
+ "Wrapper video sink for automatically detected video sink",
+ "Jan Schmidt <thaytan@noraisin.net>");
}
static void
GST_BOILERPLATE (GstAutoVideoSrc, gst_auto_video_src, GstBin, GST_TYPE_BIN);
-static const GstElementDetails gst_auto_video_src_details =
-GST_ELEMENT_DETAILS ("Auto video source",
- "Source/Video",
- "Wrapper video source for automatically detected video source",
- "Jan Schmidt <thaytan@noraisin.net>\n"
- "Stefan Kost <ensonic@users.sf.net>");
-
static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
gst_element_class_add_pad_template (eklass,
gst_static_pad_template_get (&src_template));
- gst_element_class_set_details (eklass, &gst_auto_video_src_details);
+ gst_element_class_set_details_simple (eklass, "Auto video source",
+ "Source/Video",
+ "Wrapper video source for automatically detected video source",
+ "Jan Schmidt <thaytan@noraisin.net>, "
+ "Stefan Kost <ensonic@users.sf.net>");
}
static void
static void
gst_avi_demux_base_init (GstAviDemuxClass * klass)
{
- static const GstElementDetails gst_avi_demux_details =
- GST_ELEMENT_DETAILS ("Avi demuxer",
- "Codec/Demuxer",
- "Demultiplex an avi file into audio and video",
- "Erik Walthinsen <omega@cse.ogi.edu>\n"
- "Wim Taymans <wim.taymans@chello.be>\n"
- "Thijs Vermeir <thijsvermeir@gmail.com>");
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
GstPadTemplate *videosrctempl, *audiosrctempl, *subsrctempl;
GstCaps *audcaps, *vidcaps, *subcaps;
gst_element_class_add_pad_template (element_class, subsrctempl);
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_templ));
- gst_element_class_set_details (element_class, &gst_avi_demux_details);
+ gst_element_class_set_details_simple (element_class, "Avi demuxer",
+ "Codec/Demuxer",
+ "Demultiplex an avi file into audio and video",
+ "Erik Walthinsen <omega@cse.ogi.edu>, "
+ "Wim Taymans <wim.taymans@chello.be>, "
+ "Thijs Vermeir <thijsvermeir@gmail.com>");
}
static void
#define DEFAULT_BIGFILE TRUE
-static const GstElementDetails gst_avi_mux_details =
-GST_ELEMENT_DETAILS ("Avi muxer",
- "Codec/Muxer",
- "Muxes audio and video into an avi stream",
- "GStreamer maintainers <gstreamer-devel@lists.sourceforge.net>");
-
static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&video_sink_factory));
- gst_element_class_set_details (element_class, &gst_avi_mux_details);
+ gst_element_class_set_details_simple (element_class, "Avi muxer",
+ "Codec/Muxer",
+ "Muxes audio and video into an avi stream",
+ "GStreamer maintainers <gstreamer-devel@lists.sourceforge.net>");
GST_DEBUG_CATEGORY_INIT (avimux_debug, "avimux", 0, "Muxer for AVI streams");
}
#define CUTTER_DEFAULT_THRESHOLD_LENGTH (500 * GST_MSECOND)
#define CUTTER_DEFAULT_PRE_LENGTH (200 * GST_MSECOND)
-static const GstElementDetails cutter_details =
-GST_ELEMENT_DETAILS ("Audio cutter",
- "Filter/Editor/Audio",
- "Audio Cutter to split audio into non-silent bits",
- "Thomas Vander Stichele <thomas at apestaart dot org>");
-
static GstStaticPadTemplate cutter_src_factory = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
gst_static_pad_template_get (&cutter_src_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&cutter_sink_factory));
- gst_element_class_set_details (element_class, &cutter_details);
+ gst_element_class_set_details_simple (element_class, "Audio cutter",
+ "Filter/Editor/Audio",
+ "Audio Cutter to split audio into non-silent bits",
+ "Thomas Vander Stichele <thomas at apestaart dot org>");
}
static void
static gboolean gst_break_my_data_stop (GstBaseTransform * trans);
static gboolean gst_break_my_data_start (GstBaseTransform * trans);
-static const GstElementDetails details = GST_ELEMENT_DETAILS ("Break my data",
- "Testing",
- "randomly change data in the stream",
- "Benjamin Otte <otte@gnome>");
-
GstStaticPadTemplate bmd_src_template = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&bmd_src_template));
- gst_element_class_set_details (gstelement_class, &details);
+ gst_element_class_set_details_simple (gstelement_class, "Break my data",
+ "Testing",
+ "randomly change data in the stream", "Benjamin Otte <otte@gnome>");
}
static void
GST_DEBUG_CATEGORY_STATIC (gst_efence_debug);
#define GST_CAT_DEFAULT gst_efence_debug
-static const GstElementDetails plugin_details =
-GST_ELEMENT_DETAILS ("Electric Fence",
- "Testing",
- "This element converts a stream of normal GStreamer buffers into a "
- "stream of buffers that are allocated in such a way that out-of-bounds "
- "access to data in the buffer is more likely to cause segmentation "
- "faults. This allocation method is very similar to the debugging tool "
- "\"Electric Fence\".",
- "David A. Schleef <ds@schleef.org>");
-
/* Filter signals and args */
enum
{
gst_static_pad_template_get (&gst_efence_sink_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_efence_src_factory));
- gst_element_class_set_details (element_class, &plugin_details);
+ gst_element_class_set_details_simple (element_class, "Electric Fence",
+ "Testing",
+ "This element converts a stream of normal GStreamer buffers into a "
+ "stream of buffers that are allocated in such a way that out-of-bounds "
+ "access to data in the buffer is more likely to cause segmentation "
+ "faults. This allocation method is very similar to the debugging tool "
+ "\"Electric Fence\".", "David A. Schleef <ds@schleef.org>");
}
/* initialize the plugin's class */
GST_DEBUG_CATEGORY_STATIC (navigationtest_debug);
#define GST_CAT_DEFAULT navigationtest_debug
-static const GstElementDetails navigationtest_details =
-GST_ELEMENT_DETAILS ("Video navigation test",
- "Filter/Effect/Video",
- "Handle navigation events showing a black square following mouse pointer",
- "David Schleef <ds@schleef.org>");
-
static GstStaticPadTemplate gst_navigationtest_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_set_details (element_class, &navigationtest_details);
+ gst_element_class_set_details_simple (element_class, "Video navigation test",
+ "Filter/Effect/Video",
+ "Handle navigation events showing a black square following mouse pointer",
+ "David Schleef <ds@schleef.org>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_navigationtest_sink_template));
GST_PAD_ALWAYS,
GST_STATIC_CAPS_ANY);
-static const GstElementDetails navseek_details =
-GST_ELEMENT_DETAILS ("Seek based on left-right arrows",
- "Filter/Video",
- "Seek based on navigation keys left-right",
- "Jan Schmidt <thaytan@mad.scientist.com>");
-
static gboolean gst_navseek_event (GstBaseTransform * trans, GstEvent * event);
static GstFlowReturn gst_navseek_transform_ip (GstBaseTransform * basetrans,
GstBuffer * buf);
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&navseek_src_template));
- gst_element_class_set_details (element_class, &navseek_details);
+ gst_element_class_set_details_simple (element_class,
+ "Seek based on left-right arrows", "Filter/Video",
+ "Seek based on navigation keys left-right",
+ "Jan Schmidt <thaytan@mad.scientist.com>");
}
static void
GST_DEBUG_CATEGORY_STATIC (pushfilesrc_debug);
#define GST_CAT_DEFAULT pushfilesrc_debug
-static const GstElementDetails pushfilesrc_details =
-GST_ELEMENT_DETAILS ("Push File Source",
- "Testing",
- "Implements pushfile:// URI-handler for push-based file access",
- "Tim-Philipp Müller <tim centricular net>");
-
static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&srctemplate));
- gst_element_class_set_details (element_class, &pushfilesrc_details);
+ gst_element_class_set_details_simple (element_class, "Push File Source",
+ "Testing",
+ "Implements pushfile:// URI-handler for push-based file access",
+ "Tim-Philipp Müller <tim centricular net>");
}
static void
GType gst_gst_negotiation_get_type (void);
-
-static const GstElementDetails plugin_details =
-GST_ELEMENT_DETAILS ("Negotiation",
- "Testing",
- "This element acts like identity, except that one can control how "
- "negotiation works",
- "David A. Schleef <ds@schleef.org>");
-
/* Filter signals and args */
enum
{
gst_static_pad_template_get (&gst_negotiation_sink_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_negotiation_src_factory));
- gst_element_class_set_details (element_class, &plugin_details);
+ gst_element_class_set_details_simple (element_class, "Negotiation",
+ "Testing",
+ "This element acts like identity, except that one can control how "
+ "negotiation works", "David A. Schleef <ds@schleef.org>");
}
static void
GST_PAD_ALWAYS,
GST_STATIC_CAPS_ANY);
-static const GstElementDetails progress_report_details =
-GST_ELEMENT_DETAILS ("Progress report",
- "Testing",
- "Periodically query and report on processing progress",
- "Jan Schmidt <thaytan@mad.scientist.com>");
-
#define DEFAULT_UPDATE_FREQ 5
#define DEFAULT_SILENT FALSE
#define DEFAULT_FORMAT "auto"
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&progress_report_src_template));
- gst_element_class_set_details (element_class, &progress_report_details);
+ gst_element_class_set_details_simple (element_class, "Progress report",
+ "Testing",
+ "Periodically query and report on processing progress",
+ "Jan Schmidt <thaytan@mad.scientist.com>");
}
static void
GST_PAD_ALWAYS,
GST_STATIC_CAPS_ANY);
-
-static const GstElementDetails details = GST_ELEMENT_DETAILS ("Test plugin",
- "Testing",
- "perform a number of tests",
- "Benjamin Otte <otte@gnome>");
-
#define DEBUG_INIT(bla) \
GST_DEBUG_CATEGORY_INIT (gst_test_debug, "testsink", 0, \
"debugging category for testsink element");
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&sinktemplate));
- gst_element_class_set_details (gstelement_class, &details);
+ gst_element_class_set_details_simple (gstelement_class, "Test plugin",
+ "Testing", "perform a number of tests", "Benjamin Otte <otte@gnome>");
}
static void
GST_DEBUG_CATEGORY_STATIC (flxdec_debug);
#define GST_CAT_DEFAULT flxdec_debug
-/* flx element information */
-static const GstElementDetails flxdec_details =
-GST_ELEMENT_DETAILS ("FLX video decoder",
- "Codec/Decoder/Video",
- "FLC/FLI/FLX video decoder",
- "Sepp Wijnands <mrrazz@garbage-coderz.net>, Zeeshan Ali <zeenix@gmail.com>");
-
/* input */
static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
{
GstElementClass *gstelement_class = GST_ELEMENT_CLASS (klass);
- gst_element_class_set_details (gstelement_class, &flxdec_details);
+ gst_element_class_set_details_simple (gstelement_class, "FLX video decoder",
+ "Codec/Decoder/Video",
+ "FLC/FLI/FLX video decoder",
+ "Sepp Wijnands <mrrazz@garbage-coderz.net>, Zeeshan Ali <zeenix@gmail.com>");
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&sink_factory));
gst_element_class_add_pad_template (gstelement_class,
GST_DEBUG_CATEGORY (goom_debug);
#define GST_CAT_DEFAULT goom_debug
-/* elementfactory information */
-static const GstElementDetails gst_goom_details =
-GST_ELEMENT_DETAILS ("GOOM: what a GOOM!",
- "Visualization",
- "Takes frames of data and outputs video frames using the GOOM filter",
- "Wim Taymans <wim@fluendo.com>");
-
/* signals and args */
enum
{
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
- gst_element_class_set_details (element_class, &gst_goom_details);
+ gst_element_class_set_details_simple (element_class, "GOOM: what a GOOM!",
+ "Visualization",
+ "Takes frames of data and outputs video frames using the GOOM filter",
+ "Wim Taymans <wim@fluendo.com>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_template));
gst_element_class_add_pad_template (element_class,
GST_DEBUG_CATEGORY_STATIC (goom_debug);
#define GST_CAT_DEFAULT goom_debug
-/* elementfactory information */
-static const GstElementDetails gst_goom_details =
-GST_ELEMENT_DETAILS ("GOOM: what a GOOM! 2k1 edition",
- "Visualization",
- "Takes frames of data and outputs video frames using the GOOM 2k1 filter",
- "Wim Taymans <wim@fluendo.com>");
-
/* signals and args */
enum
{
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
- gst_element_class_set_details (element_class, &gst_goom_details);
+ gst_element_class_set_details_simple (element_class,
+ "GOOM: what a GOOM! 2k1 edition", "Visualization",
+ "Takes frames of data and outputs video frames using the GOOM 2k1 filter",
+ "Wim Taymans <wim@fluendo.com>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_template));
gst_element_class_add_pad_template (element_class,
#include <string.h>
-static const GstElementDetails gst_icydemux_details =
-GST_ELEMENT_DETAILS ("ICY tag demuxer",
- "Codec/Demuxer/Metadata",
- "Read and output ICY tags while demuxing the contents",
- "Jan Schmidt <thaytan@mad.scientist.com>\n"
- "Michael Smith <msmith@fluendo.com>");
-
#define ICY_TYPE_FIND_MAX_SIZE (40*1024)
GST_DEBUG_CATEGORY_STATIC (icydemux_debug);
gst_static_pad_template_get (&src_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_factory));
- gst_element_class_set_details (element_class, &gst_icydemux_details);
+ gst_element_class_set_details_simple (element_class, "ICY tag demuxer",
+ "Codec/Demuxer/Metadata",
+ "Read and output ICY tags while demuxing the contents",
+ "Jan Schmidt <thaytan@mad.scientist.com>, "
+ "Michael Smith <msmith@fluendo.com>");
}
static void
#include "gstid3demux.h"
#include "id3tags.h"
-static const GstElementDetails gst_id3demux_details =
-GST_ELEMENT_DETAILS ("ID3 tag demuxer",
- "Codec/Demuxer/Metadata",
- "Read and output ID3v1 and ID3v2 tags while demuxing the contents",
- "Jan Schmidt <thaytan@mad.scientist.com>");
-
enum
{
ARG_0,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_factory));
- gst_element_class_set_details (element_class, &gst_id3demux_details);
+ gst_element_class_set_details_simple (element_class, "ID3 tag demuxer",
+ "Codec/Demuxer/Metadata",
+ "Read and output ID3v1 and ID3v2 tags while demuxing the contents",
+ "Jan Schmidt <thaytan@mad.scientist.com>");
}
static void
gst_mulawdec_base_init (GstMuLawDecClass * klass)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
- const GstElementDetails mulawdec_details =
- GST_ELEMENT_DETAILS ("Mu Law audio decoder",
- "Codec/Decoder/Audio",
- "Convert 8bit mu law to 16bit PCM",
- "Zaheer Abbas Merali <zaheerabbas at merali dot org>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&mulaw_dec_src_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&mulaw_dec_sink_factory));
- gst_element_class_set_details (element_class, &mulawdec_details);
+ gst_element_class_set_details_simple (element_class, "Mu Law audio decoder",
+ "Codec/Decoder/Audio",
+ "Convert 8bit mu law to 16bit PCM",
+ "Zaheer Abbas Merali <zaheerabbas at merali dot org>");
}
static void
gst_mulawenc_base_init (GstMuLawEncClass * klass)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
- const GstElementDetails mulawenc_details =
- GST_ELEMENT_DETAILS ("Mu Law audio encoder",
- "Codec/Encoder/Audio",
- "Convert 16bit PCM to 8bit mu law",
- "Zaheer Abbas Merali <zaheerabbas at merali dot org>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&mulaw_enc_src_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&mulaw_enc_sink_factory));
- gst_element_class_set_details (element_class, &mulawenc_details);
+ gst_element_class_set_details_simple (element_class, "Mu Law audio encoder",
+ "Codec/Encoder/Audio",
+ "Convert 16bit PCM to 8bit mu law",
+ "Zaheer Abbas Merali <zaheerabbas at merali dot org>");
}
static void
GST_DEBUG_CATEGORY_STATIC (level_debug);
#define GST_CAT_DEFAULT level_debug
-static const GstElementDetails level_details = GST_ELEMENT_DETAILS ("Level",
- "Filter/Analyzer/Audio",
- "RMS/Peak/Decaying Peak Level messager for audio/raw",
- "Thomas Vander Stichele <thomas at apestaart dot org>");
-
static GstStaticPadTemplate sink_template_factory =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
gst_static_pad_template_get (&sink_template_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_template_factory));
- gst_element_class_set_details (element_class, &level_details);
+ gst_element_class_set_details_simple (element_class, "Level",
+ "Filter/Analyzer/Audio",
+ "RMS/Peak/Decaying Peak Level messager for audio/raw",
+ "Thomas Vander Stichele <thomas at apestaart dot org>");
}
static void
#include "gstmedian.h"
#include <gst/video/video.h>
-/* elementfactory information */
-static const GstElementDetails median_details =
-GST_ELEMENT_DETAILS ("Median effect",
- "Filter/Effect/Video",
- "Apply a median filter to an image",
- "Wim Taymans <wim.taymans@chello.be>");
-
static GstStaticPadTemplate median_src_factory = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
gst_static_pad_template_get (&median_sink_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&median_src_factory));
- gst_element_class_set_details (element_class, &median_details);
+ gst_element_class_set_details_simple (element_class, "Median effect",
+ "Filter/Effect/Video",
+ "Apply a median filter to an image",
+ "Wim Taymans <wim.taymans@chello.be>");
}
static void
GST_DEBUG_CATEGORY_STATIC (monoscope_debug);
#define GST_CAT_DEFAULT monoscope_debug
-/* elementfactory information */
-static const GstElementDetails gst_monoscope_details =
-GST_ELEMENT_DETAILS ("Monoscope",
- "Visualization",
- "Displays a highly stabilised waveform of audio input",
- "Richard Boulton <richard@tartarus.org>");
-
#if G_BYTE_ORDER == G_BIG_ENDIAN
static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
gst_static_pad_template_get (&src_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_template));
- gst_element_class_set_details (element_class, &gst_monoscope_details);
+ gst_element_class_set_details_simple (element_class, "Monoscope",
+ "Visualization",
+ "Displays a highly stabilised waveform of audio input",
+ "Richard Boulton <richard@tartarus.org>");
}
static void
GST_DEBUG_CATEGORY_STATIC (gst_multi_file_sink_debug);
#define GST_CAT_DEFAULT gst_multi_file_sink_debug
-static const GstElementDetails gst_multi_file_sink_details =
-GST_ELEMENT_DETAILS ("Multi-File Sink",
- "Sink/File",
- "Write buffers to a sequentially named set of files",
- "David Schleef <ds@schleef.org>");
-
#define DEFAULT_LOCATION "%05d"
#define DEFAULT_INDEX 0
#define DEFAULT_POST_MESSAGES FALSE
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&sinktemplate));
- gst_element_class_set_details (gstelement_class,
- &gst_multi_file_sink_details);
+ gst_element_class_set_details_simple (gstelement_class, "Multi-File Sink",
+ "Sink/File",
+ "Write buffers to a sequentially named set of files",
+ "David Schleef <ds@schleef.org>");
}
static void
GST_DEBUG_CATEGORY_STATIC (gst_multi_file_src_debug);
#define GST_CAT_DEFAULT gst_multi_file_src_debug
-static const GstElementDetails gst_multi_file_src_details =
-GST_ELEMENT_DETAILS ("Multi-File Source",
- "Source/File",
- "Read a sequentially named set of files into buffers",
- "David Schleef <ds@schleef.org>");
-
enum
{
ARG_0,
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&gst_multi_file_src_pad_template));
- gst_element_class_set_details (gstelement_class, &gst_multi_file_src_details);
+ gst_element_class_set_details_simple (gstelement_class, "Multi-File Source",
+ "Source/File",
+ "Read a sequentially named set of files into buffers",
+ "David Schleef <ds@schleef.org>");
}
static void
GST_DEBUG_CATEGORY_STATIC (gst_multipart_demux_debug);
#define GST_CAT_DEFAULT gst_multipart_demux_debug
-/* elementfactory information */
-static const GstElementDetails gst_multipart_demux_details =
-GST_ELEMENT_DETAILS ("Multipart demuxer",
- "Codec/Demuxer",
- "demux multipart streams",
- "Wim Taymans <wim.taymans@gmail.com>, Sjoerd Simons <sjoerd@luon.net>");
-
-
/* signals and args */
enum
{
gst_static_pad_template_get (&multipart_demux_sink_template_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&multipart_demux_src_template_factory));
- gst_element_class_set_details (element_class, &gst_multipart_demux_details);
+ gst_element_class_set_details_simple (element_class, "Multipart demuxer",
+ "Codec/Demuxer",
+ "demux multipart streams",
+ "Wim Taymans <wim.taymans@gmail.com>, Sjoerd Simons <sjoerd@luon.net>");
}
static void
GST_DEBUG_CATEGORY_STATIC (gst_multipart_mux_debug);
#define GST_CAT_DEFAULT gst_multipart_mux_debug
-/* elementfactory information */
-static const GstElementDetails gst_multipart_mux_details =
-GST_ELEMENT_DETAILS ("Multipart muxer",
- "Codec/Muxer",
- "mux multipart streams",
- "Wim Taymans <wim@fluendo.com>");
-
#define DEFAULT_BOUNDARY "ThisRandomString"
enum
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_factory));
- gst_element_class_set_details (element_class, &gst_multipart_mux_details);
+ gst_element_class_set_details_simple (element_class, "Multipart muxer",
+ "Codec/Muxer", "mux multipart streams", "Wim Taymans <wim@fluendo.com>");
}
static void
GST_DEBUG_CATEGORY_STATIC (rtpxqtdepay_debug);
#define GST_CAT_DEFAULT (rtpxqtdepay_debug)
-/* elementfactory information */
-static const GstElementDetails gst_rtp_xqtdepay_details =
-GST_ELEMENT_DETAILS ("RTP packet depayloader",
- "Codec/Depayloader/Network",
- "Extracts Quicktime audio/video from RTP packets",
- "Wim Taymans <wim@fluendo.com>");
-
/* RtpXQTDepay signals and args */
enum
{
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_xqt_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_xqtdepay_details);
+ gst_element_class_set_details_simple (element_class, "RTP packet depayloader",
+ "Codec/Depayloader/Network",
+ "Extracts Quicktime audio/video from RTP packets",
+ "Wim Taymans <wim@fluendo.com>");
}
static void
guint32 fourcc, GstByteReader * parser);
static GNode *qtdemux_tree_get_sibling_by_type (GNode * node, guint32 fourcc);
-static const GstElementDetails gst_qtdemux_details =
-GST_ELEMENT_DETAILS ("QuickTime demuxer",
- "Codec/Demuxer",
- "Demultiplex a QuickTime file into audio and video streams",
- "David Schleef <ds@schleef.org>, Wim Taymans <wim@fluendo.com>");
-
static GstStaticPadTemplate gst_qtdemux_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
gst_static_pad_template_get (&gst_qtdemux_audiosrc_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_qtdemux_subsrc_template));
- gst_element_class_set_details (element_class, &gst_qtdemux_details);
+ gst_element_class_set_details_simple (element_class, "QuickTime demuxer",
+ "Codec/Demuxer",
+ "Demultiplex a QuickTime file into audio and video streams",
+ "David Schleef <ds@schleef.org>, Wim Taymans <wim@fluendo.com>");
GST_DEBUG_CATEGORY_INIT (qtdemux_debug, "qtdemux", 0, "qtdemux plugin");
}
GST_DEBUG_CATEGORY_STATIC (gst_rg_analysis_debug);
#define GST_CAT_DEFAULT gst_rg_analysis_debug
-static const GstElementDetails rganalysis_details = {
- "ReplayGain analysis",
- "Filter/Analyzer/Audio",
- "Perform the ReplayGain analysis",
- "Ren\xc3\xa9 Stadler <mail@renestadler.de>"
-};
-
/* Default property value. */
#define FORCED_DEFAULT TRUE
#define DEFAULT_MESSAGE FALSE
gst_static_pad_template_get (&src_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_factory));
- gst_element_class_set_details (element_class, &rganalysis_details);
+ gst_element_class_set_details_simple (element_class, "ReplayGain analysis",
+ "Filter/Analyzer/Audio",
+ "Perform the ReplayGain analysis",
+ "Ren\xc3\xa9 Stadler <mail@renestadler.de>");
GST_DEBUG_CATEGORY_INIT (gst_rg_analysis_debug, "rganalysis", 0,
"ReplayGain analysis element");
static GstFlowReturn gst_rg_limiter_transform_ip (GstBaseTransform * base,
GstBuffer * buf);
-static const GstElementDetails element_details = {
- "ReplayGain limiter",
- "Filter/Effect/Audio",
- "Apply signal compression to raw audio data",
- "Ren\xc3\xa9 Stadler <mail@renestadler.de>"
-};
-
static void
gst_rg_limiter_base_init (gpointer g_class)
{
gst_static_pad_template_get (&src_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_factory));
- gst_element_class_set_details (element_class, &element_details);
+ gst_element_class_set_details_simple (element_class, "ReplayGain limiter",
+ "Filter/Effect/Audio",
+ "Apply signal compression to raw audio data",
+ "Ren\xc3\xa9 Stadler <mail@renestadler.de>");
GST_DEBUG_CATEGORY_INIT (gst_rg_limiter_debug, "rglimiter", 0,
"ReplayGain limiter element");
{
GstElementClass *element_class = g_class;
- static const GstElementDetails element_details = {
- "ReplayGain volume",
- "Filter/Effect/Audio",
- "Apply ReplayGain volume adjustment",
- "Ren\xc3\xa9 Stadler <mail@renestadler.de>"
- };
-
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_template));
- gst_element_class_set_details (element_class, &element_details);
+ gst_element_class_set_details_simple (element_class, "ReplayGain volume",
+ "Filter/Effect/Audio",
+ "Apply ReplayGain volume adjustment",
+ "Ren\xc3\xa9 Stadler <mail@renestadler.de>");
GST_DEBUG_CATEGORY_INIT (gst_rg_volume_debug, "rgvolume", 0,
"ReplayGain volume element");
#define GST_ASTERISKH263_HEADER_TIMESTAMP(buf) (((GstAsteriskH263Header *)(GST_BUFFER_DATA (buf)))->timestamp)
#define GST_ASTERISKH263_HEADER_LENGTH(buf) (((GstAsteriskH263Header *)(GST_BUFFER_DATA (buf)))->length)
-/* elementfactory information */
-static const GstElementDetails gst_rtp_h263p_depaydetails =
-GST_ELEMENT_DETAILS ("RTP Asterisk H263 depayloader",
- "Codec/Depayloader/Network",
- "Extracts H263 video from RTP and encodes in Asterisk H263 format",
- "Neil Stratford <neils@vipadia.com>");
-
static GstStaticPadTemplate gst_asteriskh263_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_asteriskh263_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_h263p_depaydetails);
+ gst_element_class_set_details_simple (element_class,
+ "RTP Asterisk H263 depayloader", "Codec/Depayloader/Network",
+ "Extracts H263 video from RTP and encodes in Asterisk H263 format",
+ "Neil Stratford <neils@vipadia.com>");
}
static void
GST_DEBUG_CATEGORY_STATIC (rtpL16depay_debug);
#define GST_CAT_DEFAULT (rtpL16depay_debug)
-/* elementfactory information */
-static const GstElementDetails gst_rtp_L16_depay_details =
-GST_ELEMENT_DETAILS ("RTP audio depayloader",
- "Codec/Depayloader/Network",
- "Extracts raw audio from RTP packets",
- "Zeeshan Ali <zak147@yahoo.com>," "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_L16_depay_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_L16_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_L16_depay_details);
+ gst_element_class_set_details_simple (element_class, "RTP audio depayloader",
+ "Codec/Depayloader/Network",
+ "Extracts raw audio from RTP packets",
+ "Zeeshan Ali <zak147@yahoo.com>," "Wim Taymans <wim.taymans@gmail.com>");
}
static void
GST_DEBUG_CATEGORY_STATIC (rtpL16pay_debug);
#define GST_CAT_DEFAULT (rtpL16pay_debug)
-/* elementfactory information */
-static const GstElementDetails gst_rtp_L16_pay_details =
-GST_ELEMENT_DETAILS ("RTP audio payloader",
- "Codec/Payloader/Network",
- "Payload-encode Raw audio into RTP packets (RFC 3551)",
- "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_L16_pay_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_L16_pay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_L16_pay_details);
+ gst_element_class_set_details_simple (element_class, "RTP audio payloader",
+ "Codec/Payloader/Network",
+ "Payload-encode Raw audio into RTP packets (RFC 3551)",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
GST_DEBUG_CATEGORY_STATIC (rtpac3depay_debug);
#define GST_CAT_DEFAULT (rtpac3depay_debug)
-/* elementfactory information */
-static const GstElementDetails gst_rtp_ac3depay_details =
-GST_ELEMENT_DETAILS ("RTP AC3 depayloader",
- "Codec/Depayloader/Network",
- "Extracts AC3 audio from RTP packets (RFC 4184)",
- "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_ac3_depay_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_ac3_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_ac3depay_details);
+ gst_element_class_set_details_simple (element_class, "RTP AC3 depayloader",
+ "Codec/Depayloader/Network",
+ "Extracts AC3 audio from RTP packets (RFC 4184)",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
* Wideband (AMR-WB) Audio Codecs.
*/
-/* elementfactory information */
-static const GstElementDetails gst_rtp_amrdepay_details =
-GST_ELEMENT_DETAILS ("RTP AMR depayloader",
- "Codec/Depayloader/Network",
- "Extracts AMR or AMR-WB audio from RTP packets (RFC 3267)",
- "Wim Taymans <wim.taymans@gmail.com>");
-
/* RtpAMRDepay signals and args */
enum
{
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_amr_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_amrdepay_details);
+ gst_element_class_set_details_simple (element_class, "RTP AMR depayloader",
+ "Codec/Depayloader/Network",
+ "Extracts AMR or AMR-WB audio from RTP packets (RFC 3267)",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
* (3GPP TS 26.201 version 6.0.0 Release 6)
*/
-/* elementfactory information */
-static const GstElementDetails gst_rtp_amrpay_details =
-GST_ELEMENT_DETAILS ("RTP AMR payloader",
- "Codec/Payloader/Network",
- "Payload-encode AMR or AMR-WB audio into RTP packets (RFC 3267)",
- "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_amr_pay_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_amr_pay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_amrpay_details);
+ gst_element_class_set_details_simple (element_class, "RTP AMR payloader",
+ "Codec/Payloader/Network",
+ "Payload-encode AMR or AMR-WB audio into RTP packets (RFC 3267)",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
#include <gst/rtp/gstrtpbuffer.h>
#include "gstrtpbvdepay.h"
-/* elementfactory information */
-static const GstElementDetails gst_rtp_bv_depay_details =
-GST_ELEMENT_DETAILS ("RTP BroadcomVoice depayloader",
- "Codec/Depayloader/Network",
- "Extracts BroadcomVoice audio from RTP packets (RFC 4298)",
- "Wim Taymans <wim.taymans@collabora.co.uk>");
-
static GstStaticPadTemplate gst_rtp_bv_depay_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
gst_static_pad_template_get (&gst_rtp_bv_depay_src_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_bv_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_bv_depay_details);
+ gst_element_class_set_details_simple (element_class,
+ "RTP BroadcomVoice depayloader", "Codec/Depayloader/Network",
+ "Extracts BroadcomVoice audio from RTP packets (RFC 4298)",
+ "Wim Taymans <wim.taymans@collabora.co.uk>");
}
static void
#include <gst/rtp/gstrtpbuffer.h>
#include "gstrtpbvpay.h"
-/* elementfactory information */
-static GstElementDetails gst_rtp_bv_pay_details = {
- "RTP BV Payloader",
- "Codec/Payloader/Network",
- "Packetize BroadcomVoice audio streams into RTP packets (RFC 4298)",
- "Wim Taymans <wim.taymans@collabora.co.uk>"
-};
-
GST_DEBUG_CATEGORY_STATIC (rtpbvpay_debug);
#define GST_CAT_DEFAULT (rtpbvpay_debug)
gst_static_pad_template_get (&gst_rtp_bv_pay_sink_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_bv_pay_src_template));
- gst_element_class_set_details (element_class, &gst_rtp_bv_pay_details);
+ gst_element_class_set_details_simple (element_class, "RTP BV Payloader",
+ "Codec/Payloader/Network",
+ "Packetize BroadcomVoice audio streams into RTP packets (RFC 4298)",
+ "Wim Taymans <wim.taymans@collabora.co.uk>");
}
static void
GST_DEBUG_CATEGORY_STATIC (rtpceltdepay_debug);
#define GST_CAT_DEFAULT (rtpceltdepay_debug)
-/* elementfactory information */
-static const GstElementDetails gst_rtp_celtdepay_details =
-GST_ELEMENT_DETAILS ("RTP CELT depayloader",
- "Codec/Depayloader/Network",
- "Extracts CELT audio from RTP packets",
- "Wim Taymans <wim.taymans@gmail.com>");
-
/* RtpCELTDepay signals and args */
#define DEFAULT_FRAMESIZE 480
gst_static_pad_template_get (&gst_rtp_celt_depay_src_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_celt_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_celtdepay_details);
+ gst_element_class_set_details_simple (element_class, "RTP CELT depayloader",
+ "Codec/Depayloader/Network",
+ "Extracts CELT audio from RTP packets",
+ "Wim Taymans <wim.taymans@gmail.com>");
GST_DEBUG_CATEGORY_INIT (rtpceltdepay_debug, "rtpceltdepay", 0,
"CELT RTP Depayloader");
GST_DEBUG_CATEGORY_STATIC (rtpceltpay_debug);
#define GST_CAT_DEFAULT (rtpceltpay_debug)
-/* elementfactory information */
-static const GstElementDetails gst_rtp_celt_pay_details =
-GST_ELEMENT_DETAILS ("RTP CELT payloader",
- "Codec/Payloader/Network",
- "Payload-encodes CELT audio into a RTP packet",
- "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_celt_pay_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
gst_static_pad_template_get (&gst_rtp_celt_pay_sink_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_celt_pay_src_template));
- gst_element_class_set_details (element_class, &gst_rtp_celt_pay_details);
+ gst_element_class_set_details_simple (element_class, "RTP CELT payloader",
+ "Codec/Payloader/Network",
+ "Payload-encodes CELT audio into a RTP packet",
+ "Wim Taymans <wim.taymans@gmail.com>");
GST_DEBUG_CATEGORY_INIT (rtpceltpay_debug, "rtpceltpay", 0,
"CELT RTP Payloader");
GST_DEBUG_CATEGORY_STATIC (rtpdepay_debug);
#define GST_CAT_DEFAULT (rtpdepay_debug)
-/* elementfactory information */
-static const GstElementDetails rtpdepay_details =
-GST_ELEMENT_DETAILS ("Dummy RTP session manager",
- "Codec/Depayloader/Network",
- "Accepts raw RTP and RTCP packets and sends them forward",
- "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_depay_src_rtp_template =
GST_STATIC_PAD_TEMPLATE ("srcrtp",
GST_PAD_SRC,
gst_static_pad_template_get (&gst_rtp_depay_sink_rtp_template));
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&gst_rtp_depay_sink_rtcp_template));
- gst_element_class_set_details (gstelement_class, &rtpdepay_details);
+ gst_element_class_set_details_simple (gstelement_class,
+ "Dummy RTP session manager", "Codec/Depayloader/Network",
+ "Accepts raw RTP and RTCP packets and sends them forward",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
static void gst_rtp_dv_depay_base_init (gpointer g_class)
{
- static GstElementDetails plugin_details = {
- "RTP DV Depayloader",
- "Codec/Depayloader/Network",
- "Depayloads DV from RTP packets (RFC 3189)",
- "Marcel Moreaux <marcelm@spacelabs.nl>, Wim Taymans <wim.taymans@gmail.com>"
- };
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
gst_element_class_add_pad_template (element_class,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_factory));
- gst_element_class_set_details (element_class, &plugin_details);
+ gst_element_class_set_details_simple (element_class, "RTP DV Depayloader",
+ "Codec/Depayloader/Network",
+ "Depayloads DV from RTP packets (RFC 3189)",
+ "Marcel Moreaux <marcelm@spacelabs.nl>, Wim Taymans <wim.taymans@gmail.com>");
}
/* initialize the plugin's class */
GST_DEBUG_CATEGORY (rtpdvpay_debug);
#define GST_CAT_DEFAULT (rtpdvpay_debug)
-/* Elementfactory information */
-static GstElementDetails gst_rtp_dv_pay_details = {
- "RTP DV Payloader",
- "Codec/Payloader/Network",
- "Payloads DV into RTP packets (RFC 3189)",
- "Marcel Moreaux <marcelm@spacelabs.nl>, Wim Taymans <wim.taymans@gmail.com>"
-};
-
#define DEFAULT_MODE GST_DV_PAY_MODE_VIDEO
enum
{
gst_static_pad_template_get (&gst_rtp_dv_pay_sink_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_dv_pay_src_template));
- gst_element_class_set_details (element_class, &gst_rtp_dv_pay_details);
+ gst_element_class_set_details_simple (element_class, "RTP DV Payloader",
+ "Codec/Payloader/Network",
+ "Payloads DV into RTP packets (RFC 3189)",
+ "Marcel Moreaux <marcelm@spacelabs.nl>, Wim Taymans <wim.taymans@gmail.com>");
}
static void
* RFC 3551 (4.5.3)
*/
-/* elementfactory information */
-static const GstElementDetails gst_rtp_g723depay_details =
-GST_ELEMENT_DETAILS ("RTP G.723 depayloader",
- "Codec/Depayloader/Network",
- "Extracts G.723 audio from RTP packets (RFC 3551)",
- "Wim Taymans <wim.taymans@gmail.com>");
-
enum
{
/* FILL ME */
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_g723_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_g723depay_details);
+ gst_element_class_set_details_simple (element_class, "RTP G.723 depayloader",
+ "Codec/Depayloader/Network",
+ "Extracts G.723 audio from RTP packets (RFC 3551)",
+ "Wim Taymans <wim.taymans@gmail.com>");
GST_DEBUG_CATEGORY_INIT (rtpg723depay_debug, "rtpg723depay", 0,
"G.723 RTP Depayloader");
static GstFlowReturn gst_rtp_g723_pay_handle_buffer (GstBaseRTPPayload *
payload, GstBuffer * buf);
-static const GstElementDetails gst_rtp_g723_pay_details =
-GST_ELEMENT_DETAILS ("RTP G.723 payloader",
- "Codec/Payloader/Network",
- "Packetize G.723 audio into RTP packets",
- "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_g723_pay_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
gst_static_pad_template_get (&gst_rtp_g723_pay_sink_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_g723_pay_src_template));
- gst_element_class_set_details (element_class, &gst_rtp_g723_pay_details);
+ gst_element_class_set_details_simple (element_class, "RTP G.723 payloader",
+ "Codec/Payloader/Network",
+ "Packetize G.723 audio into RTP packets",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
#define SAMPLE_RATE 8000
#define LAYOUT_G726 "g726"
-/* elementfactory information */
-static const GstElementDetails gst_rtp_g726depay_details =
-GST_ELEMENT_DETAILS ("RTP G.726 depayloader",
- "Codec/Depayloader/Network",
- "Extracts G.726 audio from RTP packets",
- "Axis Communications <dev-gstreamer@axis.com>");
-
/* RtpG726Depay signals and args */
enum
{
gst_static_pad_template_get (&gst_rtp_g726_depay_src_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_g726_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_g726depay_details);
+ gst_element_class_set_details_simple (element_class, "RTP G.726 depayloader",
+ "Codec/Depayloader/Network",
+ "Extracts G.726 audio from RTP packets",
+ "Axis Communications <dev-gstreamer@axis.com>");
}
static void
PROP_LAST
};
-static const GstElementDetails gst_rtp_g726_pay_details =
-GST_ELEMENT_DETAILS ("RTP G.726 payloader",
- "Codec/Payloader/Network",
- "Payload-encodes G.726 audio into a RTP packet",
- "Axis Communications <dev-gstreamer@axis.com>");
-
static GstStaticPadTemplate gst_rtp_g726_pay_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
gst_static_pad_template_get (&gst_rtp_g726_pay_sink_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_g726_pay_src_template));
- gst_element_class_set_details (element_class, &gst_rtp_g726_pay_details);
+ gst_element_class_set_details_simple (element_class, "RTP G.726 payloader",
+ "Codec/Payloader/Network",
+ "Payload-encodes G.726 audio into a RTP packet",
+ "Axis Communications <dev-gstreamer@axis.com>");
}
static void
* RFC 3551 (4.5.6)
*/
-/* elementfactory information */
-static const GstElementDetails gst_rtp_g729depay_details =
-GST_ELEMENT_DETAILS ("RTP G.729 depayloader",
- "Codec/Depayloader/Network",
- "Extracts G.729 audio from RTP packets (RFC 3551)",
- "Laurent Glayal <spglegle@yahoo.fr>");
-
enum
{
/* FILL ME */
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_g729_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_g729depay_details);
+ gst_element_class_set_details_simple (element_class, "RTP G.729 depayloader",
+ "Codec/Depayloader/Network",
+ "Extracts G.729 audio from RTP packets (RFC 3551)",
+ "Laurent Glayal <spglegle@yahoo.fr>");
GST_DEBUG_CATEGORY_INIT (rtpg729depay_debug, "rtpg729depay", 0,
"G.729 RTP Depayloader");
static GstFlowReturn
gst_rtp_g729_pay_handle_buffer (GstBaseRTPPayload * payload, GstBuffer * buf);
-
-static const GstElementDetails gst_rtp_g729_pay_details =
-GST_ELEMENT_DETAILS ("RTP G.729 payloader",
- "Codec/Payloader/Network",
- "Packetize G.729 audio into RTP packets",
- "Olivier Crete <olivier.crete@collabora.co.uk>");
-
static GstStaticPadTemplate gst_rtp_g729_pay_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
gst_static_pad_template_get (&gst_rtp_g729_pay_sink_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_g729_pay_src_template));
- gst_element_class_set_details (element_class, &gst_rtp_g729_pay_details);
+ gst_element_class_set_details_simple (element_class, "RTP G.729 payloader",
+ "Codec/Payloader/Network",
+ "Packetize G.729 audio into RTP packets",
+ "Olivier Crete <olivier.crete@collabora.co.uk>");
GST_DEBUG_CATEGORY_INIT (rtpg729pay_debug, "rtpg729pay", 0,
"G.729 RTP Payloader");
GST_DEBUG_CATEGORY_STATIC (rtpgsmdepay_debug);
#define GST_CAT_DEFAULT (rtpgsmdepay_debug)
-/* elementfactory information */
-static GstElementDetails gst_rtp_gsmdepay_details = {
- "RTP GSM depayloader",
- "Codec/Depayloader/Network",
- "Extracts GSM audio from RTP packets",
- "Zeeshan Ali <zeenix@gmail.com>"
-};
-
/* RTPGSMDepay signals and args */
enum
{
gst_static_pad_template_get (&gst_rtp_gsm_depay_src_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_gsm_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_gsmdepay_details);
+ gst_element_class_set_details_simple (element_class, "RTP GSM depayloader",
+ "Codec/Depayloader/Network",
+ "Extracts GSM audio from RTP packets", "Zeeshan Ali <zeenix@gmail.com>");
}
static void
GST_DEBUG_CATEGORY_STATIC (rtpgsmpay_debug);
#define GST_CAT_DEFAULT (rtpgsmpay_debug)
-/* elementfactory information */
-static const GstElementDetails gst_rtp_gsm_pay_details =
-GST_ELEMENT_DETAILS ("RTP GSM payloader",
- "Codec/Payloader/Network",
- "Payload-encodes GSM audio into a RTP packet",
- "Zeeshan Ali <zeenix@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_gsm_pay_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
gst_static_pad_template_get (&gst_rtp_gsm_pay_sink_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_gsm_pay_src_template));
- gst_element_class_set_details (element_class, &gst_rtp_gsm_pay_details);
+ gst_element_class_set_details_simple (element_class, "RTP GSM payloader",
+ "Codec/Payloader/Network",
+ "Payload-encodes GSM audio into a RTP packet",
+ "Zeeshan Ali <zeenix@gmail.com>");
}
static void
GST_DEBUG_CATEGORY_STATIC (rtph263depay_debug);
#define GST_CAT_DEFAULT (rtph263depay_debug)
-/* elementfactory information */
-static const GstElementDetails gst_rtp_h263depay_details =
-GST_ELEMENT_DETAILS ("RTP H263 depayloader",
- "Codec/Depayloader/Network",
- "Extracts H263 video from RTP packets (RFC 2190)",
- "Philippe Kalaf <philippe.kalaf@collabora.co.uk>, "
- "Edward Hervey <bilboed@bilboed.com>");
-
#define GST_RFC2190A_HEADER_LEN 4
#define GST_RFC2190B_HEADER_LEN 8
#define GST_RFC2190C_HEADER_LEN 12
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_h263_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_h263depay_details);
+ gst_element_class_set_details_simple (element_class, "RTP H263 depayloader",
+ "Codec/Depayloader/Network",
+ "Extracts H263 video from RTP packets (RFC 2190)",
+ "Philippe Kalaf <philippe.kalaf@collabora.co.uk>, "
+ "Edward Hervey <bilboed@bilboed.com>");
}
static void
PROP_MODE_A_ONLY
};
-/* elementfactory information */
-static const GstElementDetails gst_rtp_h263pay_details =
-GST_ELEMENT_DETAILS ("RTP H263 packet payloader",
- "Codec/Payloader/Network",
- "Payload-encodes H263 video in RTP packets (RFC 2190)",
- "Neil Stratford <neils@vipadia.com>"
- "Dejan Sakelsak <dejan.sakelsak@marand.si>");
-
static GstStaticPadTemplate gst_rtp_h263_pay_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_h263_pay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_h263pay_details);
+ gst_element_class_set_details_simple (element_class,
+ "RTP H263 packet payloader", "Codec/Payloader/Network",
+ "Payload-encodes H263 video in RTP packets (RFC 2190)",
+ "Neil Stratford <neils@vipadia.com>"
+ "Dejan Sakelsak <dejan.sakelsak@marand.si>");
}
static void
} else {
if (n > rest_bits) {
context->window =
- (context->window << rest_bits) | (*context->
- win_end & (((guint) pow (2.0, (double) rest_bits)) - 1));
+ (context->
+ window << rest_bits) | (*context->win_end & (((guint) pow (2.0,
+ (double) rest_bits)) - 1));
n -= rest_bits;
rest_bits = 0;
} else {
gst_rtp_h263_pay_boundry_init (&bound, NULL, rtph263pay->data - 1, 0, 0);
context->gobs =
- (GstRtpH263PayGob **) g_malloc0 (format_props[context->piclayer->
- ptype_srcformat][0] * sizeof (GstRtpH263PayGob *));
+ (GstRtpH263PayGob **) g_malloc0 (format_props[context->
+ piclayer->ptype_srcformat][0] * sizeof (GstRtpH263PayGob *));
for (i = 0; i < format_props[context->piclayer->ptype_srcformat][0]; i++) {
#include <gst/rtp/gstrtpbuffer.h>
#include "gstrtph263pdepay.h"
-/* elementfactory information */
-static const GstElementDetails gst_rtp_h263pdepay_details =
-GST_ELEMENT_DETAILS ("RTP H263 depayloader",
- "Codec/Depayloader/Network",
- "Extracts H263/+/++ video from RTP packets (RFC 4629)",
- "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_h263p_depay_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
gst_static_pad_template_get (&gst_rtp_h263p_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_h263pdepay_details);
+ gst_element_class_set_details_simple (element_class, "RTP H263 depayloader",
+ "Codec/Depayloader/Network",
+ "Extracts H263/+/++ video from RTP packets (RFC 4629)",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
GST_DEBUG_CATEGORY_STATIC (rtph263ppay_debug);
#define GST_CAT_DEFAULT rtph263ppay_debug
-/* elementfactory information */
-static const GstElementDetails gst_rtp_h263ppay_details =
-GST_ELEMENT_DETAILS ("RTP H263 payloader",
- "Codec/Payloader/Network",
- "Payload-encodes H263/+/++ video in RTP packets (RFC 4629)",
- "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_h263p_pay_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_h263p_pay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_h263ppay_details);
+ gst_element_class_set_details_simple (element_class, "RTP H263 payloader",
+ "Codec/Payloader/Network",
+ "Payload-encodes H263/+/++ video in RTP packets (RFC 4629)",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
/* 3 zero bytes syncword */
static const guint8 sync_bytes[] = { 0, 0, 0, 1 };
-/* elementfactory information */
-static const GstElementDetails gst_rtp_h264depay_details =
-GST_ELEMENT_DETAILS ("RTP H264 depayloader",
- "Codec/Depayloader/Network",
- "Extracts H264 video from RTP packets (RFC 3984)",
- "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_h264_depay_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_h264_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_h264depay_details);
+ gst_element_class_set_details_simple (element_class, "RTP H264 depayloader",
+ "Codec/Depayloader/Network",
+ "Extracts H264 video from RTP packets (RFC 3984)",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
* RFC 3984
*/
-/* elementfactory information */
-static const GstElementDetails gst_rtp_h264pay_details =
-GST_ELEMENT_DETAILS ("RTP H264 payloader",
- "Codec/Payloader/Network",
- "Payload-encode H264 video into RTP packets (RFC 3984)",
- "Laurent Glayal <spglegle@yahoo.fr>");
-
static GstStaticPadTemplate gst_rtp_h264_pay_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_h264_pay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_h264pay_details);
+ gst_element_class_set_details_simple (element_class, "RTP H264 payloader",
+ "Codec/Payloader/Network",
+ "Payload-encode H264 video into RTP packets (RFC 3984)",
+ "Laurent Glayal <spglegle@yahoo.fr>");
}
static void
#include <gst/rtp/gstrtpbuffer.h>
#include "gstrtpilbcdepay.h"
-/* elementfactory information */
-static const GstElementDetails gst_rtp_ilbc_depay_details =
-GST_ELEMENT_DETAILS ("RTP iLBC depayloader",
- "Codec/Depayloader/Network",
- "Extracts iLBC audio from RTP packets (RFC 3952)",
- "Philippe Kalaf <philippe.kalaf@collabora.co.uk>");
-
/* RtpiLBCDepay signals and args */
enum
{
gst_static_pad_template_get (&gst_rtp_ilbc_depay_src_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_ilbc_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_ilbc_depay_details);
+ gst_element_class_set_details_simple (element_class, "RTP iLBC depayloader",
+ "Codec/Depayloader/Network",
+ "Extracts iLBC audio from RTP packets (RFC 3952)",
+ "Philippe Kalaf <philippe.kalaf@collabora.co.uk>");
}
static void
#include <gst/rtp/gstrtpbuffer.h>
#include "gstrtpilbcpay.h"
-/* elementfactory information */
-static GstElementDetails gst_rtp_ilbc_pay_details = {
- "RTP iLBC Payloader",
- "Codec/Payloader/Network",
- "Packetize iLBC audio streams into RTP packets",
- "Philippe Kalaf <philippe.kalaf@collabora.co.uk>"
-};
-
GST_DEBUG_CATEGORY_STATIC (rtpilbcpay_debug);
#define GST_CAT_DEFAULT (rtpilbcpay_debug)
gst_static_pad_template_get (&gst_rtp_ilbc_pay_sink_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_ilbc_pay_src_template));
- gst_element_class_set_details (element_class, &gst_rtp_ilbc_pay_details);
+ gst_element_class_set_details_simple (element_class, "RTP iLBC Payloader",
+ "Codec/Payloader/Network",
+ "Packetize iLBC audio streams into RTP packets",
+ "Philippe Kalaf <philippe.kalaf@collabora.co.uk>");
}
static void
GST_DEBUG_CATEGORY_STATIC (rtpj2kdepay_debug);
#define GST_CAT_DEFAULT (rtpj2kdepay_debug)
-/* elementfactory information */
-static const GstElementDetails gst_rtp_j2kdepay_details =
-GST_ELEMENT_DETAILS ("RTP JPEG 2000 depayloader",
- "Codec/Depayloader/Network",
- "Extracts JPEG 2000 video from RTP packets (RFC 5371)",
- "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_j2k_depay_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_j2k_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_j2kdepay_details);
+ gst_element_class_set_details_simple (element_class,
+ "RTP JPEG 2000 depayloader", "Codec/Depayloader/Network",
+ "Extracts JPEG 2000 video from RTP packets (RFC 5371)",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
#include "gstrtpj2kpay.h"
-/* elementfactory information */
-static const GstElementDetails gst_rtp_j2k_pay_details =
-GST_ELEMENT_DETAILS ("RTP JPEG 2000 payloader",
- "Codec/Payloader/Network",
- "Payload-encodes JPEG 2000 pictures into RTP packets (RFC 5371)",
- "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_j2k_pay_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_j2k_pay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_j2k_pay_details);
+ gst_element_class_set_details_simple (element_class,
+ "RTP JPEG 2000 payloader", "Codec/Payloader/Network",
+ "Payload-encodes JPEG 2000 pictures into RTP packets (RFC 5371)",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
GST_DEBUG_CATEGORY_STATIC (rtpjpegdepay_debug);
#define GST_CAT_DEFAULT (rtpjpegdepay_debug)
-/* elementfactory information */
-static const GstElementDetails gst_rtp_jpegdepay_details =
-GST_ELEMENT_DETAILS ("RTP JPEG depayloader",
- "Codec/Depayloader/Network",
- "Extracts JPEG video from RTP packets (RFC 2435)",
- "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_jpeg_depay_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_jpeg_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_jpegdepay_details);
+ gst_element_class_set_details_simple (element_class, "RTP JPEG depayloader",
+ "Codec/Depayloader/Network",
+ "Extracts JPEG video from RTP packets (RFC 2435)",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
#include "gstrtpjpegpay.h"
-/* elementfactory information */
-static const GstElementDetails gst_rtp_jpeg_pay_details =
-GST_ELEMENT_DETAILS ("RTP JPEG payloader",
- "Codec/Payloader/Network",
- "Payload-encodes JPEG pictures into RTP packets (RFC 2435)",
- "Axis Communications <dev-gstreamer@axis.com>");
-
static GstStaticPadTemplate gst_rtp_jpeg_pay_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_jpeg_pay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_jpeg_pay_details);
+ gst_element_class_set_details_simple (element_class, "RTP JPEG payloader",
+ "Codec/Payloader/Network",
+ "Payload-encodes JPEG pictures into RTP packets (RFC 2435)",
+ "Axis Communications <dev-gstreamer@axis.com>");
}
static void
#include <string.h>
#include "gstrtpmp1sdepay.h"
-/* elementfactory information */
-static const GstElementDetails gst_rtp_mp1sdepay_details =
-GST_ELEMENT_DETAILS ("RTP MPEG1 System Stream depayloader",
- "Codec/Depayloader/Network",
- "Extracts MPEG1 System Streams from RTP packets (RFC 3555)",
- "Wim Taymans <wim.taymans@gmail.com>");
-
/* RtpMP1SDepay signals and args */
enum
{
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_mp1s_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_mp1sdepay_details);
+ gst_element_class_set_details_simple (element_class,
+ "RTP MPEG1 System Stream depayloader", "Codec/Depayloader/Network",
+ "Extracts MPEG1 System Streams from RTP packets (RFC 3555)",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
#include <string.h>
#include "gstrtpmp2tdepay.h"
-/* elementfactory information */
-static const GstElementDetails gst_rtp_mp2tdepay_details =
-GST_ELEMENT_DETAILS ("RTP MPEG Transport Stream depayloader",
- "Codec/Depayloader/Network",
- "Extracts MPEG2 TS from RTP packets (RFC 2250)",
- "Wim Taymans <wim.taymans@gmail.com>\n"
- "Thijs Vermeir <thijs.vermeir@barco.com>");
-
/* RtpMP2TDepay signals and args */
enum
{
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_mp2t_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_mp2tdepay_details);
+ gst_element_class_set_details_simple (element_class,
+ "RTP MPEG Transport Stream depayloader", "Codec/Depayloader/Network",
+ "Extracts MPEG2 TS from RTP packets (RFC 2250)",
+ "Wim Taymans <wim.taymans@gmail.com>, "
+ "Thijs Vermeir <thijs.vermeir@barco.com>");
}
static void
#include "gstrtpmp2tpay.h"
-/* elementfactory information */
-static const GstElementDetails gst_rtp_mp2t_pay_details =
-GST_ELEMENT_DETAILS ("RTP MPEG2 Transport Stream payloader",
- "Codec/Payloader/Network",
- "Payload-encodes MPEG2 TS into RTP packets (RFC 2250)",
- "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_mp2t_pay_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
gst_static_pad_template_get (&gst_rtp_mp2t_pay_sink_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_mp2t_pay_src_template));
- gst_element_class_set_details (element_class, &gst_rtp_mp2t_pay_details);
+ gst_element_class_set_details_simple (element_class,
+ "RTP MPEG2 Transport Stream payloader", "Codec/Payloader/Network",
+ "Payload-encodes MPEG2 TS into RTP packets (RFC 2250)",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
GST_DEBUG_CATEGORY_STATIC (rtpmp4adepay_debug);
#define GST_CAT_DEFAULT (rtpmp4adepay_debug)
-/* elementfactory information */
-static const GstElementDetails gst_rtp_mp4adepay_details =
-GST_ELEMENT_DETAILS ("RTP MPEG4 audio depayloader",
- "Codec/Depayloader/Network",
- "Extracts MPEG4 audio from RTP packets (RFC 3016)",
- "Nokia Corporation (contact <stefan.kost@nokia.com>), "
- "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_mp4a_depay_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_mp4a_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_mp4adepay_details);
+ gst_element_class_set_details_simple (element_class,
+ "RTP MPEG4 audio depayloader", "Codec/Depayloader/Network",
+ "Extracts MPEG4 audio from RTP packets (RFC 3016)",
+ "Nokia Corporation (contact <stefan.kost@nokia.com>), "
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
GST_DEBUG_CATEGORY_STATIC (rtpmp4apay_debug);
#define GST_CAT_DEFAULT (rtpmp4apay_debug)
-/* elementfactory information */
-static const GstElementDetails gst_rtp_mp4apay_details =
-GST_ELEMENT_DETAILS ("RTP MPEG4 audio payloader",
- "Codec/Payloader/Network",
- "Payload MPEG4 audio as RTP packets (RFC 3016)",
- "Wim Taymans <wim.taymans@gmail.com>");
-
/* FIXME: add framed=(boolean)true once our encoders have this field set
* on their output caps */
static GstStaticPadTemplate gst_rtp_mp4a_pay_sink_template =
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_mp4a_pay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_mp4apay_details);
+ gst_element_class_set_details_simple (element_class,
+ "RTP MPEG4 audio payloader", "Codec/Payloader/Network",
+ "Payload MPEG4 audio as RTP packets (RFC 3016)",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
GST_DEBUG_CATEGORY_STATIC (rtpmp4gdepay_debug);
#define GST_CAT_DEFAULT (rtpmp4gdepay_debug)
-/* elementfactory information */
-static const GstElementDetails gst_rtp_mp4gdepay_details =
-GST_ELEMENT_DETAILS ("RTP MPEG4 ES depayloader",
- "Codec/Depayloader/Network",
- "Extracts MPEG4 elementary streams from RTP packets (RFC 3640)",
- "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_mp4g_depay_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_mp4g_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_mp4gdepay_details);
+ gst_element_class_set_details_simple (element_class,
+ "RTP MPEG4 ES depayloader", "Codec/Depayloader/Network",
+ "Extracts MPEG4 elementary streams from RTP packets (RFC 3640)",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
GST_DEBUG_CATEGORY_STATIC (rtpmp4gpay_debug);
#define GST_CAT_DEFAULT (rtpmp4gpay_debug)
-/* elementfactory information */
-static const GstElementDetails gst_rtp_mp4gpay_details =
-GST_ELEMENT_DETAILS ("RTP MPEG4 ES payloader",
- "Codec/Payloader/Network",
- "Payload MPEG4 elementary streams as RTP packets (RFC 3640)",
- "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_mp4g_pay_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_mp4g_pay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_mp4gpay_details);
+ gst_element_class_set_details_simple (element_class, "RTP MPEG4 ES payloader",
+ "Codec/Payloader/Network",
+ "Payload MPEG4 elementary streams as RTP packets (RFC 3640)",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
GST_DEBUG_CATEGORY_STATIC (rtpmp4vdepay_debug);
#define GST_CAT_DEFAULT (rtpmp4vdepay_debug)
-/* elementfactory information */
-static const GstElementDetails gst_rtp_mp4vdepay_details =
-GST_ELEMENT_DETAILS ("RTP MPEG4 video depayloader",
- "Codec/Depayloader/Network",
- "Extracts MPEG4 video from RTP packets (RFC 3016)",
- "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_mp4v_depay_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_mp4v_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_mp4vdepay_details);
+ gst_element_class_set_details_simple (element_class,
+ "RTP MPEG4 video depayloader", "Codec/Depayloader/Network",
+ "Extracts MPEG4 video from RTP packets (RFC 3016)",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
GST_DEBUG_CATEGORY_STATIC (rtpmp4vpay_debug);
#define GST_CAT_DEFAULT (rtpmp4vpay_debug)
-/* elementfactory information */
-static const GstElementDetails gst_rtp_mp4vpay_details =
-GST_ELEMENT_DETAILS ("RTP MPEG4 Video payloader",
- "Codec/Payloader/Network",
- "Payload MPEG-4 video as RTP packets (RFC 3016)",
- "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_mp4v_pay_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_mp4v_pay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_mp4vpay_details);
+ gst_element_class_set_details_simple (element_class,
+ "RTP MPEG4 Video payloader", "Codec/Payloader/Network",
+ "Payload MPEG-4 video as RTP packets (RFC 3016)",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
GST_DEBUG_CATEGORY_STATIC (rtpmpadepay_debug);
#define GST_CAT_DEFAULT (rtpmpadepay_debug)
-/* elementfactory information */
-static const GstElementDetails gst_rtp_mpadepay_details =
-GST_ELEMENT_DETAILS ("RTP MPEG audio depayloader",
- "Codec/Depayloader/Network",
- "Extracts MPEG audio from RTP packets (RFC 2038)",
- "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_mpa_depay_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_mpa_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_mpadepay_details);
+ gst_element_class_set_details_simple (element_class,
+ "RTP MPEG audio depayloader", "Codec/Depayloader/Network",
+ "Extracts MPEG audio from RTP packets (RFC 2038)",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
#include "gstrtpmpapay.h"
-/* elementfactory information */
-static const GstElementDetails gst_rtp_mpapay_details =
-GST_ELEMENT_DETAILS ("RTP MPEG audio payloader",
- "Codec/Payloader/Network",
- "Payload MPEG audio as RTP packets (RFC 2038)",
- "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_mpa_pay_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_mpa_pay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_mpapay_details);
+ gst_element_class_set_details_simple (element_class,
+ "RTP MPEG audio payloader", "Codec/Payloader/Network",
+ "Payload MPEG audio as RTP packets (RFC 2038)",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
GST_DEBUG_CATEGORY_STATIC (rtpmpvdepay_debug);
#define GST_CAT_DEFAULT (rtpmpvdepay_debug)
-/* elementfactory information */
-static const GstElementDetails gst_rtp_mpvdepay_details =
-GST_ELEMENT_DETAILS ("RTP MPEG video depayloader",
- "Codec/Depayloader/Network",
- "Extracts MPEG video from RTP packets (RFC 2250)",
- "Wim Taymans <wim.taymans@gmail.com>");
-
/* FIXME, we set the mpeg version to 2, we should ideally be looking at contents
* of the stream to figure out the version */
static GstStaticPadTemplate gst_rtp_mpv_depay_src_template =
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_mpv_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_mpvdepay_details);
+ gst_element_class_set_details_simple (element_class,
+ "RTP MPEG video depayloader", "Codec/Depayloader/Network",
+ "Extracts MPEG video from RTP packets (RFC 2250)",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
#include "gstrtpmpvpay.h"
-static const GstElementDetails gst_rtp_mpv_pay_details =
-GST_ELEMENT_DETAILS ("RTP MPEG2 ES video payloader",
- "Codec/Payloader/Network",
- "Payload-encodes MPEG2 ES into RTP packets (RFC 2250)",
- "Thijs Vermeir <thijsvermeir@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_mpv_pay_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
gst_static_pad_template_get (&gst_rtp_mpv_pay_sink_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_mpv_pay_src_template));
- gst_element_class_set_details (element_class, &gst_rtp_mpv_pay_details);
+ gst_element_class_set_details_simple (element_class,
+ "RTP MPEG2 ES video payloader", "Codec/Payloader/Network",
+ "Payload-encodes MPEG2 ES into RTP packets (RFC 2250)",
+ "Thijs Vermeir <thijsvermeir@gmail.com>");
}
static void
#include <gst/rtp/gstrtpbuffer.h>
#include "gstrtppcmadepay.h"
-/* elementfactory information */
-static const GstElementDetails gst_rtp_pcmadepay_details =
-GST_ELEMENT_DETAILS ("RTP PCMA depayloader",
- "Codec/Depayloader/Network",
- "Extracts PCMA audio from RTP packets",
- "Edgard Lima <edgard.lima@indt.org.br>, Zeeshan Ali <zeenix@gmail.com>");
-
/* RtpPcmaDepay signals and args */
enum
{
gst_static_pad_template_get (&gst_rtp_pcma_depay_src_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_pcma_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_pcmadepay_details);
+ gst_element_class_set_details_simple (element_class, "RTP PCMA depayloader",
+ "Codec/Depayloader/Network",
+ "Extracts PCMA audio from RTP packets",
+ "Edgard Lima <edgard.lima@indt.org.br>, Zeeshan Ali <zeenix@gmail.com>");
}
static void
#include "gstrtppcmapay.h"
-/* elementfactory information */
-static const GstElementDetails gst_rtp_pcma_pay_details =
-GST_ELEMENT_DETAILS ("RTP PCMA payloader",
- "Codec/Payloader/Network",
- "Payload-encodes PCMA audio into a RTP packet",
- "Edgard Lima <edgard.lima@indt.org.br>");
-
static GstStaticPadTemplate gst_rtp_pcma_pay_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
gst_static_pad_template_get (&gst_rtp_pcma_pay_sink_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_pcma_pay_src_template));
- gst_element_class_set_details (element_class, &gst_rtp_pcma_pay_details);
+ gst_element_class_set_details_simple (element_class, "RTP PCMA payloader",
+ "Codec/Payloader/Network",
+ "Payload-encodes PCMA audio into a RTP packet",
+ "Edgard Lima <edgard.lima@indt.org.br>");
}
static void
#include <gst/rtp/gstrtpbuffer.h>
#include "gstrtppcmudepay.h"
-/* elementfactory information */
-static const GstElementDetails gst_rtp_pcmudepay_details =
-GST_ELEMENT_DETAILS ("RTP PCMU depayloader",
- "Codec/Depayloader/Network",
- "Extracts PCMU audio from RTP packets",
- "Edgard Lima <edgard.lima@indt.org.br>, Zeeshan Ali <zeenix@gmail.com>");
-
/* RtpPcmuDepay signals and args */
enum
{
gst_static_pad_template_get (&gst_rtp_pcmu_depay_src_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_pcmu_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_pcmudepay_details);
+ gst_element_class_set_details_simple (element_class, "RTP PCMU depayloader",
+ "Codec/Depayloader/Network",
+ "Extracts PCMU audio from RTP packets",
+ "Edgard Lima <edgard.lima@indt.org.br>, Zeeshan Ali <zeenix@gmail.com>");
}
static void
#include "gstrtppcmupay.h"
-/* elementfactory information */
-static const GstElementDetails gst_rtp_pcmu_pay_details =
-GST_ELEMENT_DETAILS ("RTP PCMU payloader",
- "Codec/Payloader/Network",
- "Payload-encodes PCMU audio into a RTP packet",
- "Edgard Lima <edgard.lima@indt.org.br>");
-
static GstStaticPadTemplate gst_rtp_pcmu_pay_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
gst_static_pad_template_get (&gst_rtp_pcmu_pay_sink_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_pcmu_pay_src_template));
- gst_element_class_set_details (element_class, &gst_rtp_pcmu_pay_details);
+ gst_element_class_set_details_simple (element_class, "RTP PCMU payloader",
+ "Codec/Payloader/Network",
+ "Payload-encodes PCMU audio into a RTP packet",
+ "Edgard Lima <edgard.lima@indt.org.br>");
}
static void
GST_DEBUG_CATEGORY (rtpqdm2depay_debug);
#define GST_CAT_DEFAULT rtpqdm2depay_debug
-/* elementfactory information */
-static const GstElementDetails gst_rtp_qdm2depay_details =
-GST_ELEMENT_DETAILS ("RTP QDM2 depayloader",
- "Codec/Depayloader/Network",
- "Extracts QDM2 audio from RTP packets (no RFC)",
- "Edward Hervey <bilboed@bilboed.com>");
-
static GstStaticPadTemplate gst_rtp_qdm2_depay_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
gst_static_pad_template_get (&gst_rtp_qdm2_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_qdm2depay_details);
+ gst_element_class_set_details_simple (element_class, "RTP QDM2 depayloader",
+ "Codec/Depayloader/Network",
+ "Extracts QDM2 audio from RTP packets (no RFC)",
+ "Edward Hervey <bilboed@bilboed.com>");
}
static void
#include <gst/rtp/gstrtpbuffer.h>
#include "gstrtpsirendepay.h"
-/* elementfactory information */
-static const GstElementDetails gst_rtp_siren_depay_details =
-GST_ELEMENT_DETAILS ("RTP Siren packet depayloader",
- "Codec/Depayloader/Network",
- "Extracts Siren audio from RTP packets",
- "Philippe Kalaf <philippe.kalaf@collabora.co.uk>");
-
-
static GstStaticPadTemplate gst_rtp_siren_depay_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
gst_static_pad_template_get (&gst_rtp_siren_depay_src_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_siren_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_siren_depay_details);
+ gst_element_class_set_details_simple (element_class,
+ "RTP Siren packet depayloader", "Codec/Depayloader/Network",
+ "Extracts Siren audio from RTP packets",
+ "Philippe Kalaf <philippe.kalaf@collabora.co.uk>");
}
static void
#include "gstrtpsirenpay.h"
#include <gst/rtp/gstrtpbuffer.h>
-/* elementfactory information */
-static GstElementDetails gst_rtp_siren_pay_details = {
- "RTP Payloader for Siren Audio",
- "Codec/Payloader/Network",
- "Packetize Siren audio streams into RTP packets",
- "Youness Alaoui <kakaroto@kakaroto.homelinux.net>"
-};
-
GST_DEBUG_CATEGORY_STATIC (rtpsirenpay_debug);
#define GST_CAT_DEFAULT (rtpsirenpay_debug)
gst_static_pad_template_get (&gst_rtp_siren_pay_sink_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_siren_pay_src_template));
- gst_element_class_set_details (element_class, &gst_rtp_siren_pay_details);
+ gst_element_class_set_details_simple (element_class,
+ "RTP Payloader for Siren Audio", "Codec/Payloader/Network",
+ "Packetize Siren audio streams into RTP packets",
+ "Youness Alaoui <kakaroto@kakaroto.homelinux.net>");
}
static void
#include "gstrtpspeexdepay.h"
-/* elementfactory information */
-static const GstElementDetails gst_rtp_speexdepay_details =
-GST_ELEMENT_DETAILS ("RTP Speex depayloader",
- "Codec/Depayloader/Network",
- "Extracts Speex audio from RTP packets",
- "Edgard Lima <edgard.lima@indt.org.br>");
-
/* RtpSPEEXDepay signals and args */
enum
{
gst_static_pad_template_get (&gst_rtp_speex_depay_src_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_speex_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_speexdepay_details);
+ gst_element_class_set_details_simple (element_class, "RTP Speex depayloader",
+ "Codec/Depayloader/Network",
+ "Extracts Speex audio from RTP packets",
+ "Edgard Lima <edgard.lima@indt.org.br>");
}
static void
GST_DEBUG_CATEGORY_STATIC (rtpspeexpay_debug);
#define GST_CAT_DEFAULT (rtpspeexpay_debug)
-/* elementfactory information */
-static const GstElementDetails gst_rtp_speex_pay_details =
-GST_ELEMENT_DETAILS ("RTP Speex payloader",
- "Codec/Payloader/Network",
- "Payload-encodes Speex audio into a RTP packet",
- "Edgard Lima <edgard.lima@indt.org.br>");
-
static GstStaticPadTemplate gst_rtp_speex_pay_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
gst_static_pad_template_get (&gst_rtp_speex_pay_sink_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_speex_pay_src_template));
- gst_element_class_set_details (element_class, &gst_rtp_speex_pay_details);
+ gst_element_class_set_details_simple (element_class, "RTP Speex payloader",
+ "Codec/Payloader/Network",
+ "Payload-encodes Speex audio into a RTP packet",
+ "Edgard Lima <edgard.lima@indt.org.br>");
GST_DEBUG_CATEGORY_INIT (rtpspeexpay_debug, "rtpspeexpay", 0,
"Speex RTP Payloader");
GST_DEBUG_CATEGORY (rtpsv3vdepay_debug);
#define GST_CAT_DEFAULT rtpsv3vdepay_debug
-/* elementfactory information */
-static const GstElementDetails gst_rtp_sv3vdepay_details =
-GST_ELEMENT_DETAILS ("RTP SVQ3 depayloader",
- "Codec/Depayloader/Network",
- "Extracts SVQ3 video from RTP packets (no RFC)",
- "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_sv3v_depay_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
gst_static_pad_template_get (&gst_rtp_sv3v_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_sv3vdepay_details);
+ gst_element_class_set_details_simple (element_class, "RTP SVQ3 depayloader",
+ "Codec/Depayloader/Network",
+ "Extracts SVQ3 video from RTP packets (no RFC)",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
GST_DEBUG_CATEGORY_STATIC (rtptheoradepay_debug);
#define GST_CAT_DEFAULT (rtptheoradepay_debug)
-/* elementfactory information */
-static const GstElementDetails gst_rtp_theora_depay_details =
-GST_ELEMENT_DETAILS ("RTP Theora depayloader",
- "Codec/Depayloader/Network",
- "Extracts Theora video from RTP packets (draft-01 of RFC XXXX)",
- "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_theora_depay_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_theora_depay_src_template));
- gst_element_class_set_details (element_class, &gst_rtp_theora_depay_details);
+ gst_element_class_set_details_simple (element_class, "RTP Theora depayloader",
+ "Codec/Depayloader/Network",
+ "Extracts Theora video from RTP packets (draft-01 of RFC XXXX)",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
* http://svn.xiph.org/trunk/theora/doc/draft-ietf-avt-rtp-theora-01.txt
*/
-/* elementfactory information */
-static const GstElementDetails gst_rtp_theorapay_details =
-GST_ELEMENT_DETAILS ("RTP Theora payloader",
- "Codec/Payloader/Network",
- "Payload-encode Theora video into RTP packets (draft-01 RFC XXXX)",
- "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_theora_pay_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_theora_pay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_theorapay_details);
+ gst_element_class_set_details_simple (element_class, "RTP Theora payloader",
+ "Codec/Payloader/Network",
+ "Payload-encode Theora video into RTP packets (draft-01 RFC XXXX)",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
* http://www.rfc-editor.org/rfc/rfc5215.txt
*/
-/* elementfactory information */
-static const GstElementDetails gst_rtp_vorbis_depay_details =
-GST_ELEMENT_DETAILS ("RTP Vorbis depayloader",
- "Codec/Depayloader/Network",
- "Extracts Vorbis Audio from RTP packets (RFC 5215)",
- "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_vorbis_depay_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_vorbis_depay_src_template));
- gst_element_class_set_details (element_class, &gst_rtp_vorbis_depay_details);
+ gst_element_class_set_details_simple (element_class, "RTP Vorbis depayloader",
+ "Codec/Depayloader/Network",
+ "Extracts Vorbis Audio from RTP packets (RFC 5215)",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
* http://www.rfc-editor.org/rfc/rfc5215.txt
*/
-/* elementfactory information */
-static const GstElementDetails gst_rtp_vorbispay_details =
-GST_ELEMENT_DETAILS ("RTP Vorbis depayloader",
- "Codec/Payloader/Network",
- "Payload-encode Vorbis audio into RTP packets (RFC 5215)",
- "Wim Taymans <wimi.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_vorbis_pay_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_vorbis_pay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_vorbispay_details);
+ gst_element_class_set_details_simple (element_class, "RTP Vorbis depayloader",
+ "Codec/Payloader/Network",
+ "Payload-encode Vorbis audio into RTP packets (RFC 5215)",
+ "Wim Taymans <wimi.taymans@gmail.com>");
}
static void
GST_DEBUG_CATEGORY_STATIC (rtpvrawdepay_debug);
#define GST_CAT_DEFAULT (rtpvrawdepay_debug)
-/* elementfactory information */
-static const GstElementDetails gst_rtp_vrawdepay_details =
-GST_ELEMENT_DETAILS ("RTP Raw Video depayloader",
- "Codec/Depayloader/Network",
- "Extracts raw video from RTP packets (RFC 4175)",
- "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_vraw_depay_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_vraw_depay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_vrawdepay_details);
+ gst_element_class_set_details_simple (element_class,
+ "RTP Raw Video depayloader", "Codec/Depayloader/Network",
+ "Extracts raw video from RTP packets (RFC 4175)",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
GST_DEBUG_CATEGORY_STATIC (rtpvrawpay_debug);
#define GST_CAT_DEFAULT (rtpvrawpay_debug)
-/* elementfactory information */
-static const GstElementDetails gst_rtp_vrawpay_details =
-GST_ELEMENT_DETAILS ("RTP Raw Video payloader",
- "Codec/Payloader/Network",
- "Payload raw video as RTP packets (RFC 4175)",
- "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_rtp_vraw_pay_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_vraw_pay_sink_template));
- gst_element_class_set_details (element_class, &gst_rtp_vrawpay_details);
+ gst_element_class_set_details_simple (element_class,
+ "RTP Raw Video payloader", "Codec/Payloader/Network",
+ "Payload raw video as RTP packets (RFC 4175)",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
GST_DEBUG_CATEGORY_STATIC (gst_rtp_bin_debug);
#define GST_CAT_DEFAULT gst_rtp_bin_debug
-/* elementfactory information */
-static const GstElementDetails rtpbin_details = GST_ELEMENT_DETAILS ("RTP Bin",
- "Filter/Network/RTP",
- "Real-Time Transport Protocol bin",
- "Wim Taymans <wim.taymans@gmail.com>");
-
/* sink pads */
static GstStaticPadTemplate rtpbin_recv_rtp_sink_template =
GST_STATIC_PAD_TEMPLATE ("recv_rtp_sink_%d",
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&rtpbin_send_rtp_src_template));
- gst_element_class_set_details (element_class, &rtpbin_details);
+ gst_element_class_set_details_simple (element_class, "RTP Bin",
+ "Filter/Network/RTP",
+ "Real-Time Transport Protocol bin",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
GST_DEBUG_CATEGORY (rtpjitterbuffer_debug);
#define GST_CAT_DEFAULT (rtpjitterbuffer_debug)
-/* elementfactory information */
-static const GstElementDetails gst_rtp_jitter_buffer_details =
-GST_ELEMENT_DETAILS ("RTP packet jitter-buffer",
- "Filter/Network/RTP",
- "A buffer that deals with network jitter and other transmission faults",
- "Philippe Kalaf <philippe.kalaf@collabora.co.uk>, "
- "Wim Taymans <wim.taymans@gmail.com>");
-
/* RTPJitterBuffer signals and args */
enum
{
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_jitter_buffer_sink_rtcp_template));
- gst_element_class_set_details (element_class, &gst_rtp_jitter_buffer_details);
+ gst_element_class_set_details_simple (element_class,
+ "RTP packet jitter-buffer", "Filter/Network/RTP",
+ "A buffer that deals with network jitter and other transmission faults",
+ "Philippe Kalaf <philippe.kalaf@collabora.co.uk>, "
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
static guint gst_rtp_pt_demux_signals[LAST_SIGNAL] = { 0 };
-static GstElementDetails gst_rtp_pt_demux_details = {
- "RTP Demux",
- "Demux/Network/RTP",
- "Parses codec streams transmitted in the same RTP session",
- "Kai Vehmanen <kai.vehmanen@nokia.com>"
-};
-
static void
gst_rtp_pt_demux_base_init (gpointer g_class)
{
gst_element_class_add_pad_template (gstelement_klass,
gst_static_pad_template_get (&rtp_pt_demux_src_template));
- gst_element_class_set_details (gstelement_klass, &gst_rtp_pt_demux_details);
+ gst_element_class_set_details_simple (gstelement_klass, "RTP Demux",
+ "Demux/Network/RTP",
+ "Parses codec streams transmitted in the same RTP session",
+ "Kai Vehmanen <kai.vehmanen@nokia.com>");
}
static void
GST_DEBUG_CATEGORY_STATIC (gst_rtp_session_debug);
#define GST_CAT_DEFAULT gst_rtp_session_debug
-/* elementfactory information */
-static const GstElementDetails rtpsession_details =
-GST_ELEMENT_DETAILS ("RTP Session",
- "Filter/Network/RTP",
- "Implement an RTP session",
- "Wim Taymans <wim.taymans@gmail.com>");
-
/* sink pads */
static GstStaticPadTemplate rtpsession_recv_rtp_sink_template =
GST_STATIC_PAD_TEMPLATE ("recv_rtp_sink",
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&rtpsession_send_rtcp_src_template));
- gst_element_class_set_details (element_class, &rtpsession_details);
+ gst_element_class_set_details_simple (element_class, "RTP Session",
+ "Filter/Network/RTP",
+ "Implement an RTP session", "Wim Taymans <wim.taymans@gmail.com>");
}
static void
GST_STATIC_CAPS ("application/x-rtcp")
);
-static GstElementDetails gst_rtp_ssrc_demux_details = {
- "RTP SSRC Demux",
- "Demux/Network/RTP",
- "Splits RTP streams based on the SSRC",
- "Wim Taymans <wim.taymans@gmail.com>"
-};
-
#define GST_PAD_LOCK(obj) (g_mutex_lock ((obj)->padlock))
#define GST_PAD_UNLOCK(obj) (g_mutex_unlock ((obj)->padlock))
gst_element_class_add_pad_template (gstelement_klass,
gst_static_pad_template_get (&rtp_ssrc_demux_rtcp_src_template));
- gst_element_class_set_details (gstelement_klass, &gst_rtp_ssrc_demux_details);
+ gst_element_class_set_details_simple (gstelement_klass, "RTP SSRC Demux",
+ "Demux/Network/RTP",
+ "Splits RTP streams based on the SSRC",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
GST_DEBUG_CATEGORY_STATIC (rtpdec_debug);
#define GST_CAT_DEFAULT (rtpdec_debug)
-/* elementfactory information */
-static const GstElementDetails rtpdec_details =
-GST_ELEMENT_DETAILS ("RTP Decoder",
- "Codec/Parser/Network",
- "Accepts raw RTP and RTCP packets and sends them forward",
- "Wim Taymans <wim@fluendo.com>");
-
/* GstRTPDec signals and args */
enum
{
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtp_dec_rtcp_src_template));
- gst_element_class_set_details (element_class, &rtpdec_details);
+ gst_element_class_set_details_simple (element_class, "RTP Decoder",
+ "Codec/Parser/Network",
+ "Accepts raw RTP and RTCP packets and sends them forward",
+ "Wim Taymans <wim@fluendo.com>");
}
/* BOXED:UINT,UINT */
GST_DEBUG_CATEGORY_STATIC (rtspgoogle_debug);
#define GST_CAT_DEFAULT (rtspgoogle_debug)
-/* elementfactory information */
-static const GstElementDetails rtspgoogle_details =
-GST_ELEMENT_DETAILS ("Google RTSP Extension",
- "Network/Extension/Protocol",
- "Extends RTSP so that it can handle Google setup",
- "Wim Taymans <wim.taymans@gmail.com>");
-
#define SERVER_PREFIX "Google RTSP"
static GstRTSPResult
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
- gst_element_class_set_details (element_class, &rtspgoogle_details);
+ gst_element_class_set_details_simple (element_class, "Google RTSP Extension",
+ "Network/Extension/Protocol",
+ "Extends RTSP so that it can handle Google setup",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
GST_DEBUG_CATEGORY_STATIC (rtspsrc_debug);
#define GST_CAT_DEFAULT (rtspsrc_debug)
-/* elementfactory information */
-static const GstElementDetails gst_rtspsrc_details =
-GST_ELEMENT_DETAILS ("RTSP packet receiver",
- "Source/Network",
- "Receive data over the network via RTSP (RFC 2326)",
- "Wim Taymans <wim@fluendo.com>\n"
- "Thijs Vermeir <thijs.vermeir@barco.com>\n"
- "Lutz Mueller <lutz@topfrose.de>");
-
static GstStaticPadTemplate rtptemplate = GST_STATIC_PAD_TEMPLATE ("stream%d",
GST_PAD_SRC,
GST_PAD_SOMETIMES,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&rtptemplate));
- gst_element_class_set_details (element_class, &gst_rtspsrc_details);
+ gst_element_class_set_details_simple (element_class, "RTSP packet receiver",
+ "Source/Network",
+ "Receive data over the network via RTSP (RFC 2326)",
+ "Wim Taymans <wim@fluendo.com>, "
+ "Thijs Vermeir <thijs.vermeir@barco.com>, "
+ "Lutz Mueller <lutz@topfrose.de>");
}
static void
GST_DEBUG_CATEGORY_STATIC (gst_smpte_debug);
#define GST_CAT_DEFAULT gst_smpte_debug
-/* elementfactory information */
-static const GstElementDetails smpte_details =
-GST_ELEMENT_DETAILS ("SMPTE transitions",
- "Filter/Editor/Video",
- "Apply the standard SMPTE transitions on video images",
- "Wim Taymans <wim.taymans@chello.be>");
-
static GstStaticPadTemplate gst_smpte_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
gst_static_pad_template_get (&gst_smpte_sink2_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_smpte_src_template));
- gst_element_class_set_details (element_class, &smpte_details);
+ gst_element_class_set_details_simple (element_class, "SMPTE transitions",
+ "Filter/Editor/Video",
+ "Apply the standard SMPTE transitions on video images",
+ "Wim Taymans <wim.taymans@chello.be>");
}
static void
GST_DEBUG_CATEGORY_STATIC (gst_smpte_alpha_debug);
#define GST_CAT_DEFAULT gst_smpte_alpha_debug
-/* elementfactory information */
-static const GstElementDetails smpte_details =
-GST_ELEMENT_DETAILS ("SMPTE transitions",
- "Filter/Editor/Video",
- "Apply the standard SMPTE transitions as alpha on video images",
- "Wim Taymans <wim.taymans@gmail.com>");
-
static GstStaticPadTemplate gst_smpte_alpha_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
gst_static_pad_template_get (&gst_smpte_alpha_sink_template));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_smpte_alpha_src_template));
- gst_element_class_set_details (element_class, &smpte_details);
+ gst_element_class_set_details_simple (element_class, "SMPTE transitions",
+ "Filter/Editor/Video",
+ "Apply the standard SMPTE transitions as alpha on video images",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
GST_PAD_ALWAYS,
GST_STATIC_CAPS_ANY);
-/* elementfactory information */
-static const GstElementDetails gst_dynudpsink_details =
-GST_ELEMENT_DETAILS ("UDP packet sender",
- "Sink/Network",
- "Send data over the network via UDP",
- "Philippe Khalaf <burger@speedy.org>");
-
/* DynUDPSink signals and args */
enum
{
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_template));
- gst_element_class_set_details (element_class, &gst_dynudpsink_details);
+ gst_element_class_set_details_simple (element_class, "UDP packet sender",
+ "Sink/Network",
+ "Send data over the network via UDP",
+ "Philippe Khalaf <burger@speedy.org>");
}
static void
GST_PAD_ALWAYS,
GST_STATIC_CAPS_ANY);
-/* elementfactory information */
-static const GstElementDetails gst_multiudpsink_details =
-GST_ELEMENT_DETAILS ("UDP packet sender",
- "Sink/Network",
- "Send data over the network via UDP",
- "Wim Taymans <wim.taymans@gmail.com>");
-
/* MultiUDPSink signals and args */
enum
{
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_template));
- gst_element_class_set_details (element_class, &gst_multiudpsink_details);
+ gst_element_class_set_details_simple (element_class, "UDP packet sender",
+ "Sink/Network",
+ "Send data over the network via UDP",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
#define UDP_DEFAULT_HOST "localhost"
#define UDP_DEFAULT_PORT 4951
-/* elementfactory information */
-static const GstElementDetails gst_udpsink_details =
-GST_ELEMENT_DETAILS ("UDP packet sender",
- "Sink/Network",
- "Send data over the network via UDP",
- "Wim Taymans <wim@fluendo.com>");
-
/* UDPSink signals and args */
enum
{
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_set_details (element_class, &gst_udpsink_details);
+ gst_element_class_set_details_simple (element_class, "UDP packet sender",
+ "Sink/Network",
+ "Send data over the network via UDP", "Wim Taymans <wim@fluendo.com>");
}
static void
GST_PAD_ALWAYS,
GST_STATIC_CAPS_ANY);
-static const GstElementDetails gst_udpsrc_details =
-GST_ELEMENT_DETAILS ("UDP packet receiver",
- "Source/Network",
- "Receive data over the network via UDP",
- "Wim Taymans <wim@fluendo.com>\n"
- "Thijs Vermeir <thijs.vermeir@barco.com>");
-
#define UDP_DEFAULT_PORT 4951
#define UDP_DEFAULT_MULTICAST_GROUP "0.0.0.0"
#define UDP_DEFAULT_MULTICAST_IFACE NULL
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_template));
- gst_element_class_set_details (element_class, &gst_udpsrc_details);
+ gst_element_class_set_details_simple (element_class, "UDP packet receiver",
+ "Source/Network",
+ "Receive data over the network via UDP",
+ "Wim Taymans <wim@fluendo.com>, "
+ "Thijs Vermeir <thijs.vermeir@barco.com>");
}
static void
GST_DEBUG_CATEGORY_STATIC (aspect_ratio_crop_debug);
#define GST_CAT_DEFAULT aspect_ratio_crop_debug
-static const GstElementDetails aspect_ratio_crop_details =
-GST_ELEMENT_DETAILS ("aspectratiocrop",
- "Filter/Effect/Video",
- "Crops video into a user-defined aspect-ratio",
- "Thijs Vermeir <thijsvermeir@gmail.com>");
-
enum
{
ARG_0,
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_set_details (element_class, &aspect_ratio_crop_details);
+ gst_element_class_set_details_simple (element_class, "aspectratiocrop",
+ "Filter/Effect/Video",
+ "Crops video into a user-defined aspect-ratio",
+ "Thijs Vermeir <thijsvermeir@gmail.com>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_template));
GST_DEBUG_CATEGORY_STATIC (videocrop_debug);
#define GST_CAT_DEFAULT videocrop_debug
-static const GstElementDetails video_crop_details = GST_ELEMENT_DETAILS ("Crop",
- "Filter/Effect/Video",
- "Crops video into a user-defined region",
- "Tim-Philipp Müller <tim centricular net>");
-
enum
{
ARG_0,
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_set_details (element_class, &video_crop_details);
+ gst_element_class_set_details_simple (element_class, "Crop",
+ "Filter/Effect/Video",
+ "Crops video into a user-defined region",
+ "Tim-Philipp Müller <tim centricular net>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_template));
GST_LOG_OBJECT (crop, "incaps = %" GST_PTR_FORMAT ", outcaps = %"
GST_PTR_FORMAT, incaps, outcaps);
- if ((crop->crop_left | crop->crop_right | crop->
- crop_top | crop->crop_bottom) == 0) {
+ if ((crop->crop_left | crop->crop_right | crop->crop_top | crop->
+ crop_bottom) == 0) {
GST_LOG_OBJECT (crop, "we are using passthrough");
gst_base_transform_set_passthrough (GST_BASE_TRANSFORM (crop), TRUE);
} else {
#define DEFAULT_PROP_GAMMA 1
-static const GstElementDetails gamma_details =
-GST_ELEMENT_DETAILS ("Video gamma correction",
- "Filter/Effect/Video",
- "Adjusts gamma on a video stream",
- "Arwed v. Merkatz <v.merkatz@gmx.net");
-
static GstStaticPadTemplate gst_gamma_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_set_details (element_class, &gamma_details);
+ gst_element_class_set_details_simple (element_class, "Video gamma correction",
+ "Filter/Effect/Video",
+ "Adjusts gamma on a video stream", "Arwed v. Merkatz <v.merkatz@gmx.net");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_gamma_sink_template));
#define rint(x) (floor((x)+0.5))
#endif
-static const GstElementDetails video_balance_details =
-GST_ELEMENT_DETAILS ("Video balance",
- "Filter/Effect/Video",
- "Adjusts brightness, contrast, hue, saturation on a video stream",
- "David Schleef <ds@schleef.org>");
-
/* GstVideoBalance signals and args */
#define DEFAULT_PROP_CONTRAST 1.0
#define DEFAULT_PROP_BRIGHTNESS 0.0
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_set_details (element_class, &video_balance_details);
+ gst_element_class_set_details_simple (element_class, "Video balance",
+ "Filter/Effect/Video",
+ "Adjusts brightness, contrast, hue, saturation on a video stream",
+ "David Schleef <ds@schleef.org>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_video_balance_sink_template));
GST_DEBUG_CATEGORY_STATIC (video_flip_debug);
#define GST_CAT_DEFAULT video_flip_debug
-static const GstElementDetails video_flip_details =
-GST_ELEMENT_DETAILS ("Video flipper",
- "Filter/Effect/Video",
- "Flips and rotates video",
- "David Schleef <ds@schleef.org>");
-
static GstStaticPadTemplate gst_video_flip_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_set_details (element_class, &video_flip_details);
+ gst_element_class_set_details_simple (element_class, "Video flipper",
+ "Filter/Effect/Video",
+ "Flips and rotates video", "David Schleef <ds@schleef.org>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_video_flip_sink_template));
static void
gst_videotemplate_base_init (gpointer g_class)
{
- static const GstElementDetails videotemplate_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);
GstVideofilterClass *videofilter_class = GST_VIDEOFILTER_CLASS (g_class);
int i;
- gst_element_class_set_details (element_class, &videotemplate_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>");
for (i = 0; i < G_N_ELEMENTS (gst_videotemplate_formats); i++) {
gst_videofilter_class_add_format (videofilter_class,
struct chunk_struct data;
};
-static const GstElementDetails gst_wavenc_details =
-GST_ELEMENT_DETAILS ("WAV audio muxer",
- "Codec/Muxer/Audio",
- "Encode raw audio into WAV",
- "Iain Holmes <iain@prettypeople.org>");
-
/* FIXME: mono doesn't produce correct files it seems, at least mplayer xruns */
/* Max. of two channels, more channels need WAVFORMATEX with
* channel layout, which we do not support yet */
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_set_details (element_class, &gst_wavenc_details);
+ gst_element_class_set_details_simple (element_class, "WAV audio muxer",
+ "Codec/Muxer/Audio",
+ "Encode raw audio into WAV", "Iain Holmes <iain@prettypeople.org>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_factory));
static void gst_wavparse_loop (GstPad * pad);
static gboolean gst_wavparse_srcpad_event (GstPad * pad, GstEvent * event);
-static const GstElementDetails gst_wavparse_details =
-GST_ELEMENT_DETAILS ("WAV audio demuxer",
- "Codec/Demuxer/Audio",
- "Parse a .wav file into raw audio",
- "Erik Walthinsen <omega@cse.ogi.edu>");
-
static GstStaticPadTemplate sink_template_factory =
GST_STATIC_PAD_TEMPLATE ("wavparse_sink",
GST_PAD_SINK,
gst_element_class_add_pad_template (element_class, src_template);
gst_object_unref (src_template);
- gst_element_class_set_details (element_class, &gst_wavparse_details);
+ gst_element_class_set_details_simple (element_class, "WAV audio demuxer",
+ "Codec/Demuxer/Audio",
+ "Parse a .wav file into raw audio",
+ "Erik Walthinsen <omega@cse.ogi.edu>");
}
static void
#include <gst/video/video.h>
#include "gsty4mencode.h"
-static const GstElementDetails y4mencode_details =
-GST_ELEMENT_DETAILS ("YUV4MPEG video encoder",
- "Codec/Encoder/Video",
- "Encodes a YUV frame into the yuv4mpeg format (mjpegtools)",
- "Wim Taymans <wim.taymans@gmail.com>");
-
-
/* Filter signals and args */
enum
{
gst_static_pad_template_get (&y4mencode_src_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&y4mencode_sink_factory));
- gst_element_class_set_details (element_class, &y4mencode_details);
+ gst_element_class_set_details_simple (element_class, "YUV4MPEG video encoder",
+ "Codec/Encoder/Video",
+ "Encodes a YUV frame into the yuv4mpeg format (mjpegtools)",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
GST_DEBUG_CATEGORY_STATIC (directsoundsink_debug);
-/* elementfactory information */
-static const GstElementDetails gst_directsound_sink_details =
-GST_ELEMENT_DETAILS ("Direct Sound Audio Sink",
- "Sink/Audio",
- "Output to a sound card via Direct Sound",
- "Sebastien Moutte <sebastien@moutte.net>");
-
static void gst_directsound_sink_base_init (gpointer g_class);
static void gst_directsound_sink_class_init (GstDirectSoundSinkClass * klass);
static void gst_directsound_sink_init (GstDirectSoundSink * dsoundsink,
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_set_details (element_class, &gst_directsound_sink_details);
+ gst_element_class_set_details_simple (element_class,
+ "Direct Sound Audio Sink", "Sink/Audio",
+ "Output to a sound card via Direct Sound",
+ "Sebastien Moutte <sebastien@moutte.net>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&directsoundsink_sink_factory));
}
PROP_DEVICE_NAME
};
-
-static const GstElementDetails gst_oss_mixer_element_details =
-GST_ELEMENT_DETAILS ("OSS Mixer",
- "Generic/Audio",
- "Control sound input and output levels with OSS",
- "Andrew Vander Wingo <wingo@pobox.com>");
-
-
GST_BOILERPLATE_WITH_INTERFACE (GstOssMixerElement, gst_oss_mixer_element,
GstElement, GST_TYPE_ELEMENT, GstMixer, GST_TYPE_MIXER,
gst_oss_mixer_element);
static void
gst_oss_mixer_element_base_init (gpointer klass)
{
- gst_element_class_set_details (GST_ELEMENT_CLASS (klass),
- &gst_oss_mixer_element_details);
+ gst_element_class_set_details_simple (GST_ELEMENT_CLASS (klass), "OSS Mixer",
+ "Generic/Audio",
+ "Control sound input and output levels with OSS",
+ "Andrew Vander Wingo <wingo@pobox.com>");
}
static void
GST_DEBUG_CATEGORY_EXTERN (oss_debug);
#define GST_CAT_DEFAULT oss_debug
-/* elementfactory information */
-static const GstElementDetails gst_oss_sink_details =
-GST_ELEMENT_DETAILS ("Audio Sink (OSS)",
- "Sink/Audio",
- "Output to a sound card via OSS",
- "Erik Walthinsen <omega@cse.ogi.edu>, "
- "Wim Taymans <wim.taymans@chello.be>");
-
static void gst_oss_sink_base_init (gpointer g_class);
static void gst_oss_sink_class_init (GstOssSinkClass * klass);
static void gst_oss_sink_init (GstOssSink * osssink);
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_set_details (element_class, &gst_oss_sink_details);
+ gst_element_class_set_details_simple (element_class, "Audio Sink (OSS)",
+ "Sink/Audio",
+ "Output to a sound card via OSS",
+ "Erik Walthinsen <omega@cse.ogi.edu>, "
+ "Wim Taymans <wim.taymans@chello.be>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&osssink_sink_factory));
GST_DEBUG_CATEGORY_EXTERN (oss_debug);
#define GST_CAT_DEFAULT oss_debug
-static const GstElementDetails gst_oss_src_details =
-GST_ELEMENT_DETAILS ("Audio Source (OSS)",
- "Source/Audio",
- "Capture from a sound card via OSS",
- "Erik Walthinsen <omega@cse.ogi.edu>, " "Wim Taymans <wim@fluendo.com>");
-
#define DEFAULT_DEVICE "/dev/dsp"
#define DEFAULT_DEVICE_NAME ""
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_set_details (element_class, &gst_oss_src_details);
+ gst_element_class_set_details_simple (element_class, "Audio Source (OSS)",
+ "Source/Audio",
+ "Capture from a sound card via OSS",
+ "Erik Walthinsen <omega@cse.ogi.edu>, " "Wim Taymans <wim@fluendo.com>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&osssrc_src_factory));
GST_DEBUG_CATEGORY_STATIC (osx_audiosink_debug);
#define GST_CAT_DEFAULT osx_audiosink_debug
-static GstElementDetails gst_osx_audio_sink_details =
-GST_ELEMENT_DETAILS ("Audio Sink (OSX)",
- "Sink/Audio",
- "Output to a sound card in OS X",
- "Zaheer Abbas Merali <zaheerabbas at merali dot org>");
-
/* Filter signals and args */
enum
{
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_factory));
- gst_element_class_set_details (element_class, &gst_osx_audio_sink_details);
+ gst_element_class_set_details_simple (element_class, "Audio Sink (OSX)",
+ "Sink/Audio",
+ "Output to a sound card in OS X",
+ "Zaheer Abbas Merali <zaheerabbas at merali dot org>");
}
static void
GST_DEBUG_CATEGORY_STATIC (osx_audiosrc_debug);
#define GST_CAT_DEFAULT osx_audiosrc_debug
-static GstElementDetails gst_osx_audio_src_details =
-GST_ELEMENT_DETAILS ("Audio Source (OSX)",
- "Source/Audio",
- "Input from a sound card in OS X",
- "Zaheer Abbas Merali <zaheerabbas at merali dot org>");
-
/* Filter signals and args */
enum
{
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_factory));
- gst_element_class_set_details (element_class, &gst_osx_audio_src_details);
+ gst_element_class_set_details_simple (element_class, "Audio Source (OSX)",
+ "Source/Audio",
+ "Input from a sound card in OS X",
+ "Zaheer Abbas Merali <zaheerabbas at merali dot org>");
}
static void
if (min == max) {
gst_caps_set_simple (caps, "channels", G_TYPE_INT, max, NULL);
} else {
- gst_caps_set_simple (caps, "channels", GST_TYPE_INT_RANGE, min, max,
- NULL);
+ gst_caps_set_simple (caps, "channels", GST_TYPE_INT_RANGE, min, max, NULL);
}
return caps;
GST_DEBUG_CATEGORY (gst_debug_osx_video_sink);
#define GST_CAT_DEFAULT gst_debug_osx_video_sink
-static const GstElementDetails gst_osx_video_sink_details =
-GST_ELEMENT_DETAILS ("OSX Video sink",
- "Sink/Video",
- "OSX native videosink",
- "Zaheer Abbas Merali <zaheerabbas at merali dot org>");
-
static GstStaticPadTemplate gst_osx_video_sink_sink_template_factory =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_set_details (element_class, &gst_osx_video_sink_details);
+ gst_element_class_set_details_simple (element_class, "OSX Video sink",
+ "Sink/Video", "OSX native videosink",
+ "Zaheer Abbas Merali <zaheerabbas at merali dot org>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_osx_video_sink_sink_template_factory));
#include "gstsunaudiomixer.h"
-static const GstElementDetails gst_sunaudiomixer_details =
-GST_ELEMENT_DETAILS ("Sun Audio Mixer",
- "Generic/Audio",
- "Control sound input and output levels with Sun Audio",
- "Brian Cameron <brian.cameron@sun.com>");
-
GST_BOILERPLATE_WITH_INTERFACE (GstSunAudioMixer, gst_sunaudiomixer,
GstElement, GST_TYPE_ELEMENT, GstMixer, GST_TYPE_MIXER, gst_sunaudiomixer);
static void
gst_sunaudiomixer_base_init (gpointer klass)
{
- gst_element_class_set_details (GST_ELEMENT_CLASS (klass),
- &gst_sunaudiomixer_details);
+ gst_element_class_set_details_simple (GST_ELEMENT_CLASS (klass),
+ "Sun Audio Mixer", "Generic/Audio",
+ "Control sound input and output levels with Sun Audio",
+ "Brian Cameron <brian.cameron@sun.com>");
}
static void
GST_DEBUG_CATEGORY_EXTERN (sunaudio_debug);
#define GST_CAT_DEFAULT sunaudio_debug
-/* elementfactory information */
-static const GstElementDetails plugin_details =
-GST_ELEMENT_DETAILS ("Sun Audio Sink",
- "Sink/Audio",
- "Audio sink for Sun Audio devices",
- "David A. Schleef <ds@schleef.org>, "
- "Brian Cameron <brian.cameron@sun.com>");
-
static void gst_sunaudiosink_base_init (gpointer g_class);
static void gst_sunaudiosink_class_init (GstSunAudioSinkClass * klass);
static void gst_sunaudiosink_init (GstSunAudioSink * filter);
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_sunaudiosink_factory));
- gst_element_class_set_details (element_class, &plugin_details);
+ gst_element_class_set_details_simple (element_class, "Sun Audio Sink",
+ "Sink/Audio",
+ "Audio sink for Sun Audio devices",
+ "David A. Schleef <ds@schleef.org>, "
+ "Brian Cameron <brian.cameron@sun.com>");
}
static void
GST_DEBUG_CATEGORY_EXTERN (sunaudio_debug);
#define GST_CAT_DEFAULT sunaudio_debug
-static GstElementDetails plugin_details =
-GST_ELEMENT_DETAILS ("Sun Audio Source",
- "Source/Audio",
- "Audio source for Sun Audio devices",
- "Brian Cameron <brian.cameron@sun.com>");
-
static void gst_sunaudiosrc_base_init (gpointer g_class);
static void gst_sunaudiosrc_class_init (GstSunAudioSrcClass * klass);
static void gst_sunaudiosrc_init (GstSunAudioSrc * sunaudiosrc,
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_sunaudiosrc_factory));
- gst_element_class_set_details (element_class, &plugin_details);
+ gst_element_class_set_details_simple (element_class, "Sun Audio Source",
+ "Source/Audio",
+ "Audio source for Sun Audio devices",
+ "Brian Cameron <brian.cameron@sun.com>");
}
static void
#include <string.h>
-
-static const GstElementDetails gst_v4l2sink_details =
-GST_ELEMENT_DETAILS ("Video (video4linux2) Sink",
- "Sink/Video",
- "Displays frames on a video4linux2 device",
- "Rob Clark <rob@ti.com>,");
-
GST_DEBUG_CATEGORY (v4l2sink_debug);
#define GST_CAT_DEFAULT v4l2sink_debug
GST_DEBUG_CATEGORY_INIT (v4l2sink_debug, "v4l2sink", 0, "V4L2 sink element");
- gst_element_class_set_details (gstelement_class, &gst_v4l2sink_details);
+ gst_element_class_set_details_simple (gstelement_class,
+ "Video (video4linux2) Sink", "Sink/Video",
+ "Displays frames on a video4linux2 device", "Rob Clark <rob@ti.com>,");
gst_element_class_add_pad_template
(gstelement_class,
#include "gst/gst-i18n-plugin.h"
-static const GstElementDetails gst_v4l2src_details =
-GST_ELEMENT_DETAILS ("Video (video4linux2) Source",
- "Source/Video",
- "Reads frames from a video4linux2 (BT8x8) device",
- "Edgard Lima <edgard.lima@indt.org.br>,"
- " Stefan Kost <ensonic@users.sf.net>");
-
GST_DEBUG_CATEGORY (v4l2src_debug);
#define GST_CAT_DEFAULT v4l2src_debug
GST_DEBUG_CATEGORY_INIT (v4l2src_debug, "v4l2src", 0, "V4L2 source element");
- gst_element_class_set_details (gstelement_class, &gst_v4l2src_details);
+ gst_element_class_set_details_simple (gstelement_class,
+ "Video (video4linux2) Source", "Source/Video",
+ "Reads frames from a video4linux2 (BT8x8) device",
+ "Edgard Lima <edgard.lima@indt.org.br>,"
+ " Stefan Kost <ensonic@users.sf.net>");
gst_element_class_add_pad_template
(gstelement_class,
GST_DEBUG_CATEGORY_STATIC (waveformsink_debug);
-/* elementfactory information */
-static const GstElementDetails gst_waveform_sink_details =
-GST_ELEMENT_DETAILS ("WaveForm Audio Sink",
- "Sink/Audio",
- "Output to a sound card via WaveForm API",
- "Sebastien Moutte <sebastien@moutte.net>");
-
static void gst_waveform_sink_base_init (gpointer g_class);
static void gst_waveform_sink_class_init (GstWaveFormSinkClass * klass);
static void gst_waveform_sink_init (GstWaveFormSink * wfsink,
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_set_details (element_class, &gst_waveform_sink_details);
+ gst_element_class_set_details_simple (element_class, "WaveForm Audio Sink",
+ "Sink/Audio",
+ "Output to a sound card via WaveForm API",
+ "Sebastien Moutte <sebastien@moutte.net>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&waveformsink_sink_factory));
}
GST_DEBUG_CATEGORY_STATIC (gst_debug_ximage_src);
#define GST_CAT_DEFAULT gst_debug_ximage_src
-/* elementfactory information */
-static const GstElementDetails ximagesrc_details =
-GST_ELEMENT_DETAILS ("Ximage video source",
- "Source/Video",
- "Creates a screenshot video stream",
- "Lutz Mueller <lutz@users.sourceforge.net>, "
- "Jan Schmidt <thaytan@mad.scientist.com>, "
- "Zaheer Merali <zaheerabbas at merali dot org>");
-
static GstStaticPadTemplate t =
GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS,
GST_STATIC_CAPS ("video/x-raw-rgb, "
{
GstElementClass *ec = GST_ELEMENT_CLASS (g_class);
- gst_element_class_set_details (ec, &ximagesrc_details);
+ gst_element_class_set_details_simple (ec, "Ximage video source",
+ "Source/Video",
+ "Creates a screenshot video stream",
+ "Lutz Mueller <lutz@users.sourceforge.net>, "
+ "Jan Schmidt <thaytan@mad.scientist.com>, "
+ "Zaheer Merali <zaheerabbas at merali dot org>");
gst_element_class_add_pad_template (ec, gst_static_pad_template_get (&t));
}