mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
various: fix pad template leaks
https://bugzilla.gnome.org/show_bug.cgi?id=662664
This commit is contained in:
parent
a2337b8af4
commit
c0e101e93f
232 changed files with 807 additions and 875 deletions
|
@ -190,8 +190,8 @@ gst_aasink_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&sink_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&sink_template);
|
||||
gst_element_class_set_details_simple (element_class, "ASCII art video sink",
|
||||
"Sink/Video",
|
||||
"An ASCII art videosink", "Wim Taymans <wim.taymans@chello.be>");
|
||||
|
|
|
@ -121,10 +121,10 @@ gst_cmml_dec_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_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_add_static_pad_template (element_class,
|
||||
&gst_cmml_dec_sink_factory);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_cmml_dec_src_factory);
|
||||
gst_element_class_set_details_simple (element_class, "CMML stream decoder",
|
||||
"Codec/Decoder",
|
||||
"Decodes CMML streams", "Alessandro Decina <alessandro@nnva.org>");
|
||||
|
|
|
@ -108,10 +108,10 @@ gst_cmml_enc_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_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_add_static_pad_template (element_class,
|
||||
&gst_cmml_enc_sink_factory);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_cmml_enc_src_factory);
|
||||
gst_element_class_set_details_simple (element_class, "CMML streams encoder",
|
||||
"Codec/Encoder",
|
||||
"Encodes CMML streams", "Alessandro Decina <alessandro@nnva.org>");
|
||||
|
|
|
@ -194,10 +194,10 @@ gst_cairo_overlay_base_init (gpointer g_class)
|
|||
"Render overlay on a video stream using Cairo",
|
||||
"Jon Nordby <jononor@gmail.com>");
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_cairo_overlay_sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_cairo_overlay_src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_cairo_overlay_sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_cairo_overlay_src_template);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -354,8 +354,8 @@ gst_cairo_render_base_init (gpointer g_class)
|
|||
gst_element_class_set_details_simple (ec, "Cairo encoder",
|
||||
"Codec/Encoder", "Encodes streams using Cairo",
|
||||
"Lutz Mueller <lutz@topfrose.de>");
|
||||
gst_element_class_add_pad_template (ec, gst_static_pad_template_get (&t_snk));
|
||||
gst_element_class_add_pad_template (ec, gst_static_pad_template_get (&t_src));
|
||||
gst_element_class_add_static_pad_template (ec, &t_snk);
|
||||
gst_element_class_add_static_pad_template (ec, &t_src);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -132,12 +132,12 @@ gst_text_overlay_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&cairo_text_overlay_src_template_factory));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&video_sink_template_factory));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&text_sink_template_factory));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&cairo_text_overlay_src_template_factory);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&video_sink_template_factory);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&text_sink_template_factory);
|
||||
|
||||
gst_element_class_set_details_simple (element_class, "Text overlay",
|
||||
"Filter/Editor/Video",
|
||||
|
|
|
@ -265,10 +265,10 @@ gst_cairo_time_overlay_base_init (gpointer g_class)
|
|||
"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));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_cairo_time_overlay_src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_cairo_time_overlay_sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_cairo_time_overlay_src_template);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -166,10 +166,8 @@ gst_dvdec_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&sink_temp));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&src_temp));
|
||||
gst_element_class_add_static_pad_template (element_class, &sink_temp);
|
||||
gst_element_class_add_static_pad_template (element_class, &src_temp);
|
||||
|
||||
gst_element_class_set_details_simple (element_class, "DV video decoder",
|
||||
"Codec/Decoder/Video",
|
||||
|
|
|
@ -174,12 +174,11 @@ gst_dvdemux_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&sink_temp));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&video_src_temp));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&audio_src_temp));
|
||||
gst_element_class_add_static_pad_template (element_class, &sink_temp);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&video_src_temp);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&audio_src_temp);
|
||||
|
||||
gst_element_class_set_details_simple (element_class,
|
||||
"DV system stream demuxer", "Codec/Demuxer",
|
||||
|
|
|
@ -168,8 +168,7 @@ gst_esdmon_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&src_factory));
|
||||
gst_element_class_add_static_pad_template (element_class, &src_factory);
|
||||
gst_element_class_set_details_simple (element_class, "Esound audio monitor",
|
||||
"Source/Audio",
|
||||
"Monitors audio from an esound server",
|
||||
|
|
|
@ -111,8 +111,7 @@ gst_esdsink_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&sink_factory));
|
||||
gst_element_class_add_static_pad_template (element_class, &sink_factory);
|
||||
gst_element_class_set_details_simple (element_class, "Esound audio sink",
|
||||
"Sink/Audio",
|
||||
"Plays audio to an esound server",
|
||||
|
|
|
@ -178,10 +178,10 @@ gst_flac_dec_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&flac_dec_src_factory));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&flac_dec_sink_factory));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&flac_dec_src_factory);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&flac_dec_sink_factory);
|
||||
gst_element_class_set_details_simple (element_class, "FLAC audio decoder",
|
||||
"Codec/Decoder/Audio",
|
||||
"Decodes FLAC lossless audio streams", "Wim Taymans <wim@fluendo.com>");
|
||||
|
|
|
@ -258,10 +258,8 @@ gst_flac_enc_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_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_add_static_pad_template (element_class, &src_factory);
|
||||
gst_element_class_add_static_pad_template (element_class, &sink_factory);
|
||||
|
||||
gst_element_class_set_details_simple (element_class, "FLAC audio encoder",
|
||||
"Codec/Encoder/Audio",
|
||||
|
|
|
@ -117,10 +117,10 @@ gst_flac_tag_base_init (gpointer g_class)
|
|||
"Formatter/Metadata",
|
||||
"Rewrite tags in a FLAC file", "Christophe Fergeau <teuf@gnome.org>");
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&flac_tag_sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&flac_tag_src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&flac_tag_sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&flac_tag_src_template);
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (flactag_debug, "flactag", 0, "flac tag rewriter");
|
||||
}
|
||||
|
|
|
@ -64,8 +64,7 @@ gst_switch_sink_class_init (GstSwitchSinkClass * klass)
|
|||
/* Provide a default pad template if the child didn't */
|
||||
child_pad_templ = gst_element_class_get_pad_template (eklass, "sink");
|
||||
if (child_pad_templ == NULL) {
|
||||
gst_element_class_add_pad_template (eklass,
|
||||
gst_static_pad_template_get (&sink_template));
|
||||
gst_element_class_add_static_pad_template (eklass, &sink_template);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -60,8 +60,7 @@ gst_switch_src_class_init (GstSwitchSrcClass * klass)
|
|||
/* Provide a default pad template if the child didn't */
|
||||
child_pad_templ = gst_element_class_get_pad_template (eklass, "src");
|
||||
if (child_pad_templ == NULL) {
|
||||
gst_element_class_add_pad_template (eklass,
|
||||
gst_static_pad_template_get (&src_template));
|
||||
gst_element_class_add_static_pad_template (eklass, &src_template);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -157,10 +157,10 @@ gst_gdk_pixbuf_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_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_add_static_pad_template (element_class,
|
||||
&gst_gdk_pixbuf_src_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_gdk_pixbuf_sink_template);
|
||||
gst_element_class_set_details_simple (element_class,
|
||||
"GdkPixbuf image decoder", "Codec/Decoder/Image",
|
||||
"Decodes images in a video stream using GdkPixbuf",
|
||||
|
|
|
@ -146,8 +146,8 @@ gst_gdk_pixbuf_sink_base_init (gpointer g_class)
|
|||
"Sink/Video", "Output images as GdkPixbuf objects in bus messages",
|
||||
"Tim-Philipp Müller <tim centricular net>");
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&pixbufsink_sink_factory));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&pixbufsink_sink_factory);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -122,10 +122,10 @@ gst_pixbufscale_base_init (gpointer g_class)
|
|||
"Wim Taymans <wim.taymans@chello.be>, "
|
||||
"Renato Filho <renato.filho@indt.org.br>");
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_pixbufscale_src_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_pixbufscale_sink_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_pixbufscale_src_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_pixbufscale_sink_template);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -74,8 +74,7 @@ gst_hal_audio_sink_base_init (gpointer klass)
|
|||
GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS_ANY);
|
||||
|
||||
gst_element_class_add_pad_template (eklass,
|
||||
gst_static_pad_template_get (&sink_template));
|
||||
gst_element_class_add_static_pad_template (eklass, &sink_template);
|
||||
gst_element_class_set_details_simple (eklass, "HAL audio sink",
|
||||
"Sink/Audio",
|
||||
"Audio sink for sound device access via HAL",
|
||||
|
|
|
@ -76,8 +76,7 @@ gst_hal_audio_src_base_init (gpointer klass)
|
|||
GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS_ANY);
|
||||
|
||||
gst_element_class_add_pad_template (eklass,
|
||||
gst_static_pad_template_get (&src_template));
|
||||
gst_element_class_add_static_pad_template (eklass, &src_template);
|
||||
gst_element_class_set_details_simple (eklass, "HAL audio source",
|
||||
"Source/Audio",
|
||||
"Audio source for sound device access via HAL",
|
||||
|
|
|
@ -681,8 +681,8 @@ gst_jack_audio_sink_base_init (gpointer g_class)
|
|||
"Sink/Audio", "Output audio to a JACK server",
|
||||
"Wim Taymans <wim.taymans@gmail.com>");
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&jackaudiosink_sink_factory));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&jackaudiosink_sink_factory);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -697,8 +697,7 @@ gst_jack_audio_src_base_init (gpointer gclass)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (gclass);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&src_factory));
|
||||
gst_element_class_add_static_pad_template (element_class, &src_factory);
|
||||
gst_element_class_set_details_simple (element_class, "Audio Source (Jack)",
|
||||
"Source/Audio", "Captures audio from a JACK server",
|
||||
"Tristan Matthews <tristan@sat.qc.ca>");
|
||||
|
|
|
@ -167,10 +167,10 @@ gst_jpeg_dec_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_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_add_static_pad_template (element_class,
|
||||
&gst_jpeg_dec_src_pad_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_jpeg_dec_sink_pad_template);
|
||||
gst_element_class_set_details_simple (element_class, "JPEG image decoder",
|
||||
"Codec/Decoder/Image",
|
||||
"Decode images from JPEG format", "Wim Taymans <wim@fluendo.com>");
|
||||
|
|
|
@ -142,10 +142,10 @@ gst_jpegenc_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_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_add_static_pad_template (element_class,
|
||||
&gst_jpegenc_sink_pad_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_jpegenc_src_pad_template);
|
||||
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>");
|
||||
|
|
|
@ -106,10 +106,10 @@ gst_smokedec_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_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_add_static_pad_template (element_class,
|
||||
&gst_smokedec_src_pad_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_smokedec_sink_pad_template);
|
||||
gst_element_class_set_details_simple (element_class, "Smoke video decoder",
|
||||
"Codec/Decoder/Video",
|
||||
"Decode video from Smoke format", "Wim Taymans <wim@fluendo.com>");
|
||||
|
|
|
@ -123,10 +123,10 @@ gst_smokeenc_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_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_add_static_pad_template (element_class,
|
||||
&gst_smokeenc_sink_pad_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_smokeenc_src_pad_template);
|
||||
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>");
|
||||
|
|
|
@ -151,8 +151,8 @@ gst_cacasink_base_init (gpointer g_class)
|
|||
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));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&sink_template);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -66,10 +66,10 @@ gst_mng_dec_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_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_add_static_pad_template (element_class,
|
||||
&gst_mng_dec_src_pad_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_mng_dec_sink_pad_template);
|
||||
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>");
|
||||
|
|
|
@ -87,6 +87,9 @@ gst_mng_enc_base_init (gpointer g_class)
|
|||
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>");
|
||||
|
||||
gst_object_unref (mngenc_src_template);
|
||||
gst_object_unref (mngenc_sink_template);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -102,10 +102,10 @@ gst_pngdec_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_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_add_static_pad_template (element_class,
|
||||
&gst_pngdec_src_pad_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_pngdec_sink_pad_template);
|
||||
gst_element_class_set_details_simple (element_class, "PNG image decoder",
|
||||
"Codec/Decoder/Image",
|
||||
"Decode a png video frame to a raw image",
|
||||
|
|
|
@ -97,10 +97,10 @@ gst_pngenc_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template
|
||||
(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_add_static_pad_template
|
||||
(element_class, &pngenc_sink_template);
|
||||
gst_element_class_add_static_pad_template
|
||||
(element_class, &pngenc_src_template);
|
||||
gst_element_class_set_details_simple (element_class, "PNG image encoder",
|
||||
"Codec/Encoder/Image",
|
||||
"Encode a video frame to a .png image",
|
||||
|
|
|
@ -128,10 +128,10 @@ gst_mikmod_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_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_add_static_pad_template (element_class,
|
||||
&mikmod_src_factory);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&mikmod_sink_factory);
|
||||
gst_element_class_set_details_simple (element_class, "MikMod audio decoder",
|
||||
"Codec/Decoder/Audio",
|
||||
"Module decoder based on libmikmod", "Jeremy SIMON <jsimon13@yahoo.fr>");
|
||||
|
|
|
@ -140,8 +140,8 @@ gst_pulse_audio_sink_base_init (gpointer klass)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&sink_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&sink_template);
|
||||
|
||||
gst_element_class_set_details_simple (element_class,
|
||||
"Bin wrapping pulsesink", "Sink/Audio/Bin",
|
||||
|
|
|
@ -1809,8 +1809,7 @@ gst_pulsesink_base_init (gpointer g_class)
|
|||
gst_element_class_set_details_simple (element_class,
|
||||
"PulseAudio Audio Sink",
|
||||
"Sink/Audio", "Plays audio to a PulseAudio server", "Lennart Poettering");
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&pad_template));
|
||||
gst_element_class_add_static_pad_template (element_class, &pad_template);
|
||||
}
|
||||
|
||||
static GstRingBuffer *
|
||||
|
|
|
@ -227,8 +227,7 @@ gst_pulsesrc_base_init (gpointer g_class)
|
|||
"PulseAudio Audio Source",
|
||||
"Source/Audio",
|
||||
"Captures audio from a PulseAudio server", "Lennart Poettering");
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&pad_template));
|
||||
gst_element_class_add_static_pad_template (element_class, &pad_template);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -170,8 +170,7 @@ gst_dv1394src_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&src_factory));
|
||||
gst_element_class_add_static_pad_template (element_class, &src_factory);
|
||||
|
||||
gst_element_class_set_details_simple (element_class,
|
||||
"Firewire (1394) DV video source", "Source/Video",
|
||||
|
|
|
@ -140,8 +140,7 @@ gst_hdv1394src_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&src_factory));
|
||||
gst_element_class_add_static_pad_template (element_class, &src_factory);
|
||||
|
||||
gst_element_class_set_details_simple (element_class,
|
||||
"Firewire (1394) HDV video source", "Source/Video",
|
||||
|
|
|
@ -160,8 +160,8 @@ gst_shout2send_base_init (GstShout2sendClass * klass)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&sink_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&sink_template);
|
||||
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>, "
|
||||
|
|
|
@ -119,8 +119,8 @@ gst_soup_http_client_sink_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_soup_http_client_sink_sink_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_soup_http_client_sink_sink_template);
|
||||
|
||||
gst_element_class_set_details_simple (element_class, "HTTP client sink",
|
||||
"Generic", "Sends streams to HTTP server via PUT",
|
||||
|
|
|
@ -193,8 +193,7 @@ gst_soup_http_src_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&srctemplate));
|
||||
gst_element_class_add_static_pad_template (element_class, &srctemplate);
|
||||
|
||||
gst_element_class_set_details_simple (element_class, "HTTP client source",
|
||||
"Source/Network",
|
||||
|
|
|
@ -97,10 +97,10 @@ gst_speex_dec_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_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_add_static_pad_template (element_class,
|
||||
&speex_dec_src_factory);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&speex_dec_sink_factory);
|
||||
gst_element_class_set_details_simple (element_class, "Speex audio decoder",
|
||||
"Codec/Decoder/Audio",
|
||||
"decode speex streams to audio", "Wim Taymans <wim@fluendo.com>");
|
||||
|
|
|
@ -154,10 +154,8 @@ gst_speex_enc_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_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_add_static_pad_template (element_class, &src_factory);
|
||||
gst_element_class_add_static_pad_template (element_class, &sink_factory);
|
||||
gst_element_class_set_details_simple (element_class, "Speex audio encoder",
|
||||
"Codec/Encoder/Audio",
|
||||
"Encodes audio in Speex format", "Wim Taymans <wim@fluendo.com>");
|
||||
|
|
|
@ -75,8 +75,7 @@ gst_apev2_mux_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&src_template));
|
||||
gst_element_class_add_static_pad_template (element_class, &src_template);
|
||||
|
||||
gst_element_class_set_details_simple (element_class,
|
||||
"TagLib-based APEv2 Muxer", "Formatter/Metadata",
|
||||
|
|
|
@ -84,8 +84,7 @@ gst_id3v2_mux_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&src_template));
|
||||
gst_element_class_add_static_pad_template (element_class, &src_template);
|
||||
|
||||
gst_element_class_set_details_simple (element_class,
|
||||
"TagLib-based ID3v2 Muxer", "Formatter/Metadata",
|
||||
|
|
|
@ -83,8 +83,8 @@ gst_tag_lib_mux_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_tag_lib_mux_sink_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_tag_lib_mux_sink_template);
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (gst_tag_lib_mux_debug, "taglibmux", 0,
|
||||
"taglib-based muxer");
|
||||
|
|
|
@ -95,10 +95,8 @@ gst_wavpack_dec_base_init (gpointer klass)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
|
||||
|
||||
gst_element_class_add_pad_template (element_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_add_static_pad_template (element_class, &src_factory);
|
||||
gst_element_class_add_static_pad_template (element_class, &sink_factory);
|
||||
gst_element_class_set_details_simple (element_class, "Wavpack audio decoder",
|
||||
"Codec/Decoder/Audio",
|
||||
"Decodes Wavpack audio data",
|
||||
|
|
|
@ -218,12 +218,10 @@ gst_wavpack_enc_base_init (gpointer klass)
|
|||
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
|
||||
|
||||
/* add pad templates */
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&sink_factory));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&src_factory));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&wvcsrc_factory));
|
||||
gst_element_class_add_static_pad_template (element_class, &sink_factory);
|
||||
gst_element_class_add_static_pad_template (element_class, &src_factory);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&wvcsrc_factory);
|
||||
|
||||
/* set element details */
|
||||
gst_element_class_set_details_simple (element_class, "Wavpack audio encoder",
|
||||
|
|
|
@ -115,12 +115,10 @@ gst_wavpack_parse_base_init (gpointer klass)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&src_factory));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&wvc_src_factory));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&sink_factory));
|
||||
gst_element_class_add_static_pad_template (element_class, &src_factory);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&wvc_src_factory);
|
||||
gst_element_class_add_static_pad_template (element_class, &sink_factory);
|
||||
|
||||
gst_element_class_set_details_simple (element_class, "Wavpack parser",
|
||||
"Codec/Demuxer/Audio",
|
||||
|
|
|
@ -226,10 +226,10 @@ gst_alpha_base_init (gpointer g_class)
|
|||
"Edward Hervey <edward.hervey@collabora.co.uk>\n"
|
||||
"Jan Schmidt <thaytan@noraisin.net>");
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_alpha_sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_alpha_src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_alpha_sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_alpha_src_template);
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (gst_alpha_debug, "alpha", 0,
|
||||
"alpha - Element for adding alpha channel to streams");
|
||||
|
|
|
@ -82,10 +82,9 @@ gst_alpha_color_base_init (gpointer g_class)
|
|||
"ARGB from/to AYUV colorspace conversion preserving the alpha channel",
|
||||
"Wim Taymans <wim@fluendo.com>");
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class, &src_template);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -79,8 +79,7 @@ gst_ape_demux_base_init (gpointer klass)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&sink_factory));
|
||||
gst_element_class_add_static_pad_template (element_class, &sink_factory);
|
||||
|
||||
gst_element_class_set_details_simple (element_class, "APE tag demuxer",
|
||||
"Codec/Demuxer/Metadata",
|
||||
|
|
|
@ -184,10 +184,9 @@ gst_audio_panorama_base_init (gpointer klass)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
|
||||
|
||||
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_add_static_pad_template (element_class, &src_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&sink_template);
|
||||
gst_element_class_set_details_simple (element_class, "Stereo positioning",
|
||||
"Filter/Effect/Audio",
|
||||
"Positions audio streams in the stereo panorama",
|
||||
|
|
|
@ -112,10 +112,9 @@ gst_aac_parse_base_init (gpointer klass)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class, &src_template);
|
||||
|
||||
gst_element_class_set_details_simple (element_class,
|
||||
"AAC audio stream parser", "Codec/Parser/Audio",
|
||||
|
|
|
@ -174,10 +174,9 @@ gst_ac3_parse_base_init (gpointer klass)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class, &src_template);
|
||||
|
||||
gst_element_class_set_details_simple (element_class,
|
||||
"AC3 audio stream parser", "Codec/Parser/Converter/Audio",
|
||||
|
|
|
@ -101,10 +101,9 @@ gst_amr_parse_base_init (gpointer klass)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class, &src_template);
|
||||
|
||||
gst_element_class_set_details_simple (element_class,
|
||||
"AMR audio stream parser", "Codec/Parser/Audio",
|
||||
|
|
|
@ -87,10 +87,9 @@ gst_dca_parse_base_init (gpointer klass)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class, &src_template);
|
||||
|
||||
gst_element_class_set_details_simple (element_class,
|
||||
"DTS Coherent Acoustics audio stream parser", "Codec/Parser/Audio",
|
||||
|
|
|
@ -211,10 +211,8 @@ gst_flac_parse_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_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_add_static_pad_template (element_class, &src_factory);
|
||||
gst_element_class_add_static_pad_template (element_class, &sink_factory);
|
||||
|
||||
gst_element_class_set_details_simple (element_class, "FLAC audio parser",
|
||||
"Codec/Parser/Audio",
|
||||
|
|
|
@ -146,10 +146,9 @@ gst_mpeg_audio_parse_base_init (gpointer klass)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class, &src_template);
|
||||
|
||||
gst_element_class_set_details_simple (element_class, "MPEG1 Audio Parser",
|
||||
"Codec/Parser/Audio",
|
||||
|
|
|
@ -89,10 +89,9 @@ gst_au_parse_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class, &src_template);
|
||||
gst_element_class_set_details_simple (element_class, "AU audio demuxer",
|
||||
"Codec/Demuxer/Audio",
|
||||
"Parse an .au file into raw audio",
|
||||
|
|
|
@ -73,8 +73,7 @@ gst_auto_audio_sink_base_init (gpointer klass)
|
|||
{
|
||||
GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
|
||||
|
||||
gst_element_class_add_pad_template (eklass,
|
||||
gst_static_pad_template_get (&sink_template));
|
||||
gst_element_class_add_static_pad_template (eklass, &sink_template);
|
||||
|
||||
gst_element_class_set_details_simple (eklass, "Auto audio sink",
|
||||
"Sink/Audio",
|
||||
|
|
|
@ -74,8 +74,7 @@ gst_auto_audio_src_base_init (gpointer klass)
|
|||
{
|
||||
GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
|
||||
|
||||
gst_element_class_add_pad_template (eklass,
|
||||
gst_static_pad_template_get (&src_template));
|
||||
gst_element_class_add_static_pad_template (eklass, &src_template);
|
||||
|
||||
gst_element_class_set_details_simple (eklass, "Auto audio source",
|
||||
"Source/Audio",
|
||||
|
|
|
@ -74,8 +74,7 @@ gst_auto_video_sink_base_init (gpointer klass)
|
|||
{
|
||||
GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
|
||||
|
||||
gst_element_class_add_pad_template (eklass,
|
||||
gst_static_pad_template_get (&sink_template));
|
||||
gst_element_class_add_static_pad_template (eklass, &sink_template);
|
||||
gst_element_class_set_details_simple (eklass, "Auto video sink",
|
||||
"Sink/Video",
|
||||
"Wrapper video sink for automatically detected video sink",
|
||||
|
|
|
@ -75,8 +75,7 @@ gst_auto_video_src_base_init (gpointer klass)
|
|||
{
|
||||
GstElementClass *eklass = GST_ELEMENT_CLASS (klass);
|
||||
|
||||
gst_element_class_add_pad_template (eklass,
|
||||
gst_static_pad_template_get (&src_template));
|
||||
gst_element_class_add_static_pad_template (eklass, &src_template);
|
||||
gst_element_class_set_details_simple (eklass, "Auto video source",
|
||||
"Source/Video",
|
||||
"Wrapper video source for automatically detected video source",
|
||||
|
|
|
@ -172,8 +172,10 @@ gst_avi_demux_base_init (GstAviDemuxClass * klass)
|
|||
gst_element_class_add_pad_template (element_class, audiosrctempl);
|
||||
gst_element_class_add_pad_template (element_class, videosrctempl);
|
||||
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_add_static_pad_template (element_class, &sink_templ);
|
||||
gst_object_unref (audiosrctempl);
|
||||
gst_object_unref (videosrctempl);
|
||||
gst_object_unref (subsrctempl);
|
||||
gst_element_class_set_details_simple (element_class, "Avi demuxer",
|
||||
"Codec/Demuxer",
|
||||
"Demultiplex an avi file into audio and video",
|
||||
|
|
|
@ -246,12 +246,11 @@ gst_avi_mux_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&src_factory));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&audio_sink_factory));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&video_sink_factory));
|
||||
gst_element_class_add_static_pad_template (element_class, &src_factory);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&audio_sink_factory);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&video_sink_factory);
|
||||
|
||||
gst_element_class_set_details_simple (element_class, "Avi muxer",
|
||||
"Codec/Muxer",
|
||||
|
|
|
@ -309,10 +309,9 @@ gst_avi_subtitle_base_init (gpointer klass)
|
|||
GST_DEBUG_CATEGORY_INIT (avisubtitle_debug, "avisubtitle", 0,
|
||||
"parse avi subtitle stream");
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class, &src_template);
|
||||
|
||||
gst_element_class_set_details_simple (element_class,
|
||||
"Avi subtitle parser", "Codec/Parser/Subtitle",
|
||||
|
|
|
@ -114,10 +114,10 @@ gst_cutter_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_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_add_static_pad_template (element_class,
|
||||
&cutter_src_factory);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&cutter_sink_factory);
|
||||
gst_element_class_set_details_simple (element_class, "Audio cutter",
|
||||
"Filter/Editor/Audio",
|
||||
"Audio Cutter to split audio into non-silent bits",
|
||||
|
|
|
@ -110,10 +110,10 @@ gst_break_my_data_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *gstelement_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (gstelement_class,
|
||||
gst_static_pad_template_get (&bmd_sink_template));
|
||||
gst_element_class_add_pad_template (gstelement_class,
|
||||
gst_static_pad_template_get (&bmd_src_template));
|
||||
gst_element_class_add_static_pad_template (gstelement_class,
|
||||
&bmd_sink_template);
|
||||
gst_element_class_add_static_pad_template (gstelement_class,
|
||||
&bmd_src_template);
|
||||
|
||||
gst_element_class_set_details_simple (gstelement_class, "Break my data",
|
||||
"Testing",
|
||||
|
|
|
@ -58,10 +58,10 @@ gst_cpu_report_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&cpu_report_sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&cpu_report_src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&cpu_report_sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&cpu_report_src_template);
|
||||
|
||||
gst_element_class_set_details_simple (element_class, "CPU report",
|
||||
"Testing",
|
||||
|
|
|
@ -134,10 +134,10 @@ gst_efence_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_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_add_static_pad_template (element_class,
|
||||
&gst_efence_sink_factory);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_efence_src_factory);
|
||||
gst_element_class_set_details_simple (element_class, "Electric Fence",
|
||||
"Testing",
|
||||
"This element converts a stream of normal GStreamer buffers into a "
|
||||
|
|
|
@ -73,10 +73,10 @@ gst_caps_debug_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_caps_debug_src_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_caps_debug_sink_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_caps_debug_src_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_caps_debug_sink_template);
|
||||
|
||||
gst_element_class_set_details_simple (element_class, "Caps debug",
|
||||
"Generic", "Debug caps negotiation", "David Schleef <ds@schleef.org>");
|
||||
|
|
|
@ -124,10 +124,10 @@ gst_caps_setter_base_init (gpointer g_class)
|
|||
"Set/merge caps on stream",
|
||||
"Mark Nauwelaerts <mnauw@users.sourceforge.net>");
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_caps_setter_sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_caps_setter_src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_caps_setter_sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_caps_setter_src_template);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -271,10 +271,10 @@ gst_navigationtest_base_init (gpointer g_class)
|
|||
"Handle navigation events showing a black square following mouse pointer",
|
||||
"David Schleef <ds@schleef.org>");
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_navigationtest_sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_navigationtest_src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_navigationtest_sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_navigationtest_src_template);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -68,10 +68,10 @@ gst_navseek_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&navseek_sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&navseek_src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&navseek_sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&navseek_src_template);
|
||||
|
||||
gst_element_class_set_details_simple (element_class,
|
||||
"Seek based on left-right arrows", "Filter/Video",
|
||||
|
|
|
@ -79,8 +79,7 @@ gst_push_file_src_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&srctemplate));
|
||||
gst_element_class_add_static_pad_template (element_class, &srctemplate);
|
||||
|
||||
gst_element_class_set_details_simple (element_class, "Push File Source",
|
||||
"Testing",
|
||||
|
|
|
@ -87,10 +87,10 @@ gst_tag_inject_base_init (gpointer g_class)
|
|||
gst_element_class_set_details_simple (gstelement_class,
|
||||
"TagInject",
|
||||
"Generic", "inject metadata tags", "Stefan Kost <ensonic@users.sf.net>");
|
||||
gst_element_class_add_pad_template (gstelement_class,
|
||||
gst_static_pad_template_get (&srctemplate));
|
||||
gst_element_class_add_pad_template (gstelement_class,
|
||||
gst_static_pad_template_get (&sinktemplate));
|
||||
gst_element_class_add_static_pad_template (gstelement_class,
|
||||
&srctemplate);
|
||||
gst_element_class_add_static_pad_template (gstelement_class,
|
||||
&sinktemplate);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -123,10 +123,10 @@ gst_progress_report_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&progress_report_sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&progress_report_src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&progress_report_sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&progress_report_src_template);
|
||||
|
||||
gst_element_class_set_details_simple (element_class, "Progress report",
|
||||
"Testing",
|
||||
|
|
|
@ -106,10 +106,10 @@ gst_rnd_buffer_size_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *gstelement_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (gstelement_class,
|
||||
gst_static_pad_template_get (&sink_template));
|
||||
gst_element_class_add_pad_template (gstelement_class,
|
||||
gst_static_pad_template_get (&src_template));
|
||||
gst_element_class_add_static_pad_template (gstelement_class,
|
||||
&sink_template);
|
||||
gst_element_class_add_static_pad_template (gstelement_class,
|
||||
&src_template);
|
||||
|
||||
gst_element_class_set_details_simple (gstelement_class, "Random buffer size",
|
||||
"Testing", "pull random sized buffers",
|
||||
|
|
|
@ -94,8 +94,8 @@ gst_test_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *gstelement_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (gstelement_class,
|
||||
gst_static_pad_template_get (&sinktemplate));
|
||||
gst_element_class_add_static_pad_template (gstelement_class,
|
||||
&sinktemplate);
|
||||
|
||||
gst_element_class_set_details_simple (gstelement_class, "Test plugin",
|
||||
"Testing", "perform a number of tests", "Benjamin Otte <otte@gnome>");
|
||||
|
|
|
@ -450,10 +450,8 @@ gst_deinterlace_base_init (gpointer klass)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&src_templ));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&sink_templ));
|
||||
gst_element_class_add_static_pad_template (element_class, &src_templ);
|
||||
gst_element_class_add_static_pad_template (element_class, &sink_templ);
|
||||
|
||||
gst_element_class_set_details_simple (element_class,
|
||||
"Deinterlacer",
|
||||
|
|
|
@ -378,10 +378,10 @@ gst_agingtv_base_init (gpointer g_class)
|
|||
"AgingTV adds age to video input using scratches and dust",
|
||||
"Sam Lantinga <slouken@devolution.com>");
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_agingtv_sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_agingtv_src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_agingtv_sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_agingtv_src_template);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -289,10 +289,10 @@ gst_dicetv_base_init (gpointer g_class)
|
|||
"'Dices' the screen up into many small squares",
|
||||
"Wim Taymans <wim.taymans@chello.be>");
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_dicetv_sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_dicetv_src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_dicetv_sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_dicetv_src_template);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -238,10 +238,10 @@ gst_edgetv_base_init (gpointer g_class)
|
|||
"Filter/Effect/Video",
|
||||
"Apply edge detect on video", "Wim Taymans <wim.taymans@chello.be>");
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_edgetv_sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_edgetv_src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_edgetv_sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_edgetv_src_template);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -384,10 +384,10 @@ gst_optv_base_init (gpointer g_class)
|
|||
"FUKUCHI, Kentarou <fukuchi@users.sourceforge.net>, "
|
||||
"Sebastian Dröge <sebastian.droege@collabora.co.uk>");
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_optv_sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_optv_src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_optv_sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_optv_src_template);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -274,10 +274,10 @@ gst_quarktv_base_init (gpointer g_class)
|
|||
"Filter/Effect/Video",
|
||||
"Motion dissolver", "FUKUCHI, Kentarou <fukuchi@users.sourceforge.net>");
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_quarktv_sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_quarktv_src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_quarktv_sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_quarktv_src_template);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -578,10 +578,10 @@ gst_radioactv_base_init (gpointer g_class)
|
|||
"FUKUCHI, Kentarou <fukuchi@users.sourceforge.net>, "
|
||||
"Sebastian Dröge <sebastian.droege@collabora.co.uk>");
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_radioactv_sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_radioactv_src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_radioactv_sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_radioactv_src_template);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -232,10 +232,10 @@ gst_revtv_base_init (gpointer g_class)
|
|||
"A video waveform monitor for each line of video processed",
|
||||
"Wim Taymans <wim.taymans@chello.be>");
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_revtv_sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_revtv_src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_revtv_sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_revtv_src_template);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -577,10 +577,10 @@ gst_rippletv_base_init (gpointer g_class)
|
|||
"FUKUCHI, Kentarou <fukuchi@users.sourceforge.net>, "
|
||||
"Sebastian Dröge <sebastian.droege@collabora.co.uk>");
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_rippletv_sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_rippletv_src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_rippletv_sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_rippletv_src_template);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -244,10 +244,10 @@ gst_shagadelictv_base_init (gpointer g_class)
|
|||
"Oh behave, ShagedelicTV makes images shagadelic!",
|
||||
"Wim Taymans <wim.taymans@chello.be>");
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_shagadelictv_sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_shagadelictv_src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_shagadelictv_sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_shagadelictv_src_template);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -245,10 +245,10 @@ gst_streaktv_base_init (gpointer g_class)
|
|||
"FUKUCHI, Kentarou <fukuchi@users.sourceforge.net>, "
|
||||
"Sebastian Dröge <sebastian.droege@collabora.co.uk>");
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_streaktv_sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_streaktv_src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_streaktv_sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_streaktv_src_template);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -289,10 +289,10 @@ gst_vertigotv_base_init (gpointer g_class)
|
|||
"A loopback alpha blending effector with rotating and scaling",
|
||||
"Wim Taymans <wim.taymans@chello.be>");
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_vertigotv_sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_vertigotv_src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_vertigotv_sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_vertigotv_src_template);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -260,10 +260,10 @@ gst_warptv_base_init (gpointer g_class)
|
|||
"WarpTV does realtime goo'ing of the video input",
|
||||
"Sam Lantinga <slouken@devolution.com>");
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_warptv_sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_warptv_src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_warptv_sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&gst_warptv_src_template);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -3232,12 +3232,12 @@ gst_flv_demux_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&flv_sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&audio_src_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&video_src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&flv_sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&audio_src_template);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&video_src_template);
|
||||
gst_element_class_set_details_simple (element_class, "FLV Demuxer",
|
||||
"Codec/Demuxer",
|
||||
"Demux FLV feeds into digital streams",
|
||||
|
|
|
@ -135,12 +135,11 @@ gst_flv_mux_base_init (gpointer g_class)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&videosink_templ));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&audiosink_templ));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&src_templ));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&videosink_templ);
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&audiosink_templ);
|
||||
gst_element_class_add_static_pad_template (element_class, &src_templ);
|
||||
gst_element_class_set_details_simple (element_class, "FLV muxer",
|
||||
"Codec/Muxer",
|
||||
"Muxes video/audio streams into a FLV stream",
|
||||
|
|
|
@ -111,10 +111,10 @@ gst_flxdec_base_init (GstFlxDecClass * klass)
|
|||
"Codec/Decoder/Video",
|
||||
"FLC/FLI/FLX video decoder",
|
||||
"Sepp Wijnands <mrrazz@garbage-coderz.net>, Zeeshan Ali <zeenix@gmail.com>");
|
||||
gst_element_class_add_pad_template (gstelement_class,
|
||||
gst_static_pad_template_get (&sink_factory));
|
||||
gst_element_class_add_pad_template (gstelement_class,
|
||||
gst_static_pad_template_get (&src_video_factory));
|
||||
gst_element_class_add_static_pad_template (gstelement_class,
|
||||
&sink_factory);
|
||||
gst_element_class_add_static_pad_template (gstelement_class,
|
||||
&src_video_factory);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -137,10 +137,9 @@ gst_goom_base_init (GstGoomClass * klass)
|
|||
"Visualization",
|
||||
"Takes frames of data and outputs video frames using the GOOM filter",
|
||||
"Wim Taymans <wim@fluendo.com>");
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&sink_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class, &src_template);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -134,10 +134,9 @@ gst_goom_base_init (GstGoomClass * klass)
|
|||
"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,
|
||||
gst_static_pad_template_get (&src_template));
|
||||
gst_element_class_add_static_pad_template (element_class,
|
||||
&sink_template);
|
||||
gst_element_class_add_static_pad_template (element_class, &src_template);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -115,10 +115,8 @@ gst_icydemux_base_init (GstICYDemuxClass * klass)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
|
||||
|
||||
gst_element_class_add_pad_template (element_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_add_static_pad_template (element_class, &src_factory);
|
||||
gst_element_class_add_static_pad_template (element_class, &sink_factory);
|
||||
gst_element_class_set_details_simple (element_class, "ICY tag demuxer",
|
||||
"Codec/Demuxer/Metadata",
|
||||
"Read and output ICY tags while demuxing the contents",
|
||||
|
|
|
@ -96,8 +96,7 @@ gst_id3demux_base_init (gpointer klass)
|
|||
{
|
||||
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&sink_factory));
|
||||
gst_element_class_add_static_pad_template (element_class, &sink_factory);
|
||||
|
||||
gst_element_class_set_details_simple (element_class, "ID3 tag demuxer",
|
||||
"Codec/Demuxer/Metadata",
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue