mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-29 12:25:37 +00:00
gst_element_class_set_details => gst_element_class_set_details_simple
This commit is contained in:
parent
bc1b65bee3
commit
cccfeaa59c
175 changed files with 699 additions and 1350 deletions
|
@ -43,13 +43,6 @@
|
|||
#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
|
||||
{
|
||||
|
@ -199,7 +192,9 @@ gst_aasink_base_init (gpointer g_class)
|
|||
|
||||
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
|
||||
|
|
|
@ -68,12 +68,6 @@ enum
|
|||
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,
|
||||
|
@ -131,7 +125,9 @@ gst_cmml_dec_base_init (gpointer g_class)
|
|||
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
|
||||
|
|
|
@ -65,12 +65,6 @@ enum
|
|||
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,
|
||||
|
@ -118,7 +112,9 @@ gst_cmml_enc_base_init (gpointer g_class)
|
|||
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
|
||||
|
|
|
@ -54,12 +54,6 @@
|
|||
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,
|
||||
|
@ -141,7 +135,10 @@ gst_text_overlay_base_init (gpointer g_class)
|
|||
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
|
||||
|
|
|
@ -49,12 +49,6 @@
|
|||
#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,
|
||||
|
@ -270,7 +264,9 @@ gst_cairo_time_overlay_base_init (gpointer g_class)
|
|||
{
|
||||
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));
|
||||
|
|
|
@ -47,13 +47,6 @@
|
|||
|
||||
#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
|
||||
|
@ -178,7 +171,10 @@ gst_dvdec_base_init (gpointer g_class)
|
|||
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");
|
||||
}
|
||||
|
|
|
@ -106,12 +106,6 @@
|
|||
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,
|
||||
|
@ -186,7 +180,10 @@ gst_dvdemux_base_init (gpointer g_class)
|
|||
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");
|
||||
}
|
||||
|
|
|
@ -47,14 +47,6 @@
|
|||
#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
|
||||
{
|
||||
|
@ -178,7 +170,10 @@ gst_esdmon_base_init (gpointer g_class)
|
|||
|
||||
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
|
||||
|
|
|
@ -62,13 +62,6 @@
|
|||
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,
|
||||
|
@ -120,7 +113,10 @@ gst_esdsink_base_init (gpointer g_class)
|
|||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&sink_factory));
|
||||
gst_element_class_set_details (element_class, &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
|
||||
|
|
|
@ -68,12 +68,11 @@ 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())
|
||||
|
|
|
@ -55,11 +55,7 @@ static void
|
|||
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,
|
||||
|
@ -67,7 +63,10 @@ gst_gconf_audio_src_base_init (gpointer klass)
|
|||
|
||||
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
|
||||
|
|
|
@ -53,11 +53,7 @@ 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,
|
||||
|
@ -65,7 +61,10 @@ gst_gconf_video_sink_base_init (gpointer klass)
|
|||
|
||||
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
|
||||
|
|
|
@ -55,11 +55,7 @@ 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,
|
||||
|
@ -67,7 +63,10 @@ gst_gconf_video_src_base_init (gpointer klass)
|
|||
|
||||
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
|
||||
|
|
|
@ -33,12 +33,6 @@
|
|||
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,
|
||||
|
@ -165,7 +159,10 @@ gst_gdk_pixbuf_base_init (gpointer g_class)
|
|||
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 */
|
||||
|
|
|
@ -39,15 +39,6 @@
|
|||
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
|
||||
{
|
||||
|
@ -125,7 +116,11 @@ gst_pixbufscale_base_init (gpointer g_class)
|
|||
{
|
||||
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));
|
||||
|
|
|
@ -68,11 +68,7 @@ static void
|
|||
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,
|
||||
|
@ -80,7 +76,10 @@ gst_hal_audio_sink_base_init (gpointer klass)
|
|||
|
||||
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
|
||||
|
|
|
@ -70,11 +70,7 @@ 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,
|
||||
|
@ -82,7 +78,10 @@ gst_hal_audio_src_base_init (gpointer klass)
|
|||
|
||||
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
|
||||
|
|
|
@ -43,12 +43,6 @@
|
|||
#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
|
||||
|
@ -164,7 +158,9 @@ gst_jpeg_dec_base_init (gpointer g_class)
|
|||
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
|
||||
|
|
|
@ -43,14 +43,6 @@
|
|||
/* 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
|
||||
|
@ -160,7 +152,9 @@ gst_jpegenc_base_init (gpointer g_class)
|
|||
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
|
||||
|
|
|
@ -32,13 +32,6 @@
|
|||
#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
|
||||
|
||||
|
@ -117,7 +110,9 @@ gst_smokedec_base_init (gpointer g_class)
|
|||
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
|
||||
|
|
|
@ -30,13 +30,6 @@
|
|||
#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
|
||||
|
||||
|
@ -134,7 +127,9 @@ gst_smokeenc_base_init (gpointer g_class)
|
|||
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
|
||||
|
|
|
@ -54,13 +54,6 @@
|
|||
//#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
|
||||
{
|
||||
|
@ -155,7 +148,9 @@ gst_cacasink_base_init (gpointer g_class)
|
|||
{
|
||||
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));
|
||||
}
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
#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 ();
|
||||
|
|
|
@ -21,12 +21,6 @@
|
|||
#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
|
||||
{
|
||||
|
@ -76,7 +70,9 @@ gst_mng_dec_base_init (gpointer g_class)
|
|||
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
|
||||
|
|
|
@ -26,13 +26,6 @@
|
|||
|
||||
#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
|
||||
{
|
||||
|
@ -91,7 +84,9 @@ gst_mng_enc_base_init (gpointer g_class)
|
|||
|
||||
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
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#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 ();
|
||||
|
|
|
@ -30,12 +30,6 @@
|
|||
#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
|
||||
|
||||
|
@ -111,7 +105,10 @@ gst_pngdec_base_init (gpointer g_class)
|
|||
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
|
||||
|
|
|
@ -32,13 +32,6 @@
|
|||
|
||||
#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
|
||||
|
||||
|
@ -109,7 +102,10 @@ gst_pngenc_base_init (gpointer g_class)
|
|||
(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
|
||||
|
|
|
@ -24,14 +24,6 @@
|
|||
|
||||
#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
|
||||
{
|
||||
|
@ -140,7 +132,9 @@ gst_mikmod_base_init (gpointer g_class)
|
|||
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
|
||||
|
|
|
@ -113,14 +113,6 @@ enum
|
|||
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,
|
||||
|
@ -179,7 +171,12 @@ gst_dv1394src_base_init (gpointer g_class)
|
|||
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
|
||||
|
|
|
@ -90,12 +90,6 @@ enum
|
|||
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,
|
||||
|
@ -149,7 +143,10 @@ gst_hdv1394src_base_init (gpointer g_class)
|
|||
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
|
||||
|
|
|
@ -31,14 +31,6 @@
|
|||
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
|
||||
{
|
||||
|
@ -170,7 +162,11 @@ gst_shout2send_base_init (GstShout2sendClass * klass)
|
|||
|
||||
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");
|
||||
}
|
||||
|
|
|
@ -89,12 +89,6 @@
|
|||
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,
|
||||
|
@ -201,7 +195,10 @@ gst_soup_http_src_base_init (gpointer g_class)
|
|||
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
|
||||
|
|
|
@ -50,12 +50,6 @@
|
|||
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
|
||||
|
@ -115,7 +109,9 @@ gst_speex_dec_base_init (gpointer g_class)
|
|||
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
|
||||
|
|
|
@ -69,12 +69,6 @@ static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
|
|||
"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
|
||||
|
@ -184,7 +178,9 @@ gst_speex_enc_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, &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
|
||||
|
|
|
@ -60,12 +60,6 @@
|
|||
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,
|
||||
|
@ -88,7 +82,10 @@ gst_ape_demux_base_init (gpointer klass)
|
|||
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");
|
||||
|
|
|
@ -49,12 +49,6 @@
|
|||
#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
|
||||
{
|
||||
|
@ -289,7 +283,10 @@ gst_audio_amplify_base_init (gpointer klass)
|
|||
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),
|
||||
|
|
|
@ -53,12 +53,6 @@
|
|||
#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
|
||||
{
|
||||
|
@ -224,7 +218,9 @@ gst_audio_dynamic_base_init (gpointer klass)
|
|||
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),
|
||||
|
|
|
@ -51,12 +51,6 @@
|
|||
#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
|
||||
{
|
||||
|
@ -113,7 +107,10 @@ gst_audio_invert_base_init (gpointer klass)
|
|||
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),
|
||||
|
|
|
@ -49,12 +49,6 @@
|
|||
#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
|
||||
{
|
||||
|
@ -120,7 +114,9 @@ gst_audio_karaoke_base_init (gpointer klass)
|
|||
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),
|
||||
|
|
|
@ -49,12 +49,6 @@
|
|||
#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
|
||||
{
|
||||
|
@ -194,7 +188,10 @@ gst_audio_panorama_base_init (gpointer klass)
|
|||
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
|
||||
|
|
|
@ -37,12 +37,6 @@
|
|||
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,
|
||||
|
@ -96,7 +90,10 @@ gst_au_parse_base_init (gpointer g_class)
|
|||
gst_static_pad_template_get (&sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&src_template));
|
||||
gst_element_class_set_details (element_class, &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");
|
||||
}
|
||||
|
|
|
@ -63,12 +63,6 @@ static void gst_auto_audio_sink_get_property (GObject * object, guint prop_id,
|
|||
|
||||
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,
|
||||
|
@ -82,7 +76,10 @@ gst_auto_audio_sink_base_init (gpointer klass)
|
|||
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
|
||||
|
|
|
@ -64,13 +64,6 @@ static void gst_auto_audio_src_get_property (GObject * object, guint prop_id,
|
|||
|
||||
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,
|
||||
|
@ -84,7 +77,11 @@ gst_auto_audio_src_base_init (gpointer klass)
|
|||
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
|
||||
|
|
|
@ -64,12 +64,6 @@ static void gst_auto_video_sink_get_property (GObject * object, guint prop_id,
|
|||
|
||||
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,
|
||||
|
@ -82,7 +76,10 @@ gst_auto_video_sink_base_init (gpointer klass)
|
|||
|
||||
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
|
||||
|
|
|
@ -65,13 +65,6 @@ static void gst_auto_video_src_get_property (GObject * object, guint prop_id,
|
|||
|
||||
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,
|
||||
|
@ -84,7 +77,11 @@ gst_auto_video_src_base_init (gpointer klass)
|
|||
|
||||
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
|
||||
|
|
|
@ -145,13 +145,6 @@ gst_avi_demux_get_type (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;
|
||||
|
@ -175,7 +168,12 @@ gst_avi_demux_base_init (GstAviDemuxClass * klass)
|
|||
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
|
||||
|
|
|
@ -79,12 +79,6 @@ enum
|
|||
|
||||
#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,
|
||||
|
@ -254,7 +248,10 @@ gst_avi_mux_base_init (gpointer g_class)
|
|||
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");
|
||||
}
|
||||
|
|
|
@ -65,12 +65,6 @@ GST_DEBUG_CATEGORY_STATIC (cutter_debug);
|
|||
#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,
|
||||
|
@ -124,7 +118,10 @@ gst_cutter_base_init (gpointer g_class)
|
|||
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
|
||||
|
|
|
@ -85,11 +85,6 @@ static GstFlowReturn gst_break_my_data_transform_ip (GstBaseTransform * trans,
|
|||
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,
|
||||
|
@ -120,7 +115,9 @@ gst_break_my_data_base_init (gpointer g_class)
|
|||
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
|
||||
|
|
|
@ -42,16 +42,6 @@
|
|||
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
|
||||
{
|
||||
|
@ -148,7 +138,13 @@ gst_efence_base_init (gpointer g_class)
|
|||
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 */
|
||||
|
|
|
@ -35,12 +35,6 @@
|
|||
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,
|
||||
|
@ -272,7 +266,10 @@ gst_navigationtest_base_init (gpointer g_class)
|
|||
{
|
||||
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));
|
||||
|
|
|
@ -47,12 +47,6 @@ GstStaticPadTemplate navseek_sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
|
|||
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);
|
||||
|
@ -79,7 +73,10 @@ gst_navseek_base_init (gpointer g_class)
|
|||
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
|
||||
|
|
|
@ -48,12 +48,6 @@
|
|||
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,
|
||||
|
@ -88,7 +82,10 @@ gst_push_file_src_base_init (gpointer g_class)
|
|||
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
|
||||
|
|
|
@ -59,14 +59,6 @@ struct _GstNegotiationClass
|
|||
|
||||
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
|
||||
{
|
||||
|
@ -143,7 +135,10 @@ gst_negotiation_base_init (gpointer g_class)
|
|||
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
|
||||
|
|
|
@ -96,12 +96,6 @@ GST_STATIC_PAD_TEMPLATE ("sink",
|
|||
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"
|
||||
|
@ -132,7 +126,10 @@ gst_progress_report_base_init (gpointer g_class)
|
|||
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
|
||||
|
|
|
@ -80,12 +80,6 @@ static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
|
|||
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");
|
||||
|
@ -103,7 +97,8 @@ gst_test_base_init (gpointer g_class)
|
|||
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
|
||||
|
|
|
@ -40,13 +40,6 @@
|
|||
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,
|
||||
|
@ -114,7 +107,10 @@ gst_flxdec_base_init (GstFlxDecClass * klass)
|
|||
{
|
||||
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,
|
||||
|
|
|
@ -48,13 +48,6 @@
|
|||
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
|
||||
{
|
||||
|
@ -131,7 +124,10 @@ gst_goom_base_init (GstGoomClass * klass)
|
|||
{
|
||||
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,
|
||||
|
|
|
@ -47,13 +47,6 @@
|
|||
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
|
||||
{
|
||||
|
@ -130,7 +123,10 @@ gst_goom_base_init (GstGoomClass * klass)
|
|||
{
|
||||
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,
|
||||
|
|
|
@ -49,13 +49,6 @@
|
|||
|
||||
#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);
|
||||
|
@ -126,7 +119,11 @@ gst_icydemux_base_init (GstICYDemuxClass * klass)
|
|||
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
|
||||
|
|
|
@ -57,12 +57,6 @@
|
|||
#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,
|
||||
|
@ -103,7 +97,10 @@ gst_id3demux_base_init (gpointer klass)
|
|||
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
|
||||
|
|
|
@ -178,17 +178,15 @@ 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
|
||||
|
|
|
@ -178,17 +178,15 @@ 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
|
||||
|
|
|
@ -115,11 +115,6 @@
|
|||
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,
|
||||
|
@ -188,7 +183,10 @@ gst_level_base_init (gpointer g_class)
|
|||
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
|
||||
|
|
|
@ -24,13 +24,6 @@
|
|||
#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,
|
||||
|
@ -113,7 +106,10 @@ gst_median_base_init (GstMedianClass * klass)
|
|||
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
|
||||
|
|
|
@ -47,13 +47,6 @@
|
|||
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,
|
||||
|
@ -112,7 +105,10 @@ gst_monoscope_base_init (gpointer klass)
|
|||
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
|
||||
|
|
|
@ -121,12 +121,6 @@ static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
|
|||
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
|
||||
|
@ -188,8 +182,10 @@ gst_multi_file_sink_base_init (gpointer g_class)
|
|||
|
||||
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
|
||||
|
|
|
@ -69,12 +69,6 @@ GST_STATIC_PAD_TEMPLATE ("src",
|
|||
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,
|
||||
|
@ -100,7 +94,10 @@ gst_multi_file_src_base_init (gpointer g_class)
|
|||
|
||||
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
|
||||
|
|
|
@ -55,14 +55,6 @@
|
|||
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
|
||||
{
|
||||
|
@ -144,7 +136,10 @@ gst_multipart_demux_base_init (gpointer g_class)
|
|||
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
|
||||
|
|
|
@ -42,13 +42,6 @@
|
|||
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
|
||||
|
@ -140,7 +133,8 @@ gst_multipart_mux_base_init (gpointer g_class)
|
|||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&sink_factory));
|
||||
|
||||
gst_element_class_set_details (element_class, &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
|
||||
|
|
|
@ -63,13 +63,6 @@
|
|||
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
|
||||
{
|
||||
|
@ -121,7 +114,10 @@ gst_rtp_xqt_depay_base_init (gpointer klass)
|
|||
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
|
||||
|
|
|
@ -337,12 +337,6 @@ static GNode *qtdemux_tree_get_child_by_type_full (GNode * node,
|
|||
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,
|
||||
|
@ -442,7 +436,10 @@ gst_qtdemux_base_init (GstQTDemuxClass * klass)
|
|||
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");
|
||||
}
|
||||
|
|
|
@ -86,13 +86,6 @@
|
|||
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
|
||||
|
@ -166,7 +159,10 @@ gst_rg_analysis_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, &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");
|
||||
|
|
|
@ -78,13 +78,6 @@ static void gst_rg_limiter_get_property (GObject * object, guint prop_id,
|
|||
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)
|
||||
{
|
||||
|
@ -94,7 +87,10 @@ 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");
|
||||
|
|
|
@ -143,18 +143,14 @@ gst_rg_volume_base_init (gpointer g_class)
|
|||
{
|
||||
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");
|
||||
|
|
|
@ -47,13 +47,6 @@ typedef struct _GstAsteriskH263Header
|
|||
#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,
|
||||
|
@ -91,7 +84,10 @@ gst_asteriskh263_base_init (gpointer klass)
|
|||
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
|
||||
|
|
|
@ -33,13 +33,6 @@
|
|||
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,
|
||||
|
@ -92,7 +85,10 @@ gst_rtp_L16_depay_base_init (gpointer klass)
|
|||
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
|
||||
|
|
|
@ -33,13 +33,6 @@
|
|||
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,
|
||||
|
@ -92,7 +85,10 @@ gst_rtp_L16_pay_base_init (gpointer klass)
|
|||
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
|
||||
|
|
|
@ -29,13 +29,6 @@
|
|||
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,
|
||||
|
@ -72,7 +65,10 @@ gst_rtp_ac3_depay_base_init (gpointer klass)
|
|||
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
|
||||
|
|
|
@ -37,13 +37,6 @@ GST_DEBUG_CATEGORY_STATIC (rtpamrdepay_debug);
|
|||
* 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
|
||||
{
|
||||
|
@ -131,7 +124,10 @@ gst_rtp_amr_depay_base_init (gpointer klass)
|
|||
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
|
||||
|
|
|
@ -43,13 +43,6 @@ GST_DEBUG_CATEGORY_STATIC (rtpamrpay_debug);
|
|||
* (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,
|
||||
|
@ -110,7 +103,10 @@ gst_rtp_amr_pay_base_init (gpointer klass)
|
|||
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
|
||||
|
|
|
@ -27,13 +27,6 @@
|
|||
#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,
|
||||
|
@ -73,7 +66,10 @@ gst_rtp_bv_depay_base_init (gpointer klass)
|
|||
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
|
||||
|
|
|
@ -27,14 +27,6 @@
|
|||
#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)
|
||||
|
||||
|
@ -78,7 +70,10 @@ gst_rtp_bv_pay_base_init (gpointer klass)
|
|||
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
|
||||
|
|
|
@ -30,13 +30,6 @@
|
|||
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
|
||||
|
@ -89,7 +82,10 @@ gst_rtp_celt_depay_base_init (gpointer klass)
|
|||
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");
|
||||
|
|
|
@ -30,13 +30,6 @@
|
|||
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,
|
||||
|
@ -81,7 +74,10 @@ gst_rtp_celt_pay_base_init (gpointer klass)
|
|||
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");
|
||||
|
|
|
@ -23,13 +23,6 @@
|
|||
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,
|
||||
|
@ -78,7 +71,10 @@ gst_rtp_depay_base_init (gpointer klass)
|
|||
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
|
||||
|
|
|
@ -85,12 +85,6 @@ GST_BOILERPLATE (GstRTPDVDepay, gst_rtp_dv_depay, GstBaseRTPDepayload,
|
|||
|
||||
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,
|
||||
|
@ -98,7 +92,10 @@ GST_BOILERPLATE (GstRTPDVDepay, gst_rtp_dv_depay, GstBaseRTPDepayload,
|
|||
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 */
|
||||
|
|
|
@ -31,14 +31,6 @@
|
|||
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
|
||||
{
|
||||
|
@ -113,7 +105,10 @@ GST_BOILERPLATE (GstRTPDVPay, gst_rtp_dv_pay, GstBaseRTPPayload,
|
|||
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
|
||||
|
|
|
@ -37,13 +37,6 @@ GST_DEBUG_CATEGORY_STATIC (rtpg723depay_debug);
|
|||
* 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 */
|
||||
|
@ -98,7 +91,10 @@ gst_rtp_g723_depay_base_init (gpointer klass)
|
|||
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");
|
||||
|
|
|
@ -39,12 +39,6 @@ static gboolean gst_rtp_g723_pay_set_caps (GstBaseRTPPayload * payload,
|
|||
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,
|
||||
|
@ -85,7 +79,10 @@ gst_rtp_g723_pay_base_init (gpointer klass)
|
|||
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
|
||||
|
|
|
@ -38,13 +38,6 @@ GST_DEBUG_CATEGORY_STATIC (rtpg726depay_debug);
|
|||
#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
|
||||
{
|
||||
|
@ -106,7 +99,10 @@ gst_rtp_g726_depay_base_init (gpointer klass)
|
|||
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
|
||||
|
|
|
@ -42,12 +42,6 @@ enum
|
|||
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,
|
||||
|
@ -93,7 +87,10 @@ gst_rtp_g726_pay_base_init (gpointer klass)
|
|||
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
|
||||
|
|
|
@ -35,13 +35,6 @@ GST_DEBUG_CATEGORY_STATIC (rtpg729depay_debug);
|
|||
* 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 */
|
||||
|
@ -96,7 +89,10 @@ gst_rtp_g729_depay_base_init (gpointer klass)
|
|||
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");
|
||||
|
|
|
@ -48,13 +48,6 @@ gst_rtp_g729_pay_set_caps (GstBaseRTPPayload * payload, GstCaps * caps);
|
|||
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,
|
||||
|
@ -90,7 +83,10 @@ gst_rtp_g729_pay_base_init (gpointer klass)
|
|||
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");
|
||||
|
|
|
@ -29,14 +29,6 @@
|
|||
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
|
||||
{
|
||||
|
@ -82,7 +74,9 @@ gst_rtp_gsm_depay_base_init (gpointer klass)
|
|||
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
|
||||
|
|
|
@ -31,13 +31,6 @@
|
|||
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,
|
||||
|
@ -76,7 +69,10 @@ gst_rtp_gsm_pay_base_init (gpointer klass)
|
|||
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
|
||||
|
|
|
@ -35,14 +35,6 @@
|
|||
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
|
||||
|
@ -92,7 +84,11 @@ gst_rtp_h263_depay_base_init (gpointer klass)
|
|||
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
|
||||
|
|
|
@ -345,14 +345,6 @@ enum
|
|||
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,
|
||||
|
@ -415,7 +407,11 @@ GST_BOILERPLATE (GstRtpH263Pay, gst_rtp_h263_pay, GstBaseRTPPayload,
|
|||
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
|
||||
|
@ -894,8 +890,9 @@ gst_rtp_h263_pay_move_window_right (GstRtpH263PayContext * context, guint n,
|
|||
} 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 {
|
||||
|
@ -1656,8 +1653,8 @@ gst_rtp_h263_pay_flush (GstRtpH263Pay * rtph263pay)
|
|||
|
||||
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++) {
|
||||
|
|
|
@ -26,13 +26,6 @@
|
|||
#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,
|
||||
|
@ -107,7 +100,10 @@ gst_rtp_h263p_depay_base_init (gpointer klass)
|
|||
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
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue