mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-13 03:24:14 +00:00
make GstElementDetails const
Original commit message from CVS: * ext/alsa/gstalsamixerelement.c: * ext/alsa/gstalsasrc.c: * ext/cdparanoia/gstcdparanoiasrc.c: * ext/gnomevfs/gstgnomevfssink.c: * ext/gnomevfs/gstgnomevfssrc.c: * ext/ogg/gstoggdemux.c: * ext/ogg/gstoggmux.c: * ext/ogg/gstoggparse.c: * ext/ogg/gstogmparse.c: * ext/pango/gstclockoverlay.c: * ext/pango/gsttextoverlay.c: * ext/pango/gsttextrender.c: * ext/pango/gsttimeoverlay.c: * ext/theora/theoradec.c: * ext/theora/theoraenc.c: * ext/vorbis/vorbisdec.c: * ext/vorbis/vorbisenc.c: * gst-libs/gst/audio/gstaudiofilter.c: * gst-libs/gst/audio/gstaudiofiltertemplate.c: * gst/audioconvert/gstaudioconvert.c: * gst/audiorate/gstaudiorate.c: * gst/audioresample/gstaudioresample.c: * gst/audiotestsrc/gstaudiotestsrc.c: * gst/ffmpegcolorspace/gstffmpegcolorspace.c: * gst/playback/gstdecodebin.c: * gst/playback/gstplaybin.c: * gst/playback/gststreamselector.c: * gst/subparse/gstsubparse.c: * gst/tcp/gstmultifdsink.c: * gst/tcp/gsttcpclientsink.c: * gst/tcp/gsttcpclientsrc.c: * gst/tcp/gsttcpserversink.c: * gst/tcp/gsttcpserversrc.c: * gst/typefind/gsttypefindfunctions.c: (plugin_init): * gst/videorate/gstvideorate.c: * gst/videoscale/gstvideoscale.c: * gst/videotestsrc/gstvideotestsrc.c: * gst/volume/gstvolume.c: * sys/v4l/gstv4ljpegsrc.c: * sys/v4l/gstv4lmjpegsink.c: * sys/v4l/gstv4lmjpegsrc.c: * sys/v4l/gstv4lsrc.c: * sys/ximage/ximagesink.c: * sys/xvimage/xvimagesink.c: * tests/check/libs/cddabasesrc.c: make GstElementDetails const
This commit is contained in:
parent
fab87c6e15
commit
e972defd3e
46 changed files with 102 additions and 48 deletions
49
ChangeLog
49
ChangeLog
|
@ -1,3 +1,52 @@
|
|||
2006-04-28 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* ext/alsa/gstalsamixerelement.c:
|
||||
* ext/alsa/gstalsasrc.c:
|
||||
* ext/cdparanoia/gstcdparanoiasrc.c:
|
||||
* ext/gnomevfs/gstgnomevfssink.c:
|
||||
* ext/gnomevfs/gstgnomevfssrc.c:
|
||||
* ext/ogg/gstoggdemux.c:
|
||||
* ext/ogg/gstoggmux.c:
|
||||
* ext/ogg/gstoggparse.c:
|
||||
* ext/ogg/gstogmparse.c:
|
||||
* ext/pango/gstclockoverlay.c:
|
||||
* ext/pango/gsttextoverlay.c:
|
||||
* ext/pango/gsttextrender.c:
|
||||
* ext/pango/gsttimeoverlay.c:
|
||||
* ext/theora/theoradec.c:
|
||||
* ext/theora/theoraenc.c:
|
||||
* ext/vorbis/vorbisdec.c:
|
||||
* ext/vorbis/vorbisenc.c:
|
||||
* gst-libs/gst/audio/gstaudiofilter.c:
|
||||
* gst-libs/gst/audio/gstaudiofiltertemplate.c:
|
||||
* gst/audioconvert/gstaudioconvert.c:
|
||||
* gst/audiorate/gstaudiorate.c:
|
||||
* gst/audioresample/gstaudioresample.c:
|
||||
* gst/audiotestsrc/gstaudiotestsrc.c:
|
||||
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
|
||||
* gst/playback/gstdecodebin.c:
|
||||
* gst/playback/gstplaybin.c:
|
||||
* gst/playback/gststreamselector.c:
|
||||
* gst/subparse/gstsubparse.c:
|
||||
* gst/tcp/gstmultifdsink.c:
|
||||
* gst/tcp/gsttcpclientsink.c:
|
||||
* gst/tcp/gsttcpclientsrc.c:
|
||||
* gst/tcp/gsttcpserversink.c:
|
||||
* gst/tcp/gsttcpserversrc.c:
|
||||
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
|
||||
* gst/videorate/gstvideorate.c:
|
||||
* gst/videoscale/gstvideoscale.c:
|
||||
* gst/videotestsrc/gstvideotestsrc.c:
|
||||
* gst/volume/gstvolume.c:
|
||||
* sys/v4l/gstv4ljpegsrc.c:
|
||||
* sys/v4l/gstv4lmjpegsink.c:
|
||||
* sys/v4l/gstv4lmjpegsrc.c:
|
||||
* sys/v4l/gstv4lsrc.c:
|
||||
* sys/ximage/ximagesink.c:
|
||||
* sys/xvimage/xvimagesink.c:
|
||||
* tests/check/libs/cddabasesrc.c:
|
||||
make GstElementDetails const
|
||||
|
||||
2006-04-28 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* gst/adder/gstadder.c: (gst_adder_setcaps), (gst_adder_src_event),
|
||||
|
|
|
@ -36,7 +36,7 @@ enum
|
|||
};
|
||||
|
||||
|
||||
static GstElementDetails gst_alsa_mixer_element_details =
|
||||
static const GstElementDetails gst_alsa_mixer_element_details =
|
||||
GST_ELEMENT_DETAILS ("Alsa mixer",
|
||||
"Generic/Audio",
|
||||
"Control sound input and output levels with ALSA",
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
#include <gst/gst-i18n-plugin.h>
|
||||
|
||||
/* elementfactory information */
|
||||
static GstElementDetails gst_alsasrc_details =
|
||||
static const GstElementDetails gst_alsasrc_details =
|
||||
GST_ELEMENT_DETAILS ("Audio source (ALSA)",
|
||||
"Source/Audio",
|
||||
"Read from a sound card via ALSA",
|
||||
|
|
|
@ -68,7 +68,7 @@ static gboolean gst_cd_paranoia_src_open (GstCddaBaseSrc * src,
|
|||
const gchar * device);
|
||||
static void gst_cd_paranoia_src_close (GstCddaBaseSrc * src);
|
||||
|
||||
static GstElementDetails cdparanoia_details =
|
||||
static const GstElementDetails cdparanoia_details =
|
||||
GST_ELEMENT_DETAILS ("CD Audio (cdda) Source, Paranoia IV",
|
||||
"Source/File",
|
||||
"Read audio from CD in paranoid mode",
|
||||
|
|
|
@ -73,7 +73,7 @@
|
|||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
static GstElementDetails gst_gnome_vfs_sink_details =
|
||||
static const GstElementDetails gst_gnome_vfs_sink_details =
|
||||
GST_ELEMENT_DETAILS ("GnomeVFS Sink",
|
||||
"Sink/File",
|
||||
"Write a stream to a GnomeVFS URI",
|
||||
|
|
|
@ -96,7 +96,7 @@
|
|||
GST_DEBUG_CATEGORY_STATIC (gnomevfssrc_debug);
|
||||
#define GST_CAT_DEFAULT gnomevfssrc_debug
|
||||
|
||||
static GstElementDetails gst_gnome_vfs_src_details =
|
||||
static const GstElementDetails gst_gnome_vfs_src_details =
|
||||
GST_ELEMENT_DETAILS ("GnomeVFS Source",
|
||||
"Source/File",
|
||||
"Read from any GnomeVFS-supported file",
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include <string.h>
|
||||
#include <gst/gst-i18n-plugin.h>
|
||||
|
||||
static GstElementDetails gst_ogg_demux_details =
|
||||
static const GstElementDetails gst_ogg_demux_details =
|
||||
GST_ELEMENT_DETAILS ("Ogg demuxer",
|
||||
"Codec/Demuxer",
|
||||
"demux ogg streams (info about ogg: http://xiph.org)",
|
||||
|
|
|
@ -138,7 +138,8 @@ struct _GstOggMuxClass
|
|||
};
|
||||
|
||||
/* elementfactory information */
|
||||
static GstElementDetails gst_ogg_mux_details = GST_ELEMENT_DETAILS ("Ogg muxer",
|
||||
static const GstElementDetails gst_ogg_mux_details =
|
||||
GST_ELEMENT_DETAILS ("Ogg muxer",
|
||||
"Codec/Muxer",
|
||||
"mux ogg streams (info about ogg: http://xiph.org)",
|
||||
"Wim Taymans <wim@fluendo.com>");
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
#include <ogg/ogg.h>
|
||||
#include <string.h>
|
||||
|
||||
static GstElementDetails gst_ogg_parse_details =
|
||||
static const GstElementDetails gst_ogg_parse_details =
|
||||
GST_ELEMENT_DETAILS ("Ogg parser",
|
||||
"Codec/Parser",
|
||||
"parse ogg streams into pages (info about ogg: http://xiph.org)",
|
||||
|
|
|
@ -55,19 +55,19 @@ GST_DEBUG_CATEGORY_STATIC (gst_ogm_parse_debug);
|
|||
#define GST_OGM_PARSE_GET_CLASS(obj) \
|
||||
(G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_OGM_PARSE, GstOgmParseClass))
|
||||
|
||||
static GstElementDetails gst_ogm_audio_parse_details =
|
||||
static const GstElementDetails gst_ogm_audio_parse_details =
|
||||
GST_ELEMENT_DETAILS ("OGM audio stream parser",
|
||||
"Codec/Decoder/Audio",
|
||||
"parse an OGM audio header and stream",
|
||||
"Ronald Bultje <rbultje@ronald.bitfreak.net>");
|
||||
|
||||
static GstElementDetails gst_ogm_video_parse_details =
|
||||
static const GstElementDetails gst_ogm_video_parse_details =
|
||||
GST_ELEMENT_DETAILS ("OGM video stream parser",
|
||||
"Codec/Decoder/Video",
|
||||
"parse an OGM video header and stream",
|
||||
"Ronald Bultje <rbultje@ronald.bitfreak.net>");
|
||||
|
||||
static GstElementDetails gst_ogm_text_parse_details =
|
||||
static const GstElementDetails gst_ogm_text_parse_details =
|
||||
GST_ELEMENT_DETAILS ("OGM text stream parser",
|
||||
"Codec/Decoder/Subtitle",
|
||||
"parse an OGM text header and stream",
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
#include <gst/video/video.h>
|
||||
#include <time.h>
|
||||
|
||||
static GstElementDetails clock_overlay_details =
|
||||
static const GstElementDetails clock_overlay_details =
|
||||
GST_ELEMENT_DETAILS ("Clock overlay",
|
||||
"Filter/Editor/Video",
|
||||
"Overlays the current clock time on a video stream",
|
||||
|
|
|
@ -93,7 +93,7 @@
|
|||
GST_DEBUG_CATEGORY (pango_debug);
|
||||
#define GST_CAT_DEFAULT pango_debug
|
||||
|
||||
static GstElementDetails text_overlay_details =
|
||||
static const GstElementDetails text_overlay_details =
|
||||
GST_ELEMENT_DETAILS ("Text overlay",
|
||||
"Filter/Editor/Video",
|
||||
"Adds text strings on top of a video buffer",
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
GST_DEBUG_CATEGORY_EXTERN (pango_debug);
|
||||
#define GST_CAT_DEFAULT pango_debug
|
||||
|
||||
static GstElementDetails text_render_details =
|
||||
static const GstElementDetails text_render_details =
|
||||
GST_ELEMENT_DETAILS ("Text renderer",
|
||||
"Filter/Editor/Video",
|
||||
"Renders a text string to an image bitmap",
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
|
||||
#include <gsttimeoverlay.h>
|
||||
|
||||
static GstElementDetails time_overlay_details =
|
||||
static const GstElementDetails time_overlay_details =
|
||||
GST_ELEMENT_DETAILS ("Time overlay",
|
||||
"Filter/Editor/Video",
|
||||
"Overlays buffer time stamps on a video stream",
|
||||
|
|
|
@ -58,7 +58,7 @@ enum
|
|||
ARG_CROP
|
||||
};
|
||||
|
||||
static GstElementDetails theora_dec_details =
|
||||
static const GstElementDetails theora_dec_details =
|
||||
GST_ELEMENT_DETAILS ("Theora video decoder",
|
||||
"Codec/Decoder/Video",
|
||||
"decode raw theora streams to raw YUV video",
|
||||
|
|
|
@ -151,7 +151,7 @@ granulepos_to_timestamp (GstTheoraEnc * theoraenc, ogg_int64_t granulepos)
|
|||
theoraenc->info.fps_numerator);
|
||||
}
|
||||
|
||||
static GstElementDetails theora_enc_details =
|
||||
static const GstElementDetails theora_enc_details =
|
||||
GST_ELEMENT_DETAILS ("Theora video encoder",
|
||||
"Codec/Encoder/Video",
|
||||
"encode raw YUV video to a theora stream",
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
GST_DEBUG_CATEGORY_EXTERN (vorbisdec_debug);
|
||||
#define GST_CAT_DEFAULT vorbisdec_debug
|
||||
|
||||
static GstElementDetails vorbis_dec_details =
|
||||
static const GstElementDetails vorbis_dec_details =
|
||||
GST_ELEMENT_DETAILS ("Vorbis audio decoder",
|
||||
"Codec/Decoder/Audio",
|
||||
"decode raw vorbis streams to float audio",
|
||||
|
|
|
@ -67,7 +67,7 @@ static GstPadTemplate *gst_vorbis_enc_src_template,
|
|||
*gst_vorbis_enc_sink_template;
|
||||
|
||||
/* elementfactory information */
|
||||
GstElementDetails vorbisenc_details =
|
||||
static const GstElementDetails vorbisenc_details =
|
||||
GST_ELEMENT_DETAILS ("Vorbis audio encoder",
|
||||
"Codec/Encoder/Audio",
|
||||
"Encodes audio in Vorbis format",
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
#include <string.h>
|
||||
|
||||
static GstElementDetails audio_filter_details =
|
||||
static const GstElementDetails audio_filter_details =
|
||||
GST_ELEMENT_DETAILS ("Audio filter base class",
|
||||
"Filter/Effect/Audio",
|
||||
"Filters audio",
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
#include <gst/audio/gstaudiofilter.h>
|
||||
#include <string.h>
|
||||
|
||||
static GstElementDetails audio_filter_template_details =
|
||||
static const GstElementDetails audio_filter_template_details =
|
||||
GST_ELEMENT_DETAILS ("Audio filter template",
|
||||
"Filter/Effect/Audio",
|
||||
"Filters audio",
|
||||
|
|
|
@ -74,7 +74,7 @@ GST_DEBUG_CATEGORY (audio_convert_debug);
|
|||
|
||||
/*** DEFINITIONS **************************************************************/
|
||||
|
||||
static GstElementDetails audio_convert_details =
|
||||
static const GstElementDetails audio_convert_details =
|
||||
GST_ELEMENT_DETAILS ("Audio converter",
|
||||
"Filter/Converter/Audio",
|
||||
"Convert audio to different formats",
|
||||
|
|
|
@ -64,7 +64,7 @@ struct _GstAudioRateClass
|
|||
};
|
||||
|
||||
/* elementfactory information */
|
||||
static GstElementDetails audio_rate_details =
|
||||
static const GstElementDetails audio_rate_details =
|
||||
GST_ELEMENT_DETAILS ("Audio rate adjuster",
|
||||
"Filter/Effect/Audio",
|
||||
"Drops/duplicates/adjusts timestamps on audio samples to make a perfect stream",
|
||||
|
|
|
@ -54,7 +54,7 @@ GST_DEBUG_CATEGORY (audioresample_debug);
|
|||
#define GST_CAT_DEFAULT audioresample_debug
|
||||
|
||||
/* elementfactory information */
|
||||
static GstElementDetails gst_audioresample_details =
|
||||
static const GstElementDetails gst_audioresample_details =
|
||||
GST_ELEMENT_DETAILS ("Audio scaler",
|
||||
"Filter/Converter/Audio",
|
||||
"Resample audio",
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
|
||||
#define M_PI_M2 ( M_PI + M_PI )
|
||||
|
||||
static GstElementDetails gst_audio_test_src_details =
|
||||
static const GstElementDetails gst_audio_test_src_details =
|
||||
GST_ELEMENT_DETAILS ("Audio test source",
|
||||
"Source/Audio",
|
||||
"Creates audio test signals of given frequency and volume",
|
||||
|
|
|
@ -43,7 +43,7 @@ GST_DEBUG_CATEGORY (ffmpegcolorspace_debug);
|
|||
#define GST_CAT_DEFAULT ffmpegcolorspace_debug
|
||||
|
||||
/* elementfactory information */
|
||||
static GstElementDetails ffmpegcsp_details =
|
||||
static const GstElementDetails ffmpegcsp_details =
|
||||
GST_ELEMENT_DETAILS ("FFMPEG Colorspace converter",
|
||||
"Filter/Converter/Video",
|
||||
"Converts video from one colorspace to another",
|
||||
|
|
|
@ -142,7 +142,7 @@ static void queue_filled_cb (GstElement * queue, GstDecodeBin * decode_bin);
|
|||
static GstElementClass *parent_class;
|
||||
static guint gst_decode_bin_signals[LAST_SIGNAL] = { 0 };
|
||||
|
||||
static GstElementDetails gst_decode_bin_details =
|
||||
static const GstElementDetails gst_decode_bin_details =
|
||||
GST_ELEMENT_DETAILS ("Decoder Bin",
|
||||
"Generic/Bin/Decoder",
|
||||
"Autoplug and decode to raw media",
|
||||
|
|
|
@ -128,7 +128,7 @@ static GstElementClass *parent_class;
|
|||
|
||||
//static guint gst_play_bin_signals[LAST_SIGNAL] = { 0 };
|
||||
|
||||
static GstElementDetails gst_play_bin_details =
|
||||
static const GstElementDetails gst_play_bin_details =
|
||||
GST_ELEMENT_DETAILS ("Player Bin",
|
||||
"Generic/Bin/Player",
|
||||
"Autoplug and play media from an uri",
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
GST_DEBUG_CATEGORY_STATIC (stream_selector_debug);
|
||||
#define GST_CAT_DEFAULT stream_selector_debug
|
||||
|
||||
static GstElementDetails gst_stream_selector_details =
|
||||
static const GstElementDetails gst_stream_selector_details =
|
||||
GST_ELEMENT_DETAILS ("StreamSelector",
|
||||
"Generic",
|
||||
"N-to-1 input stream_selectoring",
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
GST_DEBUG_CATEGORY_STATIC (sub_parse_debug);
|
||||
#define GST_CAT_DEFAULT sub_parse_debug
|
||||
|
||||
static GstElementDetails sub_parse_details =
|
||||
static const GstElementDetails sub_parse_details =
|
||||
GST_ELEMENT_DETAILS ("Subtitle parser",
|
||||
"Codec/Parser/Subtitle",
|
||||
"Parses subtitle (.sub) files into text streams",
|
||||
|
|
|
@ -127,7 +127,7 @@ G_STMT_START { \
|
|||
} G_STMT_END
|
||||
|
||||
/* elementfactory information */
|
||||
static GstElementDetails gst_multi_fd_sink_details =
|
||||
static const GstElementDetails gst_multi_fd_sink_details =
|
||||
GST_ELEMENT_DETAILS ("Multi filedescriptor sink",
|
||||
"Sink/Network",
|
||||
"Send data to multiple filedescriptors",
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include <string.h> /* memset */
|
||||
|
||||
/* elementfactory information */
|
||||
static GstElementDetails gst_tcp_client_sink_details =
|
||||
static const GstElementDetails gst_tcp_client_sink_details =
|
||||
GST_ELEMENT_DETAILS ("TCP client sink",
|
||||
"Sink/Network",
|
||||
"Send data as a client over the network via TCP",
|
||||
|
|
|
@ -56,7 +56,7 @@ GST_DEBUG_CATEGORY (tcpclientsrc_debug);
|
|||
#define MAX_READ_SIZE 4 * 1024
|
||||
|
||||
|
||||
static GstElementDetails gst_tcp_client_src_details =
|
||||
static const GstElementDetails gst_tcp_client_src_details =
|
||||
GST_ELEMENT_DETAILS ("TCP client source",
|
||||
"Source/Network",
|
||||
"Receive data as a client over the network via TCP",
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
#define TCP_BACKLOG 5
|
||||
|
||||
/* elementfactory information */
|
||||
static GstElementDetails gst_tcp_server_sink_details =
|
||||
static const GstElementDetails gst_tcp_server_sink_details =
|
||||
GST_ELEMENT_DETAILS ("TCP server sink",
|
||||
"Sink/Network",
|
||||
"Send data as a server over the network via TCP",
|
||||
|
|
|
@ -57,7 +57,7 @@ GST_DEBUG_CATEGORY (tcpserversrc_debug);
|
|||
#define TCP_BACKLOG 1 /* client connection queue */
|
||||
|
||||
|
||||
static GstElementDetails gst_tcp_server_src_details =
|
||||
static const GstElementDetails gst_tcp_server_src_details =
|
||||
GST_ELEMENT_DETAILS ("TCP server source",
|
||||
"Source/Network",
|
||||
"Receive data as a server over the network via TCP",
|
||||
|
|
|
@ -460,7 +460,7 @@ aac_type_find (GstTypeFind * tf, gpointer unused)
|
|||
* of data (5762) to always detect any mp3.
|
||||
*/
|
||||
|
||||
static guint mp3types_bitrates[2][3][16] =
|
||||
static const guint mp3types_bitrates[2][3][16] =
|
||||
{ {{0, 32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448,},
|
||||
{0, 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384,},
|
||||
{0, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320,}},
|
||||
|
@ -469,7 +469,7 @@ static guint mp3types_bitrates[2][3][16] =
|
|||
{0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160,}},
|
||||
};
|
||||
|
||||
static guint mp3types_freqs[3][3] = { {11025, 12000, 8000},
|
||||
static const guint mp3types_freqs[3][3] = { {11025, 12000, 8000},
|
||||
{22050, 24000, 16000},
|
||||
{44100, 48000, 32000}
|
||||
};
|
||||
|
@ -2255,6 +2255,10 @@ plugin_init (GstPlugin * plugin)
|
|||
/* can't initialize this via a struct as caps can't be statically initialized */
|
||||
|
||||
/* note: asx/wax/wmx are XML files, asf doesn't handle them */
|
||||
/* FIXME-0.11: these should be const,
|
||||
this requires gstreamer/gst/gsttypefind::gst_type_find_register()
|
||||
to have define the parameter as const
|
||||
*/
|
||||
static gchar *asf_exts[] = { "asf", "wm", "wma", "wmv", NULL };
|
||||
static gchar *au_exts[] = { "au", "snd", NULL };
|
||||
static gchar *avi_exts[] = { "avi", NULL };
|
||||
|
|
|
@ -74,7 +74,7 @@ GST_DEBUG_CATEGORY (video_rate_debug);
|
|||
#define GST_CAT_DEFAULT video_rate_debug
|
||||
|
||||
/* elementfactory information */
|
||||
static GstElementDetails video_rate_details =
|
||||
static const GstElementDetails video_rate_details =
|
||||
GST_ELEMENT_DETAILS ("Video rate adjuster",
|
||||
"Filter/Effect/Video",
|
||||
"Drops/duplicates/adjusts timestamps on video frames to make a perfect stream",
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
GST_DEBUG_CATEGORY (video_scale_debug);
|
||||
|
||||
/* elementfactory information */
|
||||
static GstElementDetails video_scale_details =
|
||||
static const GstElementDetails video_scale_details =
|
||||
GST_ELEMENT_DETAILS ("Video scaler",
|
||||
"Filter/Effect/Video",
|
||||
"Resizes video",
|
||||
|
|
|
@ -53,7 +53,7 @@ GST_DEBUG_CATEGORY (video_test_src_debug);
|
|||
#define GST_CAT_DEFAULT video_test_src_debug
|
||||
|
||||
|
||||
static GstElementDetails video_test_src_details =
|
||||
static const GstElementDetails video_test_src_details =
|
||||
GST_ELEMENT_DETAILS ("Video test source",
|
||||
"Source/Video",
|
||||
"Creates a test video stream",
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
/* number of steps we use for the mixer interface to go from 0.0 to 1.0 */
|
||||
# define VOLUME_STEPS 100
|
||||
|
||||
static GstElementDetails volume_details = GST_ELEMENT_DETAILS ("Volume",
|
||||
static const GstElementDetails volume_details = GST_ELEMENT_DETAILS ("Volume",
|
||||
"Filter/Effect/Audio",
|
||||
"Set volume on audio/raw streams",
|
||||
"Andy Wingo <wingo@pobox.com>");
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include "v4lsrc_calls.h"
|
||||
|
||||
/* elementfactory information */
|
||||
static GstElementDetails gst_v4ljpegsrc_details =
|
||||
static const GstElementDetails gst_v4ljpegsrc_details =
|
||||
GST_ELEMENT_DETAILS ("Video (video4linux/raw) Jpeg Source",
|
||||
"Source/Video",
|
||||
"Reads jpeg frames from a video4linux (eg ov519) device",
|
||||
|
|
|
@ -31,7 +31,7 @@ GST_DEBUG_CATEGORY (v4lmjpegsink_debug);
|
|||
#define GST_CAT_DEFAULT v4lmjpegsink_debug
|
||||
|
||||
/* elementfactory information */
|
||||
static GstElementDetails gst_v4lmjpegsink_details =
|
||||
static const GstElementDetails gst_v4lmjpegsink_details =
|
||||
GST_ELEMENT_DETAILS ("Video (video4linux/MJPEG) sink",
|
||||
"Sink/Video",
|
||||
"Writes MJPEG-encoded frames to a zoran MJPEG/video4linux device",
|
||||
|
|
|
@ -31,7 +31,7 @@ GST_DEBUG_CATEGORY (v4lmjpegsrc_debug);
|
|||
#define GST_CAT_DEFAULT v4lmjpegsrc_debug
|
||||
|
||||
/* elementfactory information */
|
||||
static GstElementDetails gst_v4lmjpegsrc_details =
|
||||
static const GstElementDetails gst_v4lmjpegsrc_details =
|
||||
GST_ELEMENT_DETAILS ("Video (video4linux/MJPEG) Source",
|
||||
"Source/Video",
|
||||
"Reads MJPEG-encoded frames from a zoran MJPEG/video4linux device",
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include <sys/ioctl.h>
|
||||
|
||||
|
||||
static GstElementDetails gst_v4lsrc_details =
|
||||
static const GstElementDetails gst_v4lsrc_details =
|
||||
GST_ELEMENT_DETAILS ("Video (video4linux/raw) Source",
|
||||
"Source/Video",
|
||||
"Reads raw frames from a video4linux device",
|
||||
|
|
|
@ -143,7 +143,7 @@ static void gst_ximagesink_xwindow_update_geometry (GstXImageSink * ximagesink,
|
|||
static void gst_ximagesink_expose (GstXOverlay * overlay);
|
||||
|
||||
/* ElementFactory information */
|
||||
static GstElementDetails gst_ximagesink_details =
|
||||
static const GstElementDetails gst_ximagesink_details =
|
||||
GST_ELEMENT_DETAILS ("Video sink",
|
||||
"Sink/Video",
|
||||
"A standard X based videosink",
|
||||
|
|
|
@ -157,7 +157,7 @@ static void gst_xvimagesink_expose (GstXOverlay * overlay);
|
|||
//static void gst_xvimagesink_send_pending_navigation (GstXvImageSink * xvimagesink);
|
||||
|
||||
/* ElementFactory information */
|
||||
static GstElementDetails gst_xvimagesink_details =
|
||||
static const GstElementDetails gst_xvimagesink_details =
|
||||
GST_ELEMENT_DETAILS ("Video sink",
|
||||
"Sink/Video",
|
||||
"A Xv based videosink",
|
||||
|
|
|
@ -184,7 +184,7 @@ static gboolean gst_cd_foo_src_open (GstCddaBaseSrc * src,
|
|||
const gchar * device);
|
||||
static void gst_cd_foo_src_close (GstCddaBaseSrc * src);
|
||||
|
||||
static GstElementDetails cdfoo_details =
|
||||
static const GstElementDetails cdfoo_details =
|
||||
GST_ELEMENT_DETAILS ("CD Audio (cdda) Source, FooBar",
|
||||
"Source/File",
|
||||
"Read audio from CD",
|
||||
|
|
Loading…
Reference in a new issue