diff options
Diffstat (limited to 'gst')
65 files changed, 249 insertions, 270 deletions
diff --git a/gst/alpha/gstalpha.c b/gst/alpha/gstalpha.c index 5237706d..da6e0732 100644 --- a/gst/alpha/gstalpha.c +++ b/gst/alpha/gstalpha.c @@ -95,7 +95,7 @@ struct _GstAlphaClass /* elementfactory information */ static GstElementDetails gst_alpha_details = -GST_ELEMENT_DETAILS ("alpha filter", +GST_ELEMENT_DETAILS ("Alpha filter", "Filter/Effect/Video", "Adds an alpha channel to video", "Wim Taymans <wim@fluendo.com>"); diff --git a/gst/alpha/gstalphacolor.c b/gst/alpha/gstalphacolor.c index 04bc70cc..7fd225ee 100644 --- a/gst/alpha/gstalphacolor.c +++ b/gst/alpha/gstalphacolor.c @@ -60,7 +60,7 @@ struct _GstAlphaColorClass /* elementfactory information */ static GstElementDetails gst_alpha_color_details = -GST_ELEMENT_DETAILS ("alpha color filter", +GST_ELEMENT_DETAILS ("Alpha color filter", "Filter/Effect/Video", "RGB->YUV colorspace conversion preserving the alpha channels", "Wim Taymans <wim@fluendo.com>"); diff --git a/gst/auparse/gstauparse.c b/gst/auparse/gstauparse.c index 018ee500..ba03538f 100644 --- a/gst/auparse/gstauparse.c +++ b/gst/auparse/gstauparse.c @@ -34,7 +34,7 @@ /* elementfactory information */ static GstElementDetails gst_au_parse_details = -GST_ELEMENT_DETAILS (".au parser", +GST_ELEMENT_DETAILS ("AU audio demuxer", "Codec/Demuxer/Audio", "Parse an .au file into raw audio", "Erik Walthinsen <omega@cse.ogi.edu>"); @@ -113,8 +113,8 @@ gst_au_parse_init (GstAuParse * auparse, GstAuParseClass * klass) { auparse->sinkpad = gst_pad_new_from_static_template (&gst_au_parse_sink_template, "sink"); - gst_element_add_pad (GST_ELEMENT (auparse), auparse->sinkpad); gst_pad_set_chain_function (auparse->sinkpad, gst_au_parse_chain); + gst_element_add_pad (GST_ELEMENT (auparse), auparse->sinkpad); auparse->srcpad = gst_pad_new_from_static_template (&gst_au_parse_src_template, "src"); @@ -153,7 +153,6 @@ gst_au_parse_chain (GstPad * pad, GstBuffer * buf) gint law = 0, depth = 0, ieee = 0; gchar layout[7]; GstBuffer *databuf; - GstEvent *event; layout[0] = 0; @@ -168,6 +167,8 @@ gst_au_parse_chain (GstPad * pad, GstBuffer * buf) if (auparse->size == 0) { guint32 *head = (guint32 *) data; + /* FIXME, check if we have enough data (with adapter?) instead of + * crashing. */ /* normal format is big endian (au is a Sparc format) */ if (GST_READ_UINT32_BE (head) == 0x2e736e64) { /* ".snd" */ head++; @@ -202,10 +203,7 @@ gst_au_parse_chain (GstPad * pad, GstBuffer * buf) head++; } else { - GST_ELEMENT_ERROR (auparse, STREAM, WRONG_TYPE, (NULL), (NULL)); - gst_buffer_unref (buf); - gst_object_unref (auparse); - return GST_FLOW_ERROR; + goto unknown_header; } GST_DEBUG @@ -289,10 +287,7 @@ Samples : case 22: /* Music kit DSP commands samples */ default: - GST_ELEMENT_ERROR (auparse, STREAM, FORMAT, (NULL), (NULL)); - gst_buffer_unref (buf); - gst_object_unref (auparse); - return GST_FLOW_ERROR; + goto unknown_format; } if (law) { @@ -324,14 +319,18 @@ Samples : auparse->sample_size = auparse->channels * depth / 8; } - gst_pad_use_fixed_caps (auparse->srcpad); gst_pad_set_caps (auparse->srcpad, tempcaps); - gst_pad_set_active (auparse->srcpad, TRUE); - event = gst_event_new_new_segment (FALSE, 1.0, GST_FORMAT_DEFAULT, - 0, GST_CLOCK_TIME_NONE, 0); +#if 0 + { + GstEvent *event; + + event = gst_event_new_new_segment (FALSE, 1.0, GST_FORMAT_DEFAULT, + 0, GST_CLOCK_TIME_NONE, 0); - gst_pad_push_event (auparse->srcpad, event); + gst_pad_push_event (auparse->srcpad, event); + } +#endif databuf = gst_buffer_create_sub (buf, auparse->offset, size - auparse->offset); @@ -381,6 +380,22 @@ Samples : gst_object_unref (auparse); return ret; + + /* ERRORS */ +unknown_header: + { + GST_ELEMENT_ERROR (auparse, STREAM, WRONG_TYPE, (NULL), (NULL)); + gst_buffer_unref (buf); + gst_object_unref (auparse); + return GST_FLOW_ERROR; + } +unknown_format: + { + GST_ELEMENT_ERROR (auparse, STREAM, FORMAT, (NULL), (NULL)); + gst_buffer_unref (buf); + gst_object_unref (auparse); + return GST_FLOW_ERROR; + } } static GstStateChangeReturn diff --git a/gst/autodetect/gstautoaudiosink.c b/gst/autodetect/gstautoaudiosink.c index 28892f4f..cb087c0d 100644 --- a/gst/autodetect/gstautoaudiosink.c +++ b/gst/autodetect/gstautoaudiosink.c @@ -56,12 +56,11 @@ static void gst_auto_audio_sink_base_init (gpointer klass) { GstElementClass *eklass = GST_ELEMENT_CLASS (klass); - GstElementDetails gst_auto_audio_sink_details = { - "Auto audio sink", - "Sink/Audio", - "Wrapper audio sink for automatically detected audio sink", - "Ronald Bultje <rbultje@ronald.bitfreak.net>" - }; + GstElementDetails gst_auto_audio_sink_details = + GST_ELEMENT_DETAILS ("Auto audio sink", + "Sink/Audio", + "Wrapper audio sink for automatically detected audio sink", + "Ronald Bultje <rbultje@ronald.bitfreak.net>"); GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, diff --git a/gst/autodetect/gstautovideosink.c b/gst/autodetect/gstautovideosink.c index 8859492f..0e1ce09c 100644 --- a/gst/autodetect/gstautovideosink.c +++ b/gst/autodetect/gstautovideosink.c @@ -56,12 +56,11 @@ static void gst_auto_video_sink_base_init (gpointer klass) { GstElementClass *eklass = GST_ELEMENT_CLASS (klass); - GstElementDetails gst_auto_video_sink_details = { - "Auto video sink", - "Sink/Video", - "Wrapper video sink for automatically detected video sink", - "Ronald Bultje <rbultje@ronald.bitfreak.net>" - }; + GstElementDetails gst_auto_video_sink_details = + GST_ELEMENT_DETAILS ("Auto video sink", + "Sink/Video", + "Wrapper video sink for automatically detected video sink", + "Ronald Bultje <rbultje@ronald.bitfreak.net>"); GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, diff --git a/gst/avi/gstavimux.c b/gst/avi/gstavimux.c index 253b7da7..15a374fa 100644 --- a/gst/avi/gstavimux.c +++ b/gst/avi/gstavimux.c @@ -198,7 +198,7 @@ gst_avimux_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); static GstElementDetails gst_avimux_details = - GST_ELEMENT_DETAILS ("Avi multiplexer", + GST_ELEMENT_DETAILS ("Avi muxer", "Codec/Muxer", "Muxes audio and video into an avi stream", "Ronald Bultje <rbultje@ronald.bitfreak.net>"); diff --git a/gst/cutter/gstcutter.c b/gst/cutter/gstcutter.c index 9b302cd8..8d3c0647 100644 --- a/gst/cutter/gstcutter.c +++ b/gst/cutter/gstcutter.c @@ -34,12 +34,10 @@ GST_DEBUG_CATEGORY (cutter_debug); #define CUTTER_DEFAULT_THRESHOLD_LENGTH (500 * GST_MSECOND) #define CUTTER_DEFAULT_PRE_LENGTH (200 * GST_MSECOND) -static GstElementDetails cutter_details = { - "Cutter", - "Filter/Editor/Audio", - "Audio Cutter to split audio into non-silent bits", - "Thomas <thomas@apestaart.org>", -}; +static GstElementDetails cutter_details = GST_ELEMENT_DETAILS ("Audio cutter", + "Filter/Editor/Audio", + "Audio Cutter to split audio into non-silent bits", + "Thomas <thomas@apestaart.org>"); static GstStaticPadTemplate cutter_src_factory = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, diff --git a/gst/debug/breakmydata.c b/gst/debug/breakmydata.c index 724ac4fd..0a020582 100644 --- a/gst/debug/breakmydata.c +++ b/gst/debug/breakmydata.c @@ -83,7 +83,7 @@ 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 GstElementDetails details = GST_ELEMENT_DETAILS ("breakmydata", +static GstElementDetails details = GST_ELEMENT_DETAILS ("Break my data", "Testing", "randomly change data in the stream", "Benjamin Otte <otte@gnome>"); diff --git a/gst/debug/efence.c b/gst/debug/efence.c index 90932598..2c727251 100644 --- a/gst/debug/efence.c +++ b/gst/debug/efence.c @@ -42,16 +42,14 @@ GST_DEBUG_CATEGORY_STATIC (gst_efence_debug); #define GST_CAT_DEFAULT gst_efence_debug -static GstElementDetails plugin_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>", -}; +static 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 diff --git a/gst/debug/gstnavigationtest.c b/gst/debug/gstnavigationtest.c index f31ee96e..d46ee47d 100644 --- a/gst/debug/gstnavigationtest.c +++ b/gst/debug/gstnavigationtest.c @@ -32,7 +32,7 @@ GST_DEBUG_CATEGORY (navigationtest_debug); #define GST_CAT_DEFAULT navigationtest_debug static GstElementDetails navigationtest_details = -GST_ELEMENT_DETAILS ("Video Navigation test", +GST_ELEMENT_DETAILS ("Video navigation test", "Filter/Effect/Video", "Handle navigation events showing a black square following mouse pointer", "David Schleef <ds@schleef.org>"); diff --git a/gst/debug/negotiation.c b/gst/debug/negotiation.c index c3f2314d..feb62524 100644 --- a/gst/debug/negotiation.c +++ b/gst/debug/negotiation.c @@ -60,13 +60,11 @@ struct _GstNegotiationClass GType gst_gst_negotiation_get_type (void); -static GstElementDetails plugin_details = { - "Negotiation", - "Testing", - "This element acts like identity, except that one can control how " - "negotiation works", - "David A. Schleef <ds@schleef.org>", -}; +static 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 diff --git a/gst/debug/progressreport.c b/gst/debug/progressreport.c index 35bbf3c7..a09fbd76 100644 --- a/gst/debug/progressreport.c +++ b/gst/debug/progressreport.c @@ -78,7 +78,7 @@ GST_STATIC_PAD_TEMPLATE ("sink", GST_STATIC_CAPS_ANY); static GstElementDetails progress_report_details = -GST_ELEMENT_DETAILS ("Progress Report", +GST_ELEMENT_DETAILS ("Progress report", "Testing", "Periodically query and report on processing progress", "Jan Schmidt <thaytan@mad.scientist.com>"); diff --git a/gst/debug/testplugin.c b/gst/debug/testplugin.c index d176e09c..e549c996 100644 --- a/gst/debug/testplugin.c +++ b/gst/debug/testplugin.c @@ -79,7 +79,7 @@ static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink", GST_STATIC_CAPS_ANY); -static GstElementDetails details = GST_ELEMENT_DETAILS ("gsttestsink", +static GstElementDetails details = GST_ELEMENT_DETAILS ("Test plugin", "Testing", "perform a number of tests", "Benjamin Otte <otte@gnome>"); diff --git a/gst/effectv/gstaging.c b/gst/effectv/gstaging.c index c9a9da6e..54e1e596 100644 --- a/gst/effectv/gstaging.c +++ b/gst/effectv/gstaging.c @@ -93,7 +93,8 @@ struct _GstAgingTVClass GType gst_agingtv_get_type (void); -static GstElementDetails agingtv_details = GST_ELEMENT_DETAILS ("AgingTV", +static GstElementDetails agingtv_details = +GST_ELEMENT_DETAILS ("AgingTV effect", "Filter/Effect/Video", "AgingTV adds age to video input using scratches and dust", "Sam Lantinga <slouken@devolution.com>"); diff --git a/gst/effectv/gstdice.c b/gst/effectv/gstdice.c index b5492b5e..711f3c56 100644 --- a/gst/effectv/gstdice.c +++ b/gst/effectv/gstdice.c @@ -70,7 +70,8 @@ GType gst_dicetv_get_type (void); static void gst_dicetv_create_map (GstDiceTV * filter); -static GstElementDetails gst_dicetv_details = GST_ELEMENT_DETAILS ("DiceTV", +static GstElementDetails gst_dicetv_details = +GST_ELEMENT_DETAILS ("DiceTV effect", "Filter/Effect/Video", "'Dices' the screen up into many small squares", "Wim Taymans <wim.taymans@chello.be>"); diff --git a/gst/effectv/gstedge.c b/gst/effectv/gstedge.c index 3da3870d..eb7f6aab 100644 --- a/gst/effectv/gstedge.c +++ b/gst/effectv/gstedge.c @@ -62,7 +62,8 @@ struct _GstEdgeTVClass GType gst_edgetv_get_type (void); -static GstElementDetails gst_edgetv_details = GST_ELEMENT_DETAILS ("EdgeTV", +static GstElementDetails gst_edgetv_details = +GST_ELEMENT_DETAILS ("EdgeTV effect", "Filter/Effect/Video", "Apply edge detect on video", "Wim Taymans <wim.taymans@chello.be>"); diff --git a/gst/effectv/gstquark.c b/gst/effectv/gstquark.c index 1e357028..9b985697 100644 --- a/gst/effectv/gstquark.c +++ b/gst/effectv/gstquark.c @@ -76,7 +76,8 @@ GType gst_quarktv_get_type (void); static void gst_quarktv_planetable_clear (GstQuarkTV * filter); -static GstElementDetails quarktv_details = GST_ELEMENT_DETAILS ("QuarkTV", +static GstElementDetails quarktv_details = +GST_ELEMENT_DETAILS ("QuarkTV effect", "Filter/Effect/Video", "Motion dissolver", "FUKUCHI, Kentarou <fukuchi@users.sourceforge.net>"); diff --git a/gst/effectv/gstrev.c b/gst/effectv/gstrev.c index 898eb5dd..44dd3ef7 100644 --- a/gst/effectv/gstrev.c +++ b/gst/effectv/gstrev.c @@ -93,7 +93,8 @@ enum GType gst_revtv_get_type (void); -static GstElementDetails gst_revtv_details = GST_ELEMENT_DETAILS ("RevTV", +static GstElementDetails gst_revtv_details = +GST_ELEMENT_DETAILS ("RevTV effect", "Filter/Effect/Video", "A video waveform monitor for each line of video processed", "Wim Taymans <wim.taymans@chello.be>"); diff --git a/gst/effectv/gstvertigo.c b/gst/effectv/gstvertigo.c index 244ca171..5c0016e3 100644 --- a/gst/effectv/gstvertigo.c +++ b/gst/effectv/gstvertigo.c @@ -76,7 +76,8 @@ enum ARG_ZOOM_SPEED }; -static GstElementDetails vertigotv_details = GST_ELEMENT_DETAILS ("VertigoTV", +static GstElementDetails vertigotv_details = +GST_ELEMENT_DETAILS ("VertigoTV effect", "Filter/Effect/Video", "A loopback alpha blending effector with rotating and scaling", "Wim Taymans <wim.taymans@chello.be>"); diff --git a/gst/effectv/gstwarp.c b/gst/effectv/gstwarp.c index 3cca8da5..ec451530 100644 --- a/gst/effectv/gstwarp.c +++ b/gst/effectv/gstwarp.c @@ -85,7 +85,7 @@ static void initSinTable (GstWarpTV * filter); static void initOffsTable (GstWarpTV * filter); static void initDistTable (GstWarpTV * filter); -static GstElementDetails warptv_details = GST_ELEMENT_DETAILS ("WarpTV", +static GstElementDetails warptv_details = GST_ELEMENT_DETAILS ("WarpTV effect", "Filter/Effect/Video", "WarpTV does realtime goo'ing of the video input", "Sam Lantinga <slouken@devolution.com>"); diff --git a/gst/flx/gstflxdec.c b/gst/flx/gstflxdec.c index d6db1bb4..585567e3 100644 --- a/gst/flx/gstflxdec.c +++ b/gst/flx/gstflxdec.c @@ -32,12 +32,11 @@ GST_DEBUG_CATEGORY_STATIC (flxdec_debug); #define GST_CAT_DEFAULT flxdec_debug /* flx element information */ -static GstElementDetails flxdec_details = { - "FLX Decoder", - "Codec/Decoder/Audio", - "FLX decoder", - "Sepp Wijnands <mrrazz@garbage-coderz.net>, Zeeshan Ali <zeenix@gmail.com>" -}; +static GstElementDetails flxdec_details = +GST_ELEMENT_DETAILS ("FLX audio decoder", + "Codec/Decoder/Audio", + "FLX decoder", + "Sepp Wijnands <mrrazz@garbage-coderz.net>, Zeeshan Ali <zeenix@gmail.com>"); /* Flx signals and args */ enum diff --git a/gst/goom/gstgoom.c b/gst/goom/gstgoom.c index 54425aa6..745b0c6e 100644 --- a/gst/goom/gstgoom.c +++ b/gst/goom/gstgoom.c @@ -45,12 +45,11 @@ GST_DEBUG_CATEGORY_STATIC (goom_debug); #define GST_CAT_DEFAULT goom_debug /* elementfactory information */ -static GstElementDetails gst_goom_details = { - "GOOM: what a GOOM!", - "Visualization", - "Takes frames of data and outputs video frames using the GOOM filter", - "Wim Taymans <wim.taymans@chello.be>" -}; +static 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.taymans@chello.be>"); /* signals and args */ enum diff --git a/gst/law/alaw-decode.c b/gst/law/alaw-decode.c index e7496e2c..0d180459 100644 --- a/gst/law/alaw-decode.c +++ b/gst/law/alaw-decode.c @@ -191,12 +191,11 @@ static void gst_alawdec_base_init (GstALawDecClass * klass) { GstElementClass *element_class = GST_ELEMENT_CLASS (klass); - GstElementDetails alawdec_details = { - "A Law to PCM conversion", - "Codec/Decoder/Audio", - "Convert 8bit A law to 16bit PCM", - "Zaheer Abbas Merali <zaheerabbas at merali dot org>" - }; + GstElementDetails alawdec_details = + GST_ELEMENT_DETAILS ("A Law audio decoder", + "Codec/Decoder/Audio", + "Convert 8bit A law to 16bit PCM", + "Zaheer Abbas Merali <zaheerabbas at merali dot org>"); gst_element_class_add_pad_template (element_class, alawdec_src_template); gst_element_class_add_pad_template (element_class, alawdec_sink_template); diff --git a/gst/law/alaw-encode.c b/gst/law/alaw-encode.c index d5d51686..d2eef4cf 100644 --- a/gst/law/alaw-encode.c +++ b/gst/law/alaw-encode.c @@ -227,12 +227,11 @@ static void gst_alawenc_base_init (GstALawEncClass * klass) { GstElementClass *element_class = GST_ELEMENT_CLASS (klass); - GstElementDetails alawenc_details = { - "PCM to A Law conversion", - "Codec/Encoder/Audio", - "Convert 16bit PCM to 8bit A law", - "Zaheer Abbas Merali <zaheerabbas at merali dot org>" - }; + GstElementDetails alawenc_details = + GST_ELEMENT_DETAILS ("A Law audio encoder", + "Codec/Encoder/Audio", + "Convert 16bit PCM to 8bit A law", + "Zaheer Abbas Merali <zaheerabbas at merali dot org>"); gst_element_class_add_pad_template (element_class, alawenc_src_template); gst_element_class_add_pad_template (element_class, alawenc_sink_template); diff --git a/gst/law/mulaw-decode.c b/gst/law/mulaw-decode.c index 51509356..607f5709 100644 --- a/gst/law/mulaw-decode.c +++ b/gst/law/mulaw-decode.c @@ -161,12 +161,11 @@ static void gst_mulawdec_base_init (GstMuLawDecClass * klass) { GstElementClass *element_class = GST_ELEMENT_CLASS (klass); - GstElementDetails mulawdec_details = { - "Mu Law to PCM conversion", - "Codec/Decoder/Audio", - "Convert 8bit mu law to 16bit PCM", - "Zaheer Abbas Merali <zaheerabbas at merali dot org>" - }; + 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, mulawdec_src_template); gst_element_class_add_pad_template (element_class, mulawdec_sink_template); diff --git a/gst/law/mulaw-encode.c b/gst/law/mulaw-encode.c index f9e1eccd..67267a85 100644 --- a/gst/law/mulaw-encode.c +++ b/gst/law/mulaw-encode.c @@ -161,12 +161,11 @@ static void gst_mulawenc_base_init (GstMuLawEncClass * klass) { GstElementClass *element_class = GST_ELEMENT_CLASS (klass); - GstElementDetails mulawenc_details = { - "PCM to Mu Law conversion", - "Codec/Encoder/Audio", - "Convert 16bit PCM to 8bit mu law", - "Zaheer Abbas Merali <zaheerabbas at merali dot org>" - }; + 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, mulawenc_src_template); gst_element_class_add_pad_template (element_class, mulawenc_sink_template); diff --git a/gst/level/gstlevel.c b/gst/level/gstlevel.c index 270ba239..0d37f524 100644 --- a/gst/level/gstlevel.c +++ b/gst/level/gstlevel.c @@ -86,12 +86,10 @@ GST_DEBUG_CATEGORY (level_debug); #define GST_CAT_DEFAULT level_debug -static GstElementDetails level_details = { - "Level", - "Filter/Analyzer/Audio", - "RMS/Peak/Decaying Peak Level messager for audio/raw", - "Thomas Vander Stichele <thomas at apestaart dot org>" -}; +static 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", diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c index 38824507..68f248a3 100644 --- a/gst/matroska/matroska-demux.c +++ b/gst/matroska/matroska-demux.c @@ -129,12 +129,11 @@ static void gst_matroska_demux_base_init (GstMatroskaDemuxClass * klass) { GstElementClass *element_class = GST_ELEMENT_CLASS (klass); - static GstElementDetails gst_matroska_demux_details = { - "Matroska demuxer", - "Codec/Demuxer", - "Demuxes a Matroska Stream into video/audio/subtitles", - "Ronald Bultje <rbultje@ronald.bitfreak.net>" - }; + static GstElementDetails gst_matroska_demux_details = + GST_ELEMENT_DETAILS ("Matroska demuxer", + "Codec/Demuxer", + "Demuxes a Matroska Stream into video/audio/subtitles", + "Ronald Bultje <rbultje@ronald.bitfreak.net>"); gst_element_class_add_pad_template (element_class, videosrctempl); gst_element_class_add_pad_template (element_class, audiosrctempl); diff --git a/gst/matroska/matroska-mux.c b/gst/matroska/matroska-mux.c index 4c054f15..23774df4 100644 --- a/gst/matroska/matroska-mux.c +++ b/gst/matroska/matroska-mux.c @@ -166,12 +166,11 @@ static void gst_matroska_mux_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - static GstElementDetails gst_matroska_mux_details = { - "Matroska muxer", - "Codec/Muxer", - "Muxes video/audio/subtitle streams into a matroska stream", - "Ronald Bultje <rbultje@ronald.bitfreak.net>" - }; + static GstElementDetails gst_matroska_mux_details = + GST_ELEMENT_DETAILS ("Matroska muxer", + "Codec/Muxer", + "Muxes video/audio/subtitle streams into a matroska stream", + "Ronald Bultje <rbultje@ronald.bitfreak.net>"); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&videosink_templ)); diff --git a/gst/median/gstmedian.c b/gst/median/gstmedian.c index 3f09f086..448f06d9 100644 --- a/gst/median/gstmedian.c +++ b/gst/median/gstmedian.c @@ -25,12 +25,10 @@ #include <gst/video/video.h> /* elementfactory information */ -static GstElementDetails median_details = { - "Median effect", - "Filter/Effect/Video", - "Apply a median filter to an image", - "Wim Taymans <wim.taymans@chello.be>" -}; +static 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, diff --git a/gst/monoscope/gstmonoscope.c b/gst/monoscope/gstmonoscope.c index 82d3cb7a..54f3f1ce 100644 --- a/gst/monoscope/gstmonoscope.c +++ b/gst/monoscope/gstmonoscope.c @@ -69,12 +69,11 @@ GType gst_monoscope_get_type (void); /* elementfactory information */ -static GstElementDetails gst_monoscope_details = { - "Monoscope", - "Visualization", - "Displays a highly stabilised waveform of audio input", - "Richard Boulton <richard@tartarus.org>" -}; +static GstElementDetails gst_monoscope_details = +GST_ELEMENT_DETAILS ("Monoscope", + "Visualization", + "Displays a highly stabilised waveform of audio input", + "Richard Boulton <richard@tartarus.org>"); /* signals and args */ enum diff --git a/gst/multipart/multipartdemux.c b/gst/multipart/multipartdemux.c index 7e25bf62..55a4266b 100644 --- a/gst/multipart/multipartdemux.c +++ b/gst/multipart/multipartdemux.c @@ -123,7 +123,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_multipart_demux_debug); /* elementfactory information */ static GstElementDetails gst_multipart_demux_details = -GST_ELEMENT_DETAILS ("multipart demuxer", +GST_ELEMENT_DETAILS ("Multipart demuxer", "Codec/Demuxer", "demux multipart streams", "Wim Taymans <wim@fluendo.com>"); diff --git a/gst/multipart/multipartmux.c b/gst/multipart/multipartmux.c index 1057bd39..1f064fcc 100644 --- a/gst/multipart/multipartmux.c +++ b/gst/multipart/multipartmux.c @@ -102,7 +102,7 @@ struct _GstMultipartMuxClass /* elementfactory information */ static GstElementDetails gst_multipart_mux_details = -GST_ELEMENT_DETAILS ("multipart muxer", +GST_ELEMENT_DETAILS ("Multipart muxer", "Codec/Muxer", "mux multipart streams", "Wim Taymans <wim@fluendo.com>"); diff --git a/gst/oldcore/gstmultifilesrc.c b/gst/oldcore/gstmultifilesrc.c index df722aaf..d73bd6af 100644 --- a/gst/oldcore/gstmultifilesrc.c +++ b/gst/oldcore/gstmultifilesrc.c @@ -46,7 +46,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_multifilesrc_debug); #define GST_CAT_DEFAULT gst_multifilesrc_debug GstElementDetails gst_multifilesrc_details = -GST_ELEMENT_DETAILS ("Multi File Source", +GST_ELEMENT_DETAILS ("Multi file source", "Source/File", "Read from multiple files in order", "Dominic Ludlam <dom@openfx.org>"); diff --git a/gst/oldcore/gstpipefilter.c b/gst/oldcore/gstpipefilter.c index 678551b9..623b9a1f 100644 --- a/gst/oldcore/gstpipefilter.c +++ b/gst/oldcore/gstpipefilter.c @@ -50,7 +50,7 @@ static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src", GST_DEBUG_CATEGORY_STATIC (gst_pipefilter_debug); #define GST_CAT_DEFAULT gst_pipefilter_debug -GstElementDetails gst_pipefilter_details = GST_ELEMENT_DETAILS ("Pipefilter", +GstElementDetails gst_pipefilter_details = GST_ELEMENT_DETAILS ("Pipe filter", "Filter", "Interoperate with an external program using stdin and stdout", "Erik Walthinsen <omega@cse.ogi.edu>, " diff --git a/gst/rtp/gstasteriskh263.c b/gst/rtp/gstasteriskh263.c index 3fe3326f..c2a12337 100644 --- a/gst/rtp/gstasteriskh263.c +++ b/gst/rtp/gstasteriskh263.c @@ -43,12 +43,11 @@ typedef struct _GstAsteriskH263Header #define GST_ASTERISKH263_HEADER_LENGTH(buf) (((GstAsteriskH263Header *)(GST_BUFFER_DATA (buf)))->length) /* elementfactory information */ -static GstElementDetails gst_rtp_h263p_depaydetails = { - "RTP packet parser", - "Codec/Depayr/Network", - "Extracts H263 video from RTP and encodes in Asterisk H263 format", - "Neil Stratford <neils@vipadia.com>" -}; +static GstElementDetails gst_rtp_h263p_depaydetails = +GST_ELEMENT_DETAILS ("RTP packet parser", + "Codec/Depayr/Network", + "Extracts H263 video from RTP and encodes in Asterisk H263 format", + "Neil Stratford <neils@vipadia.com>"); /* Asteriskh263 signals and args */ enum diff --git a/gst/rtp/gstrtpL16depay.c b/gst/rtp/gstrtpL16depay.c index 60e2bcd5..d7a48dd6 100644 --- a/gst/rtp/gstrtpL16depay.c +++ b/gst/rtp/gstrtpL16depay.c @@ -20,12 +20,11 @@ #include "gstrtp-common.h" /* elementfactory information */ -static GstElementDetails gst_rtp_L16depay_details = { - "RTP packet parser", - "Codec/Depayr/Network", - "Extracts raw audio from RTP packets", - "Zeeshan Ali <zak147@yahoo.com>" -}; +static GstElementDetails gst_rtp_L16depay_details = +GST_ELEMENT_DETAILS ("RTP packet parser", + "Codec/Depayr/Network", + "Extracts raw audio from RTP packets", + "Zeeshan Ali <zak147@yahoo.com>"); /* RtpL16Depay signals and args */ enum diff --git a/gst/rtp/gstrtpL16pay.c b/gst/rtp/gstrtpL16pay.c index 3f61d73d..ce424fe4 100644 --- a/gst/rtp/gstrtpL16pay.c +++ b/gst/rtp/gstrtpL16pay.c @@ -25,12 +25,11 @@ #include "gstrtpL16pay.h" /* elementfactory information */ -static GstElementDetails gst_rtpL16pay_details = { - "RTP RAW Audio Payloader", - "Codec/Payloader/Network", - "Payload-encodes Raw Audio into a RTP packet", - "Zeeshan Ali <zak147@yahoo.com>" -}; +static GstElementDetails gst_rtpL16pay_details = +GST_ELEMENT_DETAILS ("RTP RAW audio payloader", + "Codec/Payloader/Network", + "Payload-encodes Raw Audio into a RTP packet", + "Zeeshan Ali <zak147@yahoo.com>"); /* RtpL16Pay signals and args */ enum diff --git a/gst/rtp/gstrtpamrdepay.c b/gst/rtp/gstrtpamrdepay.c index 3eb08d35..9a4d7c99 100644 --- a/gst/rtp/gstrtpamrdepay.c +++ b/gst/rtp/gstrtpamrdepay.c @@ -29,12 +29,11 @@ */ /* elementfactory information */ -static GstElementDetails gst_rtp_amrdepay_details = { - "RTP packet parser", - "Codec/Depayr/Network", - "Extracts AMR audio from RTP packets (RFC 3267)", - "Wim Taymans <wim@fluendo.com>" -}; +static GstElementDetails gst_rtp_amrdepay_details = +GST_ELEMENT_DETAILS ("RTP packet parser", + "Codec/Depayr/Network", + "Extracts AMR audio from RTP packets (RFC 3267)", + "Wim Taymans <wim@fluendo.com>"); /* RtpAMRDepay signals and args */ enum diff --git a/gst/rtp/gstrtpamrpay.c b/gst/rtp/gstrtpamrpay.c index 27588d8c..93dd5fb0 100644 --- a/gst/rtp/gstrtpamrpay.c +++ b/gst/rtp/gstrtpamrpay.c @@ -33,12 +33,11 @@ GST_DEBUG_CATEGORY (rtpamrpay_debug); */ /* elementfactory information */ -static GstElementDetails gst_rtp_amrpay_details = { - "RTP packet parser", - "Codec/Payloader/Network", - "Payload-encode AMR audio into RTP packets (RFC 3267)", - "Wim Taymans <wim@fluendo.com>" -}; +static GstElementDetails gst_rtp_amrpay_details = +GST_ELEMENT_DETAILS ("RTP packet parser", + "Codec/Payloader/Network", + "Payload-encode AMR audio into RTP packets (RFC 3267)", + "Wim Taymans <wim@fluendo.com>"); static GstStaticPadTemplate gst_rtp_amr_pay_sink_template = GST_STATIC_PAD_TEMPLATE ("sink", diff --git a/gst/rtp/gstrtpdepay.c b/gst/rtp/gstrtpdepay.c index 531f8710..9b114aa3 100644 --- a/gst/rtp/gstrtpdepay.c +++ b/gst/rtp/gstrtpdepay.c @@ -25,7 +25,7 @@ GST_DEBUG_CATEGORY (rtpdepay_debug); /* elementfactory information */ static GstElementDetails rtpdepay_details = -GST_ELEMENT_DETAILS ("RTP Payloader", +GST_ELEMENT_DETAILS ("RTP payloader", "Codec/Depayr/Network", "Accepts raw RTP and RTCP packets and sends them forward", "Wim Taymans <wim@fluendo.com>"); diff --git a/gst/rtp/gstrtpgsmpay.c b/gst/rtp/gstrtpgsmpay.c index 23e2a5f8..0c324d31 100644 --- a/gst/rtp/gstrtpgsmpay.c +++ b/gst/rtp/gstrtpgsmpay.c @@ -29,12 +29,11 @@ #include "gstrtpgsmpay.h" /* elementfactory information */ -static GstElementDetails gst_rtp_gsm_pay_details = { - "RTP GSM Audio Payloader", - "Codec/Payloader/Network", - "Payload-encodes GSM audio into a RTP packet", - "Zeeshan Ali <zeenix@gmail.com>" -}; +static GstElementDetails gst_rtp_gsm_pay_details = +GST_ELEMENT_DETAILS ("RTP GSM audio 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", diff --git a/gst/rtp/gstrtph263pay.c b/gst/rtp/gstrtph263pay.c index 78477723..45b96ce3 100644 --- a/gst/rtp/gstrtph263pay.c +++ b/gst/rtp/gstrtph263pay.c @@ -139,12 +139,11 @@ typedef struct _GstH263PictureLayer /* elementfactory information */ -static GstElementDetails gst_rtp_h263pay_details = { - "RTP packet parser", - "Codec/Payloader/Network", - "Payload-encodes H263 video in RTP packets (RFC 2190)", - "Neil Stratford <neils@vipadia.com>" -}; +static GstElementDetails gst_rtp_h263pay_details = +GST_ELEMENT_DETAILS ("RTP packet parser", + "Codec/Payloader/Network", + "Payload-encodes H263 video in RTP packets (RFC 2190)", + "Neil Stratford <neils@vipadia.com>"); static GstStaticPadTemplate gst_rtp_h263_pay_sink_template = GST_STATIC_PAD_TEMPLATE ("sink", diff --git a/gst/rtp/gstrtph263pdepay.c b/gst/rtp/gstrtph263pdepay.c index 8afb499b..d4003c72 100644 --- a/gst/rtp/gstrtph263pdepay.c +++ b/gst/rtp/gstrtph263pdepay.c @@ -22,12 +22,11 @@ #include "gstrtph263pdepay.h" /* elementfactory information */ -static GstElementDetails gst_rtp_h263pdepay_details = { - "RTP packet parser", - "Codec/Depayr/Network", - "Extracts H263+ video from RTP packets (RFC 2429)", - "Wim Taymans <wim@fluendo.com>" -}; +static GstElementDetails gst_rtp_h263pdepay_details = +GST_ELEMENT_DETAILS ("RTP packet parser", + "Codec/Depayr/Network", + "Extracts H263+ video from RTP packets (RFC 2429)", + "Wim Taymans <wim@fluendo.com>"); /* RtpH263PDepay signals and args */ enum diff --git a/gst/rtp/gstrtph263ppay.c b/gst/rtp/gstrtph263ppay.c index c35de198..532b4a69 100644 --- a/gst/rtp/gstrtph263ppay.c +++ b/gst/rtp/gstrtph263ppay.c @@ -23,12 +23,11 @@ #include "gstrtph263ppay.h" /* elementfactory information */ -static GstElementDetails gst_rtp_h263ppay_details = { - "RTP packet parser", - "Codec/Payloader/Network", - "Payload-encodes H263+ video in RTP packets (RFC 2429)", - "Wim Taymans <wim@fluendo.com>" -}; +static GstElementDetails gst_rtp_h263ppay_details = +GST_ELEMENT_DETAILS ("RTP packet parser", + "Codec/Payloader/Network", + "Payload-encodes H263+ video in RTP packets (RFC 2429)", + "Wim Taymans <wim@fluendo.com>"); static GstStaticPadTemplate gst_rtp_h263p_pay_sink_template = GST_STATIC_PAD_TEMPLATE ("sink", diff --git a/gst/rtp/gstrtpmp4gpay.c b/gst/rtp/gstrtpmp4gpay.c index d1e5efe0..36b955a1 100644 --- a/gst/rtp/gstrtpmp4gpay.c +++ b/gst/rtp/gstrtpmp4gpay.c @@ -26,12 +26,11 @@ GST_DEBUG_CATEGORY (rtpmp4gpay_debug); #define GST_CAT_DEFAULT (rtpmp4gpay_debug) /* elementfactory information */ -static GstElementDetails gst_rtp_mp4gpay_details = { - "RTP packet parser", - "Codec/Payloader/Network", - "Payload MPEG4 elementary streams as RTP packets (RFC 3640)", - "Wim Taymans <wim@fluendo.com>" -}; +static GstElementDetails gst_rtp_mp4gpay_details = +GST_ELEMENT_DETAILS ("RTP packet parser", + "Codec/Payloader/Network", + "Payload MPEG4 elementary streams as RTP packets (RFC 3640)", + "Wim Taymans <wim@fluendo.com>"); static GstStaticPadTemplate gst_rtp_mp4g_pay_sink_template = GST_STATIC_PAD_TEMPLATE ("sink", diff --git a/gst/rtp/gstrtpmp4vdepay.c b/gst/rtp/gstrtpmp4vdepay.c index 3582a302..a9ac441a 100644 --- a/gst/rtp/gstrtpmp4vdepay.c +++ b/gst/rtp/gstrtpmp4vdepay.c @@ -22,12 +22,11 @@ #include "gstrtpmp4vdepay.h" /* elementfactory information */ -static GstElementDetails gst_rtp_mp4vdepay_details = { - "RTP packet parser", - "Codec/Depayr/Network", - "Extracts MPEG4 video from RTP packets (RFC 3016)", - "Wim Taymans <wim@fluendo.com>" -}; +static GstElementDetails gst_rtp_mp4vdepay_details = +GST_ELEMENT_DETAILS ("RTP packet parser", + "Codec/Depayr/Network", + "Extracts MPEG4 video from RTP packets (RFC 3016)", + "Wim Taymans <wim@fluendo.com>"); /* RtpMP4VDepay signals and args */ enum diff --git a/gst/rtp/gstrtpmp4vpay.c b/gst/rtp/gstrtpmp4vpay.c index f08f10fb..59dae819 100644 --- a/gst/rtp/gstrtpmp4vpay.c +++ b/gst/rtp/gstrtpmp4vpay.c @@ -26,12 +26,11 @@ GST_DEBUG_CATEGORY (rtpmp4vpay_debug); #define GST_CAT_DEFAULT (rtpmp4vpay_debug) /* elementfactory information */ -static GstElementDetails gst_rtp_mp4vpay_details = { - "RTP packet parser", - "Codec/Payloader/Network", - "Payode MPEG4 video as RTP packets (RFC 3016)", - "Wim Taymans <wim@fluendo.com>" -}; +static GstElementDetails gst_rtp_mp4vpay_details = +GST_ELEMENT_DETAILS ("RTP packet parser", + "Codec/Payloader/Network", + "Payode MPEG4 video as RTP packets (RFC 3016)", + "Wim Taymans <wim@fluendo.com>"); static GstStaticPadTemplate gst_rtp_mp4v_pay_sink_template = GST_STATIC_PAD_TEMPLATE ("sink", diff --git a/gst/rtp/gstrtpmpadepay.c b/gst/rtp/gstrtpmpadepay.c index 046efe93..822a3d3d 100644 --- a/gst/rtp/gstrtpmpadepay.c +++ b/gst/rtp/gstrtpmpadepay.c @@ -22,12 +22,11 @@ #include "gstrtpmpadepay.h" /* elementfactory information */ -static GstElementDetails gst_rtp_mpadepay_details = { - "RTP packet parser", - "Codec/Depayr/Network", - "Extracts MPEG audio from RTP packets (RFC 2038)", - "Wim Taymans <wim@fluendo.com>" -}; +static GstElementDetails gst_rtp_mpadepay_details = +GST_ELEMENT_DETAILS ("RTP packet parser", + "Codec/Depayr/Network", + "Extracts MPEG audio from RTP packets (RFC 2038)", + "Wim Taymans <wim@fluendo.com>"); /* RtpMPADepay signals and args */ enum diff --git a/gst/rtp/gstrtpmpapay.c b/gst/rtp/gstrtpmpapay.c index 0979d3f2..1e60bb7e 100644 --- a/gst/rtp/gstrtpmpapay.c +++ b/gst/rtp/gstrtpmpapay.c @@ -23,12 +23,11 @@ #include "gstrtpmpapay.h" /* elementfactory information */ -static GstElementDetails gst_rtp_mpapay_details = { - "RTP packet parser", - "Codec/Payloader/Network", - "Payode MPEG audio as RTP packets (RFC 2038)", - "Wim Taymans <wim@fluendo.com>" -}; +static GstElementDetails gst_rtp_mpapay_details = +GST_ELEMENT_DETAILS ("RTP packet parser", + "Codec/Payloader/Network", + "Payode MPEG audio as RTP packets (RFC 2038)", + "Wim Taymans <wim@fluendo.com>"); static GstStaticPadTemplate gst_rtp_mpa_pay_sink_template = GST_STATIC_PAD_TEMPLATE ("sink", diff --git a/gst/rtp/gstrtppcmadepay.c b/gst/rtp/gstrtppcmadepay.c index d01a312e..2694ae62 100644 --- a/gst/rtp/gstrtppcmadepay.c +++ b/gst/rtp/gstrtppcmadepay.c @@ -23,12 +23,11 @@ #include "gstrtppcmadepay.h" /* elementfactory information */ -static GstElementDetails gst_rtp_pcmadepay_details = { - "RTP packet parser", - "Codec/Depayr/Network", - "Extracts PCMA audio from RTP packets", - "Edgard Lima <edgard.lima@indt.org.br>, Zeeshan Ali <zeenix@gmail.com>" -}; +static GstElementDetails gst_rtp_pcmadepay_details = +GST_ELEMENT_DETAILS ("RTP packet parser", + "Codec/Depayr/Network", + "Extracts PCMA audio from RTP packets", + "Edgard Lima <edgard.lima@indt.org.br>, Zeeshan Ali <zeenix@gmail.com>"); /* RtpPcmaDepay signals and args */ enum diff --git a/gst/rtp/gstrtppcmapay.c b/gst/rtp/gstrtppcmapay.c index bb99e700..b4526ce7 100644 --- a/gst/rtp/gstrtppcmapay.c +++ b/gst/rtp/gstrtppcmapay.c @@ -25,12 +25,11 @@ #include "gstrtppcmapay.h" /* elementfactory information */ -static GstElementDetails gst_rtp_pcma_pay_details = { - "RTP packet parser", - "Codec/Payloader/Network", - "Payload-encodes PCMA audio into a RTP packet", - "Edgard Lima <edgard.lima@indt.org.br>" -}; +static GstElementDetails gst_rtp_pcma_pay_details = +GST_ELEMENT_DETAILS ("RTP packet parser", + "Codec/Payloader/Network", + "Payload-encodes PCMA audio into a RTP packet", + "Edgard Lima <edgard.lima@indt.org.br>"); static GstStaticPadTemplate gst_rtp_pcma_pay_sink_template = GST_STATIC_PAD_TEMPLATE ("sink", diff --git a/gst/rtp/gstrtppcmudepay.c b/gst/rtp/gstrtppcmudepay.c index 0de704ce..fd02ee35 100644 --- a/gst/rtp/gstrtppcmudepay.c +++ b/gst/rtp/gstrtppcmudepay.c @@ -23,12 +23,11 @@ #include "gstrtppcmudepay.h" /* elementfactory information */ -static GstElementDetails gst_rtp_pcmudepay_details = { - "RTP packet parser", - "Codec/Depayr/Network", - "Extracts PCMU audio from RTP packets", - "Edgard Lima <edgard.lima@indt.org.br>, Zeeshan Ali <zeenix@gmail.com>" -}; +static GstElementDetails gst_rtp_pcmudepay_details = +GST_ELEMENT_DETAILS ("RTP packet parser", + "Codec/Depayr/Network", + "Extracts PCMU audio from RTP packets", + "Edgard Lima <edgard.lima@indt.org.br>, Zeeshan Ali <zeenix@gmail.com>"); /* RtpPcmuDepay signals and args */ enum diff --git a/gst/rtp/gstrtppcmupay.c b/gst/rtp/gstrtppcmupay.c index 67c40201..2ddbc436 100644 --- a/gst/rtp/gstrtppcmupay.c +++ b/gst/rtp/gstrtppcmupay.c @@ -25,12 +25,11 @@ #include "gstrtppcmupay.h" /* elementfactory information */ -static GstElementDetails gst_rtp_pcmu_pay_details = { - "RTP packet parser", - "Codec/Payloader/Network", - "Payload-encodes PCMU audio into a RTP packet", - "Edgard Lima <edgard.lima@indt.org.br>" -}; +static GstElementDetails gst_rtp_pcmu_pay_details = +GST_ELEMENT_DETAILS ("RTP packet parser", + "Codec/Payloader/Network", + "Payload-encodes PCMU audio into a RTP packet", + "Edgard Lima <edgard.lima@indt.org.br>"); static GstStaticPadTemplate gst_rtp_pcmu_pay_sink_template = GST_STATIC_PAD_TEMPLATE ("sink", diff --git a/gst/rtp/gstrtpspeexdepay.c b/gst/rtp/gstrtpspeexdepay.c index c0ff29b5..5858596c 100644 --- a/gst/rtp/gstrtpspeexdepay.c +++ b/gst/rtp/gstrtpspeexdepay.c @@ -21,12 +21,11 @@ #include "gstrtpspeexdepay.h" /* elementfactory information */ -static GstElementDetails gst_rtp_speexdepay_details = { - "RTP packet parser", - "Codec/Depayr/Network", - "Extracts Speex audio from RTP packets", - "Edgard Lima <edgard.lima@indt.org.br>" -}; +static GstElementDetails gst_rtp_speexdepay_details = +GST_ELEMENT_DETAILS ("RTP packet parser", + "Codec/Depayr/Network", + "Extracts Speex audio from RTP packets", + "Edgard Lima <edgard.lima@indt.org.br>"); /* RtpSPEEXDepay signals and args */ enum diff --git a/gst/rtp/gstrtpspeexpay.c b/gst/rtp/gstrtpspeexpay.c index ac4a3742..e954a2ce 100644 --- a/gst/rtp/gstrtpspeexpay.c +++ b/gst/rtp/gstrtpspeexpay.c @@ -23,12 +23,11 @@ #include "gstrtpspeexpay.h" /* elementfactory information */ -static GstElementDetails gst_rtp_speex_pay_details = { - "RTP packet parser", - "Codec/Payloader/Network", - "Payload-encodes Speex audio into a RTP packet", - "Edgard Lima <edgard.lima@indt.org.br>" -}; +static GstElementDetails gst_rtp_speex_pay_details = +GST_ELEMENT_DETAILS ("RTP packet parser", + "Codec/Payloader/Network", + "Payload-encodes Speex audio into a RTP packet", + "Edgard Lima <edgard.lima@indt.org.br>"); static GstStaticPadTemplate gst_rtp_speex_pay_sink_template = GST_STATIC_PAD_TEMPLATE ("sink", diff --git a/gst/smpte/gstsmpte.c b/gst/smpte/gstsmpte.c index 02cafb9a..cf08f1ea 100644 --- a/gst/smpte/gstsmpte.c +++ b/gst/smpte/gstsmpte.c @@ -26,12 +26,11 @@ #include "paint.h" /* elementfactory information */ -static GstElementDetails smpte_details = { - "SMPTE transitions", - "Filter/Editor/Video", - "Apply the standard SMPTE transitions on video images", - "Wim Taymans <wim.taymans@chello.be>" -}; +static GstElementDetails smpte_details = +GST_ELEMENT_DETAILS ("SMPTE transitions", + "Filter/Editor/Video", + "Apply the standard SMPTE transitions on video images", + "Wim Taymans <wim.taymans@chello.be>"); static GstStaticPadTemplate gst_smpte_src_template = GST_STATIC_PAD_TEMPLATE ("src", diff --git a/gst/videobox/gstvideobox.c b/gst/videobox/gstvideobox.c index 85e023bf..dc644748 100644 --- a/gst/videobox/gstvideobox.c +++ b/gst/videobox/gstvideobox.c @@ -79,7 +79,7 @@ struct _GstVideoBoxClass /* elementfactory information */ static GstElementDetails gst_video_box_details = -GST_ELEMENT_DETAILS ("video box filter", +GST_ELEMENT_DETAILS ("Video box filter", "Filter/Effect/Video", "Resizes a video by adding borders or cropping", "Wim Taymans <wim@fluendo.com>"); diff --git a/gst/videofilter/gstgamma.c b/gst/videofilter/gstgamma.c index fb47e4b6..62a2181e 100644 --- a/gst/videofilter/gstgamma.c +++ b/gst/videofilter/gstgamma.c @@ -138,7 +138,7 @@ static void gst_gamma_base_init (gpointer g_class) { static GstElementDetails gamma_details = - GST_ELEMENT_DETAILS ("Video Gamma Correction", + GST_ELEMENT_DETAILS ("Video gamma correction", "Filter/Effect/Video", "Adjusts gamma on a video stream", "Arwed v. Merkatz <v.merkatz@gmx.net"); diff --git a/gst/videofilter/gstvideobalance.c b/gst/videofilter/gstvideobalance.c index 58d098eb..deb3a553 100644 --- a/gst/videofilter/gstvideobalance.c +++ b/gst/videofilter/gstvideobalance.c @@ -57,7 +57,7 @@ #include <gst/interfaces/colorbalance.h> static GstElementDetails video_balance_details = -GST_ELEMENT_DETAILS ("Video Balance Control", +GST_ELEMENT_DETAILS ("Video balance", "Filter/Effect/Video", "Adjusts brightness, contrast, hue, saturation on a video stream", "David Schleef <ds@schleef.org>"); diff --git a/gst/videofilter/gstvideoflip.c b/gst/videofilter/gstvideoflip.c index e3e22e64..5bcb95e1 100644 --- a/gst/videofilter/gstvideoflip.c +++ b/gst/videofilter/gstvideoflip.c @@ -64,7 +64,7 @@ GST_DEBUG_CATEGORY (video_flip_debug); #define GST_CAT_DEFAULT video_flip_debug static GstElementDetails video_flip_details = -GST_ELEMENT_DETAILS ("Video Flipper", +GST_ELEMENT_DETAILS ("Video flipper", "Filter/Effect/Video", "Flips and rotates video", "David Schleef <ds@schleef.org>"); diff --git a/gst/videofilter/gstvideotemplate.c b/gst/videofilter/gstvideotemplate.c index ac0b3e6e..95414333 100644 --- a/gst/videofilter/gstvideotemplate.c +++ b/gst/videofilter/gstvideotemplate.c @@ -119,7 +119,7 @@ static void gst_videotemplate_base_init (gpointer g_class) { static GstElementDetails videotemplate_details = - GST_ELEMENT_DETAILS ("Video Filter Template", + GST_ELEMENT_DETAILS ("Video filter template", "Filter/Effect/Video", "Template for a video filter", "David Schleef <ds@schleef.org>"); diff --git a/gst/videomixer/videomixer.c b/gst/videomixer/videomixer.c index 03f685a3..b1cf4a57 100644 --- a/gst/videomixer/videomixer.c +++ b/gst/videomixer/videomixer.c @@ -399,7 +399,7 @@ gst_videomixer_pad_init (GstVideoMixerPad * mixerpad) /* elementfactory information */ static GstElementDetails gst_videomixer_details = -GST_ELEMENT_DETAILS ("video mixer", +GST_ELEMENT_DETAILS ("Video mixer", "Filter/Editor/Video", "Mix multiple video streams", "Wim Taymans <wim@fluendo.com>"); diff --git a/gst/wavenc/gstwavenc.c b/gst/wavenc/gstwavenc.c index 6b2fb973..f2eff530 100644 --- a/gst/wavenc/gstwavenc.c +++ b/gst/wavenc/gstwavenc.c @@ -70,7 +70,7 @@ struct wave_header }; static GstElementDetails gst_wavenc_details = -GST_ELEMENT_DETAILS ("WAV encoder", +GST_ELEMENT_DETAILS ("WAV audio muxer", "Codec/Muxer/Audio", "Encode raw audio into WAV", "Iain Holmes <iain@prettypeople.org>"); diff --git a/gst/wavparse/gstwavparse.c b/gst/wavparse/gstwavparse.c index a6aac5c3..2fa63f68 100644 --- a/gst/wavparse/gstwavparse.c +++ b/gst/wavparse/gstwavparse.c @@ -157,7 +157,7 @@ gst_wavparse_base_init (gpointer g_class) GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); GstPadTemplate *templ; static GstElementDetails gst_wavparse_details = - GST_ELEMENT_DETAILS (".wav demuxer", + GST_ELEMENT_DETAILS ("WAV audio demuxer", "Codec/Demuxer/Audio", "Parse a .wav file into raw audio", "Erik Walthinsen <omega@cse.ogi.edu>"); |