From 6d3429af34ed0b5905faf32d2f22b9db2451f116 Mon Sep 17 00:00:00 2001 From: Aaron Boxer Date: Mon, 2 Sep 2019 15:08:44 -0400 Subject: documentation: fixed a heap o' typos --- NEWS | 4 +-- docs/plugins/gst_plugins_cache.json | 46 +++++++++++++-------------- ext/aom/gstav1enc.c | 2 +- ext/assrender/gstassrender.c | 4 +-- ext/closedcaption/gstcea708decoder.c | 2 +- ext/closedcaption/gstceaccoverlay.c | 2 +- ext/closedcaption/raw_decoder.c | 2 +- ext/closedcaption/sliced.h | 2 +- ext/colormanagement/gstlcms.c | 2 +- ext/curl/gstcurlhttpsrc.h | 2 +- ext/dash/gstdashdemux.c | 14 ++++---- ext/dash/gstmpdparser.c | 2 +- ext/directfb/dfbvideosink.c | 2 +- ext/dtls/gstdtlsconnection.h | 2 +- ext/hls/gsthlsdemux.c | 4 +-- ext/kate/gstkatedec.c | 2 +- ext/kate/gstkateenc.c | 2 +- ext/ladspa/gstladspa.c | 2 +- ext/libmms/gstmms.c | 7 ++-- ext/lv2/gstlv2filter.c | 4 +-- ext/lv2/gstlv2utils.c | 4 +-- ext/mpeg2enc/gstmpeg2enc.cc | 2 +- ext/mpeg2enc/gstmpeg2encoptions.cc | 2 +- ext/neon/gstneonhttpsrc.c | 6 ++-- ext/opencv/MotionCells.cpp | 2 +- ext/opencv/gstcvdilate.cpp | 2 +- ext/opencv/gstcvdilateerode.cpp | 2 +- ext/opencv/gstcverode.cpp | 2 +- ext/opencv/gstcvsmooth.cpp | 2 +- ext/opencv/gstdewarp.cpp | 22 ++++++------- ext/opencv/gstdisparity.cpp | 2 +- ext/opencv/gstedgedetect.cpp | 2 +- ext/opencv/gstfaceblur.cpp | 4 +-- ext/opencv/gstfacedetect.cpp | 2 +- ext/opencv/gstgrabcut.cpp | 2 +- ext/opencv/gstretinex.cpp | 8 ++--- ext/opencv/gstsegmentation.cpp | 12 +++---- ext/opencv/gstskindetect.cpp | 2 +- ext/opencv/gsttextoverlay.cpp | 2 +- ext/resindvd/gstmpegdemux.c | 2 +- ext/resindvd/resindvdsrc.c | 2 +- ext/resindvd/rsninputselector.c | 2 +- ext/rtmp/gstrtmpsrc.c | 2 +- ext/soundtouch/gstpitch.cc | 2 +- ext/spandsp/gstdtmfdetect.c | 2 +- ext/spandsp/gsttonegeneratesrc.c | 2 +- ext/srt/gstsrtobject.c | 2 +- ext/srtp/gstsrtpdec.c | 8 ++--- ext/srtp/gstsrtpenc.c | 6 ++-- ext/ttml/subtitle.h | 4 +-- ext/ttml/ttmlparse.c | 2 +- ext/vulkan/vkdownload.c | 2 +- ext/vulkan/vkfullscreenrender.c | 2 +- ext/vulkan/vkshader.c | 4 +-- ext/vulkan/vkupload.c | 2 +- ext/vulkan/vkviewconvert.c | 2 +- ext/wayland/gstwaylandsink.c | 2 +- ext/wayland/wlbuffer.c | 2 +- ext/webp/gstwebpdec.c | 2 +- ext/webrtc/gstwebrtcbin.c | 12 +++---- ext/webrtc/transportreceivebin.c | 2 +- ext/webrtc/webrtcsdp.c | 2 +- ext/webrtcdsp/gstwebrtcdsp.cpp | 6 ++-- ext/webrtcdsp/gstwebrtcechoprobe.cpp | 2 +- ext/webrtcdsp/gstwebrtcechoprobe.h | 2 +- ext/wildmidi/gstwildmididec.c | 2 +- ext/wpe/gstwpesrc.cpp | 2 +- ext/x265/gstx265enc.c | 4 +-- ext/zbar/gstzbar.c | 4 +-- gst-libs/gst/adaptivedemux/gstadaptivedemux.c | 4 +-- gst-libs/gst/audio/gstnonstreamaudiodecoder.c | 4 +-- gst-libs/gst/codecparsers/gsth264parser.c | 4 +-- gst-libs/gst/codecparsers/gsth265parser.c | 18 +++++------ gst-libs/gst/codecparsers/gsth265parser.h | 6 ++-- gst-libs/gst/codecparsers/gstmpeg4parser.c | 12 +++---- gst-libs/gst/codecparsers/gstmpeg4parser.h | 2 +- gst-libs/gst/codecparsers/gstvc1parser.h | 2 +- gst-libs/gst/codecparsers/gstvp9parser.c | 2 +- gst-libs/gst/codecparsers/gstvp9parser.h | 8 ++--- gst-libs/gst/interfaces/photography.c | 6 ++-- gst-libs/gst/mpegts/gst-dvb-descriptor.c | 2 +- gst-libs/gst/mpegts/gst-dvb-descriptor.h | 2 +- gst-libs/gst/mpegts/gstmpegtsdescriptor.c | 4 +-- gst-libs/gst/player/gstplayer-media-info.h | 2 +- gst-libs/gst/player/gstplayer.c | 2 +- gst-libs/gst/uridownloader/gstfragment.c | 2 +- gst-libs/gst/uridownloader/gsturidownloader.c | 2 +- gst-libs/gst/vulkan/gstvkinstance.c | 8 ++--- gst-libs/gst/vulkan/gstvkswapper.c | 2 +- gst-libs/gst/vulkan/gstvkwindow.c | 2 +- gst-libs/gst/vulkan/win32/gstvkwindow_win32.c | 2 +- gst-libs/gst/wayland/wayland.c | 6 ++-- gst/asfmux/gstasfmux.c | 22 ++++++------- gst/asfmux/gstasfobjects.c | 26 +++++++-------- gst/audiovisualizers/gstsynaescope.c | 2 +- gst/autoconvert/gstautoconvert.c | 2 +- gst/autoconvert/gstautovideoconvert.c | 4 +-- gst/autoconvert/plugin.c | 2 +- gst/bayer/gstbayer2rgb.c | 2 +- gst/camerabin2/camerabin2-src.txt | 2 +- gst/camerabin2/camerabingeneral.c | 2 +- gst/camerabin2/gstcamerabin2.c | 2 +- gst/camerabin2/gstviewfinderbin.c | 2 +- gst/camerabin2/gstwrappercamerabinsrc.c | 8 ++--- gst/debugutils/fpsdisplaysink.c | 2 +- gst/debugutils/gstdebugspy.c | 2 +- gst/dvbsuboverlay/dvb-sub.c | 4 +-- gst/dvbsuboverlay/dvb-sub.h | 2 +- gst/dvdspu/Notes.txt | 4 +-- gst/dvdspu/gstspu-vobsub-render.c | 2 +- gst/festival/gstfestival.c | 2 +- gst/frei0r/frei0r.h | 6 ++-- gst/frei0r/gstfrei0r.c | 2 +- gst/gaudieffects/gstburn.c | 2 +- gst/gaudieffects/gstchromium.c | 2 +- gst/gaudieffects/gstdilate.c | 2 +- gst/gaudieffects/gstdodge.c | 2 +- gst/gaudieffects/gstexclusion.c | 2 +- gst/gaudieffects/gstgaussblur.c | 2 +- gst/gaudieffects/gstsolarize.c | 2 +- gst/geometrictransform/gstbulge.c | 2 +- gst/geometrictransform/gststretch.c | 2 +- gst/geometrictransform/gsttunnel.c | 2 +- gst/id3tag/id3tag.c | 2 +- gst/ivfparse/gstivfparse.c | 2 +- gst/jpegformat/gstjpegparse.c | 6 ++-- gst/librfb/rfbdecoder.c | 8 ++--- gst/mpegdemux/gstmpegdemux.c | 2 +- gst/mpegpsmux/psmux.c | 2 +- gst/mpegpsmux/psmuxstream.c | 4 +-- gst/mpegpsmux/psmuxstream.h | 2 +- gst/mpegtsdemux/TODO | 6 ++-- gst/mpegtsdemux/mpegtsbase.c | 2 +- gst/mpegtsdemux/mpegtsbase.h | 2 +- gst/mpegtsdemux/mpegtspacketizer.c | 4 +-- gst/mpegtsdemux/tsdemux.c | 2 +- gst/mpegtsmux/gstmpegtsmux.c | 2 +- gst/mpegtsmux/tsmux/tsmux.c | 4 +-- gst/mpegtsmux/tsmux/tsmuxstream.c | 2 +- gst/mxf/mxfdms1.c | 2 +- gst/netsim/gstnetsim.c | 2 +- gst/pcapparse/gstirtspparse.c | 2 +- gst/pnm/gstpnmdec.c | 2 +- gst/removesilence/gstremovesilence.c | 6 ++-- gst/rist/gstristrtxsend.c | 2 +- gst/rist/gstristsink.c | 2 +- gst/rist/gstroundrobin.c | 2 +- gst/rtp/gstrtpsrc.c | 4 +-- gst/videoparsers/gsth264parse.c | 8 ++--- gst/videoparsers/gsth265parse.c | 2 +- gst/videoparsers/gstmpeg4videoparse.c | 2 +- gst/videoparsers/gstmpegvideoparse.c | 4 +-- gst/videoparsers/h263parse.c | 2 +- gst/vmnc/vmncdec.c | 4 +-- hooks/pre-commit.hook | 2 +- sys/androidmedia/gstahcsrc.c | 2 +- sys/androidmedia/gstamcvideodec.c | 2 +- sys/androidmedia/gstamcvideoenc.c | 8 ++--- sys/androidmedia/gstjniutils.c | 6 ++-- sys/applemedia/avfvideosrc.m | 8 ++--- sys/applemedia/vtenc.c | 2 +- sys/d3d11/gstd3d11device.c | 2 +- sys/d3d11/meson.build | 2 +- sys/d3dvideosink/d3dhelpers.c | 2 +- sys/d3dvideosink/d3dvideosink.c | 2 +- sys/decklink/gstdecklink.cpp | 8 ++--- sys/decklink/gstdecklinkvideosink.cpp | 4 +-- sys/decklink/gstdecklinkvideosrc.cpp | 4 +-- sys/directsound/gstdirectsoundsrc.c | 2 +- sys/dshowdecwrapper/gstdshowaudiodec.cpp | 8 ++--- sys/dshowdecwrapper/gstdshowvideodec.cpp | 12 +++---- sys/dshowdecwrapper/gstdshowvideodec.h | 2 +- sys/dshowsrcwrapper/gstdshow.cpp | 4 +-- sys/dshowsrcwrapper/gstdshowaudiosrc.cpp | 2 +- sys/dshowsrcwrapper/gstdshowvideosrc.cpp | 8 ++--- sys/dshowvideosink/dshowvideosink.cpp | 8 ++--- sys/dvb/camtransport.c | 2 +- sys/dvb/dvbbasebin.c | 8 ++--- sys/dvb/gstdvbsrc.c | 12 +++---- sys/ipcpipeline/gstipcpipelinesink.c | 6 ++-- sys/ipcpipeline/gstipcslavepipeline.c | 2 +- sys/kms/gstkmssink.c | 6 ++-- sys/msdk/gstmsdkallocator_libva.c | 2 +- sys/msdk/gstmsdkbufferpool.c | 2 +- sys/msdk/gstmsdkenc.c | 2 +- sys/msdk/gstmsdkh264enc.c | 2 +- sys/msdk/gstmsdksystemmemory.c | 2 +- sys/msdk/gstmsdkvc1dec.c | 2 +- sys/msdk/gstmsdkvideomemory.c | 6 ++-- sys/msdk/gstmsdkvpp.c | 10 +++--- sys/msdk/gstmsdkvpputil.c | 2 +- sys/msdk/msdk.c | 2 +- sys/nvcodec/gstcudautils.c | 6 ++-- sys/nvcodec/gstnvbaseenc.c | 8 ++--- sys/uvch264/gstuvch264_src.c | 7 ++-- sys/uvch264/gstuvch264deviceprovider.c | 2 +- sys/wasapi/gstwasapisink.c | 2 +- sys/winks/gstksvideodevice.c | 2 +- sys/winks/ksvideohelpers.c | 2 +- sys/winscreencap/gstdx9screencapsrc.c | 4 +-- sys/winscreencap/gstgdiscreencapsrc.c | 2 +- tests/check/elements/adaptive_demux_engine.h | 2 +- tests/check/elements/avtpcvfpay.c | 2 +- tests/check/elements/dash_mpd.c | 2 +- tests/check/elements/hlsdemux_m3u8.c | 14 ++++---- tests/check/elements/jifmux.c | 2 +- tests/check/elements/nvdec.c | 2 +- tests/check/libs/insertbin.c | 2 +- tests/check/libs/player.c | 2 +- tests/check/pipelines/ipcpipeline.c | 4 +-- tests/examples/ipcpipeline/ipc-play.c | 2 +- tests/examples/playout.c | 2 +- tools/gst-transcoder.c | 6 ++-- tools/utils.c | 2 +- 214 files changed, 428 insertions(+), 426 deletions(-) diff --git a/NEWS b/NEWS index 816a3aae8..817de1372 100644 --- a/NEWS +++ b/NEWS @@ -353,7 +353,7 @@ New element features and additions - rtpjitterbuffer has improved end-of-stream handling -- rtpmp4vpay will be prefered over rtpmp4gpay for MPEG-4 video in +- rtpmp4vpay will be preferred over rtpmp4gpay for MPEG-4 video in autoplugging scenarios now - rtspsrc now allows applications to send RTSP SET_PARAMETER and @@ -1208,7 +1208,7 @@ Cerbero has seen a number of improvements: used in order to re-produce a specific build. To set a manifest, you can set manifest = 'my_manifest.xml' in your configuration file, or use the --manifest command line option. The command line option will - take precendence over anything specific in the configuration file. + take precedence over anything specific in the configuration file. - The new build-deps command can be used to build only the dependencies of a recipe, without the recipe itself. diff --git a/docs/plugins/gst_plugins_cache.json b/docs/plugins/gst_plugins_cache.json index 81ba28b5a..7d08a108d 100644 --- a/docs/plugins/gst_plugins_cache.json +++ b/docs/plugins/gst_plugins_cache.json @@ -554,7 +554,7 @@ "writable": true }, "min-quantizer": { - "blurb": "Mininum (best quality) quantizer", + "blurb": "Minimum (best quality) quantizer", "construct": false, "construct-only": false, "default": "0", @@ -2166,7 +2166,7 @@ "url": "Unknown package origin" }, "autoconvert": { - "description": "Selects convertor element based on caps", + "description": "Selects converter element based on caps", "elements": { "autoconvert": { "author": "Olivier Crete ", @@ -2180,7 +2180,7 @@ "GObject" ], "klass": "Generic/Bin", - "long-name": "Select convertor based on caps", + "long-name": "Select converter based on caps", "name": "autoconvert", "pad-templates": { "sink": { @@ -2240,7 +2240,7 @@ }, "autovideoconvert": { "author": "Benjamin Gaignard ", - "description": "Selects the right color space convertor based on the caps", + "description": "Selects the right color space converter based on the caps", "hierarchy": [ "GstAutoVideoConvert", "GstBin", @@ -2250,7 +2250,7 @@ "GObject" ], "klass": "Generic/Bin", - "long-name": "Select color space convertor based on caps", + "long-name": "Select color space converter based on caps", "name": "autovideoconvert", "pad-templates": { "sink": { @@ -4994,7 +4994,7 @@ "value": "1" }, { - "desc": "Calculate and cache color replacement values on first occurence", + "desc": "Calculate and cache color replacement values on first occurrence", "name": "cached", "value": "2" } @@ -8406,7 +8406,7 @@ "writable": true }, "signal-fps-measurements": { - "blurb": "If the fps-measurements signal should be emited.", + "blurb": "If the fps-measurements signal should be emitted.", "construct": false, "construct-only": false, "default": "false", @@ -11592,7 +11592,7 @@ "writable": true }, "frequency": { - "blurb": "Center frequency to tune into. Measured in kHz for the satellite distribution standars and Hz for all the rest", + "blurb": "Center frequency to tune into. Measured in kHz for the satellite distribution standards and Hz for all the rest", "construct": false, "construct-only": false, "default": "0", @@ -13072,7 +13072,7 @@ "writable": true }, "frequency": { - "blurb": "Center frequency to tune into. Measured in kHz for the satellite distribution standars and Hz for all the rest", + "blurb": "Center frequency to tune into. Measured in kHz for the satellite distribution standards and Hz for all the rest", "construct": false, "construct-only": false, "default": "0", @@ -22730,7 +22730,7 @@ }, "properties": { "brightness": { - "blurb": "Brightnesss of image", + "blurb": "Brightness of image", "construct": false, "construct-only": false, "default": "0.75", @@ -32846,7 +32846,7 @@ "writable": true }, "connector-properties": { - "blurb": "Additionnal properties for the connector", + "blurb": "Additional properties for the connector", "construct": false, "construct-only": false, "type-name": "GstStructure", @@ -32949,7 +32949,7 @@ "writable": true }, "plane-properties": { - "blurb": "Additionnal properties for the plane", + "blurb": "Additional properties for the plane", "construct": false, "construct-only": false, "type-name": "GstStructure", @@ -35570,7 +35570,7 @@ "writable": true }, "unit-coeff-elim": { - "blurb": "How agressively small-unit picture blocks should be skipped", + "blurb": "How aggressively small-unit picture blocks should be skipped", "construct": false, "construct-only": false, "default": "0", @@ -39102,12 +39102,12 @@ "value": "0" }, { - "desc": "Dewarped image is splitted in two images displayed one below the other", + "desc": "Dewarped image is split into two images displayed one below the other", "name": "double-panorama", "value": "1" }, { - "desc": "Dewarped image is splitted in four images dysplayed as a quad view", + "desc": "Dewarped image is split into four images displayed as a quad view", "name": "quad-view", "value": "2" } @@ -40262,7 +40262,7 @@ "GObject" ], "klass": "Filter/Effect/Video", - "long-name": "Retinex image colour enhacement", + "long-name": "Retinex image colour enhancement", "name": "retinex", "pad-templates": { "sink": { @@ -42041,7 +42041,7 @@ "writable": true }, "remove": { - "blurb": "Set to true to remove silence from the stream, false otherwhise", + "blurb": "Set to true to remove silence from the stream, false otherwise", "construct": false, "construct-only": false, "default": "false", @@ -42616,7 +42616,7 @@ "writable": true }, "bonding-addresses": { - "blurb": "Comma (,) seperated list of
: to send to. ", + "blurb": "Comma (,) separated list of
: to send to. ", "construct": false, "construct-only": false, "default": "localhost:5004", @@ -45623,7 +45623,7 @@ "writable": true }, "repeat": { - "blurb": "Whether to repeat specified tone indefinitly", + "blurb": "Whether to repeat specified tone indefinitely", "construct": false, "construct-only": false, "default": "false", @@ -45936,7 +45936,7 @@ "writable": true }, "poll-timeout": { - "blurb": "Return poll wait after timeout miliseconds (-1 = infinite)", + "blurb": "Return poll wait after timeout milliseconds (-1 = infinite)", "construct": false, "construct-only": false, "default": "-1", @@ -46200,7 +46200,7 @@ "writable": true }, "poll-timeout": { - "blurb": "Return poll wait after timeout miliseconds (-1 = infinite)", + "blurb": "Return poll wait after timeout milliseconds (-1 = infinite)", "construct": false, "construct-only": false, "default": "-1", @@ -49134,7 +49134,7 @@ "writable": true }, "drop": { - "blurb": "Drop data untill valid configuration data is received either in the stream or through caps", + "blurb": "Drop data until valid configuration data is received either in the stream or through caps", "construct": true, "construct-only": false, "default": "true", @@ -51905,7 +51905,7 @@ "GObject" ], "klass": "Generic/Audio", - "long-name": "Accoustic Echo Canceller probe", + "long-name": "Acoustic Echo Canceller probe", "name": "webrtcechoprobe", "pad-templates": { "sink": { diff --git a/ext/aom/gstav1enc.c b/ext/aom/gstav1enc.c index 0fc441a4b..2c7be2800 100644 --- a/ext/aom/gstav1enc.c +++ b/ext/aom/gstav1enc.c @@ -331,7 +331,7 @@ gst_av1_enc_class_init (GstAV1EncClass * klass) g_object_class_install_property (gobject_class, PROP_MIN_QUANTIZER, g_param_spec_uint ("min-quantizer", "Minimum (best quality) quantizer", - "Mininum (best quality) quantizer", + "Minimum (best quality) quantizer", 0, G_MAXUINT, DEFAULT_MIN_QUANTIZER, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); diff --git a/ext/assrender/gstassrender.c b/ext/assrender/gstassrender.c index e3886eebe..e99458bf2 100644 --- a/ext/assrender/gstassrender.c +++ b/ext/assrender/gstassrender.c @@ -832,7 +832,7 @@ gst_ass_render_negotiate (GstAssRender * render, GstCaps * caps) } if (upstream_has_meta || caps_has_meta) { - /* Send caps immediatly, it's needed by GstBaseTransform to get a reply + /* Send caps immediately, it's needed by GstBaseTransform to get a reply * from allocation query */ ret = gst_pad_set_caps (render->srcpad, overlay_caps); @@ -875,7 +875,7 @@ gst_ass_render_negotiate (GstAssRender * render, GstCaps * caps) render->window_height = height; gst_ass_render_update_render_size (render); - /* For backward compatbility, we will prefer bliting if downstream + /* For backward compatibility, we will prefer bliting if downstream * allocation does not support the meta. In other case we will prefer * attaching, and will fail the negotiation in the unlikely case we are * force to blit, but format isn't supported. */ diff --git a/ext/closedcaption/gstcea708decoder.c b/ext/closedcaption/gstcea708decoder.c index bc2eb6d78..b2e9f98b6 100644 --- a/ext/closedcaption/gstcea708decoder.c +++ b/ext/closedcaption/gstcea708decoder.c @@ -1021,7 +1021,7 @@ gst_cea708dec_show_pango_window (Cea708Dec * decoder, guint window_id) } if (!display) { - GST_DEBUG ("No visible text, skiping rendering"); + GST_DEBUG ("No visible text, skipping rendering"); return; } diff --git a/ext/closedcaption/gstceaccoverlay.c b/ext/closedcaption/gstceaccoverlay.c index 0b02d41c6..0d1b3b597 100644 --- a/ext/closedcaption/gstceaccoverlay.c +++ b/ext/closedcaption/gstceaccoverlay.c @@ -1468,7 +1468,7 @@ gst_cea_cc_overlay_process_packet (GstCeaCcOverlay * overlay, guint8 cc_type) * @overlay: The #GstCeaCcOverlay * @user_data: The #GstMpegVideoCCData to decode * - * decode closed caption data and render when neccesary + * decode closed caption data and render when necessary * in struct GstMpegVideoCCData type's user_data's data field, 3 byte's data construct 1 cc_data_pkt * * A cc_data_pkt is 3 bytes as follows: diff --git a/ext/closedcaption/raw_decoder.c b/ext/closedcaption/raw_decoder.c index 9e7415a55..c6d968312 100644 --- a/ext/closedcaption/raw_decoder.c +++ b/ext/closedcaption/raw_decoder.c @@ -1130,7 +1130,7 @@ vbi3_raw_decoder_services (vbi3_raw_decoder * rd) * $return * Set of data services $rd will be decode after the change. * Can be zero if the sampling parameters are invalid or some - * other error occured. + * other error occurred. */ /* Attn: strict must be int for compatibility with libzvbi 0.2 (-1 == 0) */ vbi_service_set diff --git a/ext/closedcaption/sliced.h b/ext/closedcaption/sliced.h index e5c24b66e..36f922dbf 100644 --- a/ext/closedcaption/sliced.h +++ b/ext/closedcaption/sliced.h @@ -320,7 +320,7 @@ typedef unsigned int vbi_service_set; */ typedef struct { /** - * A @ref VBI_SLICED_ symbol identifying the data service. Under cirumstances + * A @ref VBI_SLICED_ symbol identifying the data service. Under circumstances * (see VBI_SLICED_TELETEXT_B) this can be a set of VBI_SLICED_ symbols. */ uint32_t id; diff --git a/ext/colormanagement/gstlcms.c b/ext/colormanagement/gstlcms.c index acb9de99e..fc94697cc 100644 --- a/ext/colormanagement/gstlcms.c +++ b/ext/colormanagement/gstlcms.c @@ -99,7 +99,7 @@ gst_lcms_lookup_method_get_type (void) "Precalculate lookup table (takes a long time getting READY)", "precalculated"}, {GST_LCMS_LOOKUP_METHOD_CACHED, - "Calculate and cache color replacement values on first occurence", + "Calculate and cache color replacement values on first occurrence", "cached"}, {0, NULL, NULL}, }; diff --git a/ext/curl/gstcurlhttpsrc.h b/ext/curl/gstcurlhttpsrc.h index 4bf0849e9..36d1de4f7 100644 --- a/ext/curl/gstcurlhttpsrc.h +++ b/ext/curl/gstcurlhttpsrc.h @@ -98,7 +98,7 @@ typedef enum #ifdef CURL_VERSION_HTTP2 GSTCURL_HTTP_VERSION_2_0, #endif - GSTCURL_HTTP_NOT, /* For future use, incase not HTTP protocol! */ + GSTCURL_HTTP_NOT, /* For future use if HTTP protocol not used! */ GSTCURL_HTTP_VERSION_MAX } GstCurlHttpVersion; diff --git a/ext/dash/gstdashdemux.c b/ext/dash/gstdashdemux.c index d011f2310..f550b30ce 100644 --- a/ext/dash/gstdashdemux.c +++ b/ext/dash/gstdashdemux.c @@ -145,7 +145,7 @@ * When requested (with GST_SEEK_FLAG_TRICKMODE_KEY_UNIT) and if the format * is supported (ISOBMFF profiles), dashdemux can download only keyframes * in order to provide fast forward/reverse playback without exceeding the - * available bandwith/cpu/memory usage. + * available bandwidth/cpu/memory usage. * * This is done in two parts: * 1) Parsing ISOBMFF atoms to detect the location of keyframes and only @@ -178,7 +178,7 @@ * * The main reason for doing keyframe-only downloads is for trick-modes * (i.e. being able to do fast reverse/forward playback with limited - * bandwith/cpu/memory). + * bandwidth/cpu/memory). * * Downloading all keyframes might not be the optimal solution, especially * at high playback rates, since the time taken to download the keyframe @@ -252,13 +252,13 @@ * buffering_level. * * The smaller the buffering level is (i.e. the closer we are between - * current and downstream), the more aggresively we skip forward (and + * current and downstream), the more aggressively we skip forward (and * guarantee the keyframe will be downloaded, decoded and displayed in * time). And the higher the buffering level, the least aggresivelly * we need to skip forward (and therefore display more frames per * second). * - * Right now the threshold for agressive switching is set to 3 + * Right now the threshold for aggressive switching is set to 3 * average_download_time. Below that buffering level we set the target time * to at least 3 average_download_time distance beyond the * qos_earliest_time. @@ -1135,7 +1135,7 @@ gst_dash_demux_get_video_input_caps (GstDashDemux * demux, if (stream == NULL) return NULL; - /* if bitstreamSwitching is true we dont need to swich pads on resolution change */ + /* if bitstreamSwitching is true we don't need to switch pads on resolution change */ if (!gst_mpd_client_get_bitstream_switching_flag (stream)) { width = gst_mpd_client_get_video_stream_width (stream); height = gst_mpd_client_get_video_stream_height (stream); @@ -1169,7 +1169,7 @@ gst_dash_demux_get_audio_input_caps (GstDashDemux * demux, if (stream == NULL) return NULL; - /* if bitstreamSwitching is true we dont need to swich pads on rate/channels change */ + /* if bitstreamSwitching is true we don't need to switch pads on rate/channels change */ if (!gst_mpd_client_get_bitstream_switching_flag (stream)) { channels = gst_mpd_client_get_audio_stream_num_channels (stream); rate = gst_mpd_client_get_audio_stream_rate (stream); @@ -1923,7 +1923,7 @@ gst_dash_demux_stream_get_target_time (GstDashDemux * dashdemux, "MUST SKIP to at least %" GST_TIME_FORMAT " (was %" GST_TIME_FORMAT ")", GST_TIME_ARGS (ret), GST_TIME_ARGS (min_position)); } else if (diff < 4 * dashstream->average_download_time) { - /* Go forward a bit less aggresively (and at most 1s forward) */ + /* Go forward a bit less aggressively (and at most 1s forward) */ ret = gst_segment_position_from_running_time (&stream->segment, GST_FORMAT_TIME, min_running + MIN (GST_SECOND, 2 * dashstream->average_download_time)); diff --git a/ext/dash/gstmpdparser.c b/ext/dash/gstmpdparser.c index b75626cd7..371329667 100644 --- a/ext/dash/gstmpdparser.c +++ b/ext/dash/gstmpdparser.c @@ -4706,7 +4706,7 @@ gst_mpd_client_get_adaptation_sets_for_period (GstMpdClient * client, * to decide which one to use, so we have to resolve them all here */ for (list = period->period->AdaptationSets; list; - /* advanced explicitely below */ ) { + /* advanced explicitly below */ ) { GstAdaptationSetNode *adapt_set = (GstAdaptationSetNode *) list->data; GList *new_adapt_sets = NULL, *prev, *next; diff --git a/ext/directfb/dfbvideosink.c b/ext/directfb/dfbvideosink.c index 2e44872c2..ae042e6eb 100644 --- a/ext/directfb/dfbvideosink.c +++ b/ext/directfb/dfbvideosink.c @@ -52,7 +52,7 @@ * application, that means it won't handle navigation events and won't resize * the #GstDfbVideoSink:surface to fit video * frames geometry. Application has to implement the necessary code to grab - * informations about the negotiated geometry and resize there + * information about the negotiated geometry and resize there * #GstDfbVideoSink:surface accordingly. * * For both modes the element implements a buffer pool allocation system to diff --git a/ext/dtls/gstdtlsconnection.h b/ext/dtls/gstdtlsconnection.h index 6260b935b..20751d537 100644 --- a/ext/dtls/gstdtlsconnection.h +++ b/ext/dtls/gstdtlsconnection.h @@ -107,7 +107,7 @@ void gst_dtls_connection_close(GstDtlsConnection *); void gst_dtls_connection_set_send_callback(GstDtlsConnection *, GClosure *); /* - * Processes data that has been recevied, the transformation is done in-place. + * Processes data that has been received, the transformation is done in-place. * Returns the length of the plaintext data that was decoded, if no data is available, 0<= will be returned. */ gint gst_dtls_connection_process(GstDtlsConnection *, gpointer ptr, gint len); diff --git a/ext/hls/gsthlsdemux.c b/ext/hls/gsthlsdemux.c index 80cecf42d..b5fe60e91 100644 --- a/ext/hls/gsthlsdemux.c +++ b/ext/hls/gsthlsdemux.c @@ -567,7 +567,7 @@ gst_hls_demux_set_current_variant (GstHLSDemux * hlsdemux, if (hlsdemux->current_variant != NULL) { gint i; - //#warning FIXME: Synching fragments across variants + //#warning FIXME: Syncing fragments across variants // should be done based on media timestamps, and // discont-sequence-numbers not sequence numbers. variant->m3u8->sequence_position = @@ -647,7 +647,7 @@ gst_hls_demux_process_manifest (GstAdaptiveDemux * demux, GstBuffer * buf) gst_hls_demux_set_current_variant (hlsdemux, variant); // FIXME: inline? } - /* get the selected media playlist (unless the inital list was one already) */ + /* get the selected media playlist (unless the initial list was one already) */ if (!hlsdemux->master->is_simple) { GError *err = NULL; diff --git a/ext/kate/gstkatedec.c b/ext/kate/gstkatedec.c index a2cec0970..dc781b190 100644 --- a/ext/kate/gstkatedec.c +++ b/ext/kate/gstkatedec.c @@ -58,7 +58,7 @@ * * ## Example pipeline * - * This explicitely decodes a Kate stream: + * This explicitly decodes a Kate stream: * |[ * gst-launch-1.0 filesrc location=test.ogg ! oggdemux ! katedec ! fakesink silent=TRUE * ]| diff --git a/ext/kate/gstkateenc.c b/ext/kate/gstkateenc.c index d2cbeb0c7..2e62cb87b 100644 --- a/ext/kate/gstkateenc.c +++ b/ext/kate/gstkateenc.c @@ -198,7 +198,7 @@ gst_kate_enc_class_init (GstKateEncClass * klass) 0, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, ARG_KEEPALIVE_MIN_TIME, - g_param_spec_float ("keepalive-min-time", "Keepalive mimimum time", + g_param_spec_float ("keepalive-min-time", "Keepalive minimum time", "Minimum time to emit keepalive packets (0 disables keepalive packets)", 0.0f, FLT_MAX, DEFAULT_KEEPALIVE_MIN_TIME, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); diff --git a/ext/ladspa/gstladspa.c b/ext/ladspa/gstladspa.c index 92a6838a0..d19297c2b 100644 --- a/ext/ladspa/gstladspa.c +++ b/ext/ladspa/gstladspa.c @@ -103,7 +103,7 @@ * ## Example Sink/Audio/LADSPA line with this plugins * |[ * gst-launch-1.0 autoaudiosrc ! ladspa-cmt-so-amp-mono gain=2 ! ladspa-caps-so-plate ! ladspa-tap-echo-so-tap-stereo-echo l-delay=500 r-haas-delay=500 ! tee name=myT myT. ! audioconvert ! audioresample ! queue ! ladspasink-cmt-so-null-ai myT. ! audioconvert ! audioresample ! queue ! goom ! videoconvert ! xvimagesink pixel-aspect-ratio=3/4 - * ]| Get audio input, filter it trhough Mono Amplifier, CAPS Plate LADSPA and TAP Stereo Echo, explicitily anulate audio with Null (Audio Output), and play a visualization (recommended hearphones). + * ]| Get audio input, filter it trhough Mono Amplifier, CAPS Plate LADSPA and TAP Stereo Echo, explicitly anulate audio with Null (Audio Output), and play a visualization (recommended hearphones). * */ diff --git a/ext/libmms/gstmms.c b/ext/libmms/gstmms.c index 56243a2b1..18f9ad85f 100644 --- a/ext/libmms/gstmms.c +++ b/ext/libmms/gstmms.c @@ -267,8 +267,9 @@ gst_mms_do_seek (GstBaseSrc * src, GstSegment * segment) return FALSE; } start = mmsx_get_current_pos (mmssrc->connection); - GST_INFO_OBJECT (mmssrc, "sought to %" GST_TIME_FORMAT ", offset after " - "seek: %" G_GINT64_FORMAT, GST_TIME_ARGS (segment->start), start); + GST_INFO_OBJECT (mmssrc, + "performed seek to %" GST_TIME_FORMAT ", offset after " "seek: %" + G_GINT64_FORMAT, GST_TIME_ARGS (segment->start), start); } else if (segment->format == GST_FORMAT_BYTES) { start = mmsx_seek (NULL, mmssrc->connection, segment->start, SEEK_SET); /* mmsx_seek will close and reopen the connection when seeking with the @@ -277,7 +278,7 @@ gst_mms_do_seek (GstBaseSrc * src, GstSegment * segment) GST_DEBUG_OBJECT (mmssrc, "connection broken during seek"); return FALSE; } - GST_INFO_OBJECT (mmssrc, "sought to: %" G_GINT64_FORMAT " bytes, " + GST_INFO_OBJECT (mmssrc, "performed seek to: %" G_GINT64_FORMAT " bytes, " "result: %" G_GINT64_FORMAT, segment->start, start); } else { GST_DEBUG_OBJECT (mmssrc, "unsupported seek segment format: %s", diff --git a/ext/lv2/gstlv2filter.c b/ext/lv2/gstlv2filter.c index 03181e5c9..dcd76c6b1 100644 --- a/ext/lv2/gstlv2filter.c +++ b/ext/lv2/gstlv2filter.c @@ -171,7 +171,7 @@ gst_lv2_filter_finalize (GObject * object) } #if 0 -/* Convert an LV2 port role to a Gst channel positon +/* Convert an LV2 port role to a Gst channel position * WARNING: If the group has only a single port, * GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER will be returned for pg:centerRole * (which is used by LV2 for mono groups), but this is not correct. In this @@ -291,7 +291,7 @@ gst_lv2_filter_setup (GstAudioFilter * gsp, const GstAudioInfo * info) if (!gst_lv2_setup (&self->lv2, GST_AUDIO_INFO_RATE (info))) goto no_instance; - /* FIXME Handle audio channel positionning while negotiating CAPS */ + /* FIXME Handle audio channel positioning while negotiating CAPS */ #if 0 gint i; /* set input group pad audio channel position */ diff --git a/ext/lv2/gstlv2utils.c b/ext/lv2/gstlv2utils.c index 57986812f..7198a7cdf 100644 --- a/ext/lv2/gstlv2utils.c +++ b/ext/lv2/gstlv2utils.c @@ -847,7 +847,7 @@ gst_lv2_class_init (GstLV2Class * lv2_class, GType type) optional_pred); GstLV2Port desc = { j, GST_LV2_PORT_AUDIO, -1, }; LilvNodes *lv2group = lilv_port_get (lv2plugin, port, group_pred); - /* FIXME Handle channels positionning + /* FIXME Handle channels positioning * GstAudioChannelPosition position = GST_AUDIO_CHANNEL_POSITION_INVALID; */ if (lv2group) { @@ -862,7 +862,7 @@ gst_lv2_class_init (GstLV2Class * lv2_class, GType type) group->ports = g_array_new (FALSE, TRUE, sizeof (GstLV2Port)); } - /* FIXME Handle channels positionning + /* FIXME Handle channels positioning position = GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT; sub_values = lilv_port_get_value (lv2plugin, port, designation_pred); if (lilv_nodes_size (sub_values) > 0) { diff --git a/ext/mpeg2enc/gstmpeg2enc.cc b/ext/mpeg2enc/gstmpeg2enc.cc index 9bec3ef07..bdcafe99c 100644 --- a/ext/mpeg2enc/gstmpeg2enc.cc +++ b/ext/mpeg2enc/gstmpeg2enc.cc @@ -44,7 +44,7 @@ * In particular, default property values are dependent on the format, * and can even be forcibly restrained to certain pre-sets (and thereby ignored). * Note that the (S)VCD profiles also restrict the image size, so some scaling - * may be needed to accomodate this. The so-called generic profiles (as used + * may be needed to accommodate this. The so-called generic profiles (as used * in the example above) allow most parameters to be adjusted. * * |[ diff --git a/ext/mpeg2enc/gstmpeg2encoptions.cc b/ext/mpeg2enc/gstmpeg2encoptions.cc index b27a70f3d..5cfda38ba 100644 --- a/ext/mpeg2enc/gstmpeg2encoptions.cc +++ b/ext/mpeg2enc/gstmpeg2encoptions.cc @@ -375,7 +375,7 @@ GstMpeg2EncOptions::initProperties (GObjectClass * klass) (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS))); g_object_class_install_property (klass, ARG_UNIT_COEFF_ELIM, g_param_spec_int ("unit-coeff-elim", "Unit coefficience elimination", - "How agressively small-unit picture blocks should be skipped", + "How aggressively small-unit picture blocks should be skipped", -40, 40, 0, (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS))); diff --git a/ext/neon/gstneonhttpsrc.c b/ext/neon/gstneonhttpsrc.c index a0bf63118..7364cfa5d 100644 --- a/ext/neon/gstneonhttpsrc.c +++ b/ext/neon/gstneonhttpsrc.c @@ -298,7 +298,7 @@ gst_neonhttp_src_set_property (GObject * object, guint prop_id, goto done; } if (!gst_neonhttp_src_set_proxy (src, proxy)) { - GST_WARNING ("badly formated proxy"); + GST_WARNING ("badly formatted proxy"); goto done; } break; @@ -314,7 +314,7 @@ gst_neonhttp_src_set_property (GObject * object, guint prop_id, goto done; } if (!gst_neonhttp_src_set_location (src, location, NULL)) { - GST_WARNING ("badly formated location"); + GST_WARNING ("badly formatted location"); goto done; } break; @@ -429,7 +429,7 @@ gst_neonhttp_src_get_property (GObject * object, guint prop_id, static void oom_callback (void) { - GST_ERROR ("memory exeception in neon"); + GST_ERROR ("memory exception in neon"); } static GstFlowReturn diff --git a/ext/opencv/MotionCells.cpp b/ext/opencv/MotionCells.cpp index afa772fc6..85c72286a 100644 --- a/ext/opencv/MotionCells.cpp +++ b/ext/opencv/MotionCells.cpp @@ -408,7 +408,7 @@ MotionCells::calculateMotionPercentInCell (int p_row, int p_col, cntpixelsnum++; if ((((uchar *) (m_pbwImage.data + m_pbwImage.step[0] * i))[j]) > 0) { cntmotionpixelnum++; - if (cntmotionpixelnum >= thresholdmotionpixelnum) { //we dont needs calculate anymore + if (cntmotionpixelnum >= thresholdmotionpixelnum) { //we don't need to calculate anymore *p_motionarea = cntmotionpixelnum; return (cntmotionpixelnum / cntpixelsnum); } diff --git a/ext/opencv/gstcvdilate.cpp b/ext/opencv/gstcvdilate.cpp index defe2d464..6e450f975 100644 --- a/ext/opencv/gstcvdilate.cpp +++ b/ext/opencv/gstcvdilate.cpp @@ -88,7 +88,7 @@ gst_cv_dilate_class_init (GstCvDilateClass * klass) /* initialize the new element * instantiate pads and add them to element - * set pad calback functions + * set pad callback functions * initialize instance structure */ static void diff --git a/ext/opencv/gstcvdilateerode.cpp b/ext/opencv/gstcvdilateerode.cpp index 0d8ee3e9c..794783c76 100644 --- a/ext/opencv/gstcvdilateerode.cpp +++ b/ext/opencv/gstcvdilateerode.cpp @@ -149,7 +149,7 @@ gst_cv_dilate_erode_class_init (GstCvDilateErodeClass * klass) /* initialize the new element * instantiate pads and add them to element - * set pad calback functions + * set pad callback functions * initialize instance structure */ static void diff --git a/ext/opencv/gstcverode.cpp b/ext/opencv/gstcverode.cpp index 28551b004..4569275e2 100644 --- a/ext/opencv/gstcverode.cpp +++ b/ext/opencv/gstcverode.cpp @@ -88,7 +88,7 @@ gst_cv_erode_class_init (GstCvErodeClass * klass) /* initialize the new element * instantiate pads and add them to element - * set pad calback functions + * set pad callback functions * initialize instance structure */ static void diff --git a/ext/opencv/gstcvsmooth.cpp b/ext/opencv/gstcvsmooth.cpp index 02c995d5d..0e22db69a 100644 --- a/ext/opencv/gstcvsmooth.cpp +++ b/ext/opencv/gstcvsmooth.cpp @@ -237,7 +237,7 @@ gst_cv_smooth_class_init (GstCvSmoothClass * klass) /* initialize the new element * instantiate pads and add them to element - * set pad calback functions + * set pad callback functions * initialize instance structure */ static void diff --git a/ext/opencv/gstdewarp.cpp b/ext/opencv/gstdewarp.cpp index 3c123c573..15860c26a 100644 --- a/ext/opencv/gstdewarp.cpp +++ b/ext/opencv/gstdewarp.cpp @@ -90,9 +90,9 @@ dewarp_display_mode_get_type (void) static GType dewarp_display_mode_type = 0; static const GEnumValue dewarp_display_mode[] = { {GST_DEWARP_DISPLAY_PANORAMA, "Single panorama image", "single-panorama"}, - {GST_DEWARP_DISPLAY_DOUBLE_PANORAMA, "Dewarped image is splitted in two " + {GST_DEWARP_DISPLAY_DOUBLE_PANORAMA, "Dewarped image is split in two " "images displayed one below the other", "double-panorama"}, - {GST_DEWARP_DISPLAY_QUAD_VIEW, "Dewarped image is splitted in four images " + {GST_DEWARP_DISPLAY_QUAD_VIEW, "Dewarped image is split in four images " "dysplayed as a quad view", "quad-view"}, {0, NULL, NULL}, @@ -301,7 +301,7 @@ gst_dewarp_set_property (GObject * object, guint prop_id, filter->x_center = v; filter->need_map_update = TRUE; need_reconfigure = TRUE; - GST_LOG_OBJECT (filter, "x center setted to %f", filter->x_center); + GST_LOG_OBJECT (filter, "x center set to %f", filter->x_center); } break; case PROP_Y_CENTER: @@ -310,7 +310,7 @@ gst_dewarp_set_property (GObject * object, guint prop_id, filter->y_center = v; filter->need_map_update = TRUE; need_reconfigure = TRUE; - GST_LOG_OBJECT (filter, "y center setted to %f", filter->y_center); + GST_LOG_OBJECT (filter, "y center set to %f", filter->y_center); } break; case PROP_INNER_RADIUS: @@ -319,7 +319,7 @@ gst_dewarp_set_property (GObject * object, guint prop_id, filter->inner_radius = v; filter->need_map_update = TRUE; need_reconfigure = TRUE; - GST_LOG_OBJECT (filter, "inner radius setted to %f", + GST_LOG_OBJECT (filter, "inner radius set to %f", filter->inner_radius); } break; @@ -329,7 +329,7 @@ gst_dewarp_set_property (GObject * object, guint prop_id, filter->outer_radius = v; filter->need_map_update = TRUE; need_reconfigure = TRUE; - GST_LOG_OBJECT (filter, "outer radius setted to %f", + GST_LOG_OBJECT (filter, "outer radius set to %f", filter->outer_radius); } break; @@ -339,7 +339,7 @@ gst_dewarp_set_property (GObject * object, guint prop_id, filter->remap_correction_x = v; filter->need_map_update = TRUE; need_reconfigure = TRUE; - GST_LOG_OBJECT (filter, "x remap correction setted to %f", + GST_LOG_OBJECT (filter, "x remap correction set to %f", filter->remap_correction_x); } break; @@ -349,13 +349,13 @@ gst_dewarp_set_property (GObject * object, guint prop_id, filter->remap_correction_y = v; filter->need_map_update = TRUE; need_reconfigure = TRUE; - GST_LOG_OBJECT (filter, "y remap correction setted to %f", + GST_LOG_OBJECT (filter, "y remap correction set to %f", filter->remap_correction_y); } break; case PROP_INTERPOLATION_MODE: filter->interpolation_mode = g_value_get_enum (value); - GST_LOG_OBJECT (filter, "interpolation mode setted to %" G_GINT32_FORMAT, + GST_LOG_OBJECT (filter, "interpolation mode set to %" G_GINT32_FORMAT, filter->interpolation_mode); break; case PROP_DISPLAY_MODE: @@ -363,7 +363,7 @@ gst_dewarp_set_property (GObject * object, guint prop_id, if (disp_mode != filter->display_mode) { filter->display_mode = disp_mode; need_reconfigure = TRUE; - GST_LOG_OBJECT (filter, "display mode setted to %" G_GINT32_FORMAT, + GST_LOG_OBJECT (filter, "display mode set to %" G_GINT32_FORMAT, filter->display_mode); } break; @@ -510,7 +510,7 @@ gst_dewarp_calculate_dimensions (GstDewarp * filter, GstPadDirection direction, } /* if outer_radius and inner radius are very close then width and height - could be 0, we assume passtrough in this case + could be 0, we assume passthrough in this case */ if (G_UNLIKELY (*out_width == 0) || G_UNLIKELY (*out_height == 0)) { GST_WARNING_OBJECT (filter, diff --git a/ext/opencv/gstdisparity.cpp b/ext/opencv/gstdisparity.cpp index e584c26c6..212bcb829 100644 --- a/ext/opencv/gstdisparity.cpp +++ b/ext/opencv/gstdisparity.cpp @@ -370,7 +370,7 @@ gst_disparity_handle_sink_event (GstPad * pad, GST_INFO_OBJECT (pad, " Negotiating caps via event %" GST_PTR_FORMAT, caps); if (!gst_pad_has_current_caps (fs->srcpad)) { - /* Init image info (widht, height, etc) and all OpenCV matrices */ + /* Init image info (width, height, etc) and all OpenCV matrices */ initialise_disparity (fs, info.width, info.height, info.finfo->n_components); diff --git a/ext/opencv/gstedgedetect.cpp b/ext/opencv/gstedgedetect.cpp index 04a4681ba..9ef4e10c6 100644 --- a/ext/opencv/gstedgedetect.cpp +++ b/ext/opencv/gstedgedetect.cpp @@ -169,7 +169,7 @@ gst_edge_detect_class_init (GstEdgeDetectClass * klass) /* initialize the new element * instantiate pads and add them to element - * set pad calback functions + * set pad callback functions * initialize instance structure */ static void diff --git a/ext/opencv/gstfaceblur.cpp b/ext/opencv/gstfaceblur.cpp index 7de576dcd..0dd4df6be 100644 --- a/ext/opencv/gstfaceblur.cpp +++ b/ext/opencv/gstfaceblur.cpp @@ -210,7 +210,7 @@ gst_face_blur_class_init (GstFaceBlurClass * klass) DEFAULT_SCALE_FACTOR, (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS))); g_object_class_install_property (gobject_class, PROP_MIN_NEIGHBORS, - g_param_spec_int ("min-neighbors", "Mininum neighbors", + g_param_spec_int ("min-neighbors", "Minimum neighbors", "Minimum number (minus 1) of neighbor rectangles that makes up " "an object", 0, G_MAXINT, DEFAULT_MIN_NEIGHBORS, (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS))); @@ -235,7 +235,7 @@ gst_face_blur_class_init (GstFaceBlurClass * klass) /* initialize the new element * instantiate pads and add them to element - * set pad calback functions + * set pad callback functions * initialize instance structure */ static void diff --git a/ext/opencv/gstfacedetect.cpp b/ext/opencv/gstfacedetect.cpp index e6a32df39..0ef4c32d2 100644 --- a/ext/opencv/gstfacedetect.cpp +++ b/ext/opencv/gstfacedetect.cpp @@ -320,7 +320,7 @@ gst_face_detect_class_init (GstFaceDetectClass * klass) 1.1, 10.0, DEFAULT_SCALE_FACTOR, (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS))); g_object_class_install_property (gobject_class, PROP_MIN_NEIGHBORS, - g_param_spec_int ("min-neighbors", "Mininum neighbors", + g_param_spec_int ("min-neighbors", "Minimum neighbors", "Minimum number (minus 1) of neighbor rectangles that makes up " "an object", 0, G_MAXINT, DEFAULT_MIN_NEIGHBORS, (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS))); diff --git a/ext/opencv/gstgrabcut.cpp b/ext/opencv/gstgrabcut.cpp index 4c32c1029..1c0b8fecd 100644 --- a/ext/opencv/gstgrabcut.cpp +++ b/ext/opencv/gstgrabcut.cpp @@ -203,7 +203,7 @@ IF nothing is present, then nothing is done.", "Miguel Casas-Sanchez "); @@ -171,7 +171,7 @@ gst_retinex_class_init (GstRetinexClass * klass) /* initialize the new element * instantiate pads and add them to element - * set pad calback functions + * set pad callback functions * initialize instance structure */ static void @@ -277,7 +277,7 @@ gst_retinex_transform_ip (GstOpencvVideoFilter * filter, GstBuffer * buf, img.convertTo (retinex->cvA, retinex->cvA.type ()); log (retinex->cvA, retinex->cvB); - /* Compute log of blured image */ + /* Compute log of blurred image */ filter_size = (int) floor (sigma * 6) / 2; filter_size = filter_size * 2 + 1; @@ -294,7 +294,7 @@ gst_retinex_transform_ip (GstOpencvVideoFilter * filter, GstBuffer * buf, } /* Multiscale retinex restoration. The image and a set of filtered images are converted to the log domain and subtracted from the original with some set - of weights. Typicaly called with three equally weighted scales of fine, + of weights. Typically called with three equally weighted scales of fine, medium and wide standard deviations. O = Log(I) - sum_i [ wi * Log(H(I)) ] where O is the output, H is a gaussian 2d filter and I is the input image diff --git a/ext/opencv/gstsegmentation.cpp b/ext/opencv/gstsegmentation.cpp index e0401d0e7..b28409a8c 100644 --- a/ext/opencv/gstsegmentation.cpp +++ b/ext/opencv/gstsegmentation.cpp @@ -7,7 +7,7 @@ * and adapted. Its license reads: * "Oct. 3, 2008 * Right to use this code in any way you want without warrenty, support or - * any guarentee of it working. " + * any guarantee of it working. " * * * Permission is hereby granted, free of charge, to any person obtaining a @@ -72,7 +72,7 @@ * mixture model for real-time tracking with shadow detection", Proc. 2nd * European Workshop on Advanced Video-Based Surveillance Systems, 2001 * [5] http://opencv.itseez.com/modules/video/doc/motion_analysis_and_object_tracking.html#backgroundsubtractormog2 - * [6] Z.Zivkovic, "Improved adaptive Gausian mixture model for background + * [6] Z.Zivkovic, "Improved adaptive Gaussian mixture model for background * subtraction", International Conference Pattern Recognition, UK, August, 2004. * [7] Z.Zivkovic, F. van der Heijden, "Efficient Adaptive Density Estimation * per Image Pixel for the Task of Background Subtraction", Pattern Recognition @@ -230,7 +230,7 @@ gst_segmentation_class_init (GstSegmentationClass * klass) /* initialize the new element * instantiate pads and add them to element - * set pad calback functions + * set pad callback functions * initialize instance structure */ static void @@ -421,7 +421,7 @@ gst_segmentation_transform_ip (GstOpencvVideoFilter * cvfilter, * OpenCV MOG2 implements the algorithm described in [2] and [3]. * * [1] http://opencv.itseez.com/modules/video/doc/motion_analysis_and_object_tracking.html#backgroundsubtractormog2 - * [2] Z.Zivkovic, "Improved adaptive Gausian mixture model for background + * [2] Z.Zivkovic, "Improved adaptive Gaussian mixture model for background * subtraction", International Conference Pattern Recognition, UK, Aug 2004. * [3] Z.Zivkovic, F. van der Heijden, "Efficient Adaptive Density Estimation * per Image Pixel for the Task of Background Subtraction", Pattern @@ -630,7 +630,7 @@ clear_stale_entries (codeBook * c) maxMod Add this (possibly negative) number onto max level when determining if new pixel is foreground - minMod Subract this (possibly negative) number from + minMod Subtract this (possibly negative) number from min level when determining if new pixel is foreground NOTES: @@ -770,7 +770,7 @@ run_mog2_iteration (GstSegmentation * filter) [2] and [3]. [1] http://opencv.itseez.com/modules/video/doc/motion_analysis_and_object_tracking.html#backgroundsubtractormog2 - [2] Z.Zivkovic, "Improved adaptive Gausian mixture model for background + [2] Z.Zivkovic, "Improved adaptive Gaussian mixture model for background subtraction", International Conference Pattern Recognition, UK, August, 2004. [3] Z.Zivkovic, F. van der Heijden, "Efficient Adaptive Density Estimation per Image Pixel for the Task of Background Subtraction", Pattern Recognition diff --git a/ext/opencv/gstskindetect.cpp b/ext/opencv/gstskindetect.cpp index 60d0697be..105e83495 100644 --- a/ext/opencv/gstskindetect.cpp +++ b/ext/opencv/gstskindetect.cpp @@ -168,7 +168,7 @@ gst_skin_detect_class_init (GstSkinDetectClass * klass) /* initialize the new element * instantiate pads and add them to element - * set pad calback functions + * set pad callback functions * initialize instance structure */ static void diff --git a/ext/opencv/gsttextoverlay.cpp b/ext/opencv/gsttextoverlay.cpp index b8e2be300..950087b64 100644 --- a/ext/opencv/gsttextoverlay.cpp +++ b/ext/opencv/gsttextoverlay.cpp @@ -217,7 +217,7 @@ gst_opencv_text_overlay_class_init (GstOpencvTextOverlayClass * klass) /* initialize the new element * instantiate pads and add them to element - * set pad calback functions + * set pad callback functions * initialize instance structure */ static void diff --git a/ext/resindvd/gstmpegdemux.c b/ext/resindvd/gstmpegdemux.c index a35a6a411..02ce48a53 100644 --- a/ext/resindvd/gstmpegdemux.c +++ b/ext/resindvd/gstmpegdemux.c @@ -2087,7 +2087,7 @@ gst_flups_demux_is_pes_sync (guint32 sync) ((sync & 0xe0) == 0xc0) || ((sync & 0xf0) == 0xe0); } -/* If we can pull that's prefered */ +/* If we can pull that's preferred */ static gboolean gst_flups_demux_sink_activate (GstPad * sinkpad, GstObject * parent) { diff --git a/ext/resindvd/resindvdsrc.c b/ext/resindvd/resindvdsrc.c index f18816019..b4b8f9258 100644 --- a/ext/resindvd/resindvdsrc.c +++ b/ext/resindvd/resindvdsrc.c @@ -2827,7 +2827,7 @@ rsn_dvdsrc_do_seek (GstBaseSrc * bsrc, GstSegment * segment) gboolean ret = FALSE; if (segment->format == rsndvd_format || src->first_seek) { - /* The internal format has alread served its purpose of waking + /* The internal format has already served its purpose of waking * everything up and flushing, we just need to step to the next * data block (below) so we know our new position */ ret = TRUE; diff --git a/ext/resindvd/rsninputselector.c b/ext/resindvd/rsninputselector.c index 4542edec3..debee91ec 100644 --- a/ext/resindvd/rsninputselector.c +++ b/ext/resindvd/rsninputselector.c @@ -1201,7 +1201,7 @@ gst_input_selector_class_init (RsnInputSelectorClass * klass) * * The active pad may push more buffers than what is currently displayed/consumed * and when changing pads those buffers will be discarded and the only way to - * reactivate that pad without loosing the already consumed buffers is to enable cache. + * reactivate that pad without losing the already consumed buffers is to enable cache. */ g_object_class_install_property (gobject_class, PROP_CACHE_BUFFERS, g_param_spec_boolean ("cache-buffers", "Cache Buffers", diff --git a/ext/rtmp/gstrtmpsrc.c b/ext/rtmp/gstrtmpsrc.c index 0ad97abef..1db02e278 100644 --- a/ext/rtmp/gstrtmpsrc.c +++ b/ext/rtmp/gstrtmpsrc.c @@ -579,7 +579,7 @@ success: /* This is set here so that the call to create() above doesn't clear it */ src->discont = TRUE; - GST_DEBUG_OBJECT (src, "Seek to %" GST_TIME_FORMAT " successfull", + GST_DEBUG_OBJECT (src, "Seek to %" GST_TIME_FORMAT " successful", GST_TIME_ARGS (segment->start)); return TRUE; diff --git a/ext/soundtouch/gstpitch.cc b/ext/soundtouch/gstpitch.cc index 89bab3f07..9ab0d1d7f 100644 --- a/ext/soundtouch/gstpitch.cc +++ b/ext/soundtouch/gstpitch.cc @@ -669,7 +669,7 @@ gst_pitch_src_query (GstPad * pad, GstObject * parent, GstQuery * query) /* this function returns FALSE if not enough data is known to transform the * segment into proper downstream values. If the function does return false * the segment should be stalled until enough information is available. - * If the funtion returns TRUE, event will be replaced by the new downstream + * If the function returns TRUE, event will be replaced by the new downstream * compatible event. */ static gboolean diff --git a/ext/spandsp/gstdtmfdetect.c b/ext/spandsp/gstdtmfdetect.c index df7fc7ef1..6adf37153 100644 --- a/ext/spandsp/gstdtmfdetect.c +++ b/ext/spandsp/gstdtmfdetect.c @@ -34,7 +34,7 @@ * * gint `type` (0-1): The application uses this field to specify which of the two methods * specified in RFC 2833 to use. The value should be 0 for tones and 1 for * named events. Tones are specified by their frequencies and events are - * specfied by their number. This element can only take events as input. + * specified by their number. This element can only take events as input. * Do not confuse with "method" which specified the output. * * gint `number` (0-16): The event number. * * gint `method` (2): This field will always been 2 (ie sound) from this element. diff --git a/ext/spandsp/gsttonegeneratesrc.c b/ext/spandsp/gsttonegeneratesrc.c index c80679927..341aeab5a 100644 --- a/ext/spandsp/gsttonegeneratesrc.c +++ b/ext/spandsp/gsttonegeneratesrc.c @@ -139,7 +139,7 @@ gst_tone_generate_src_class_init (GstToneGenerateSrcClass * klass) g_object_class_install_property (gobject_class, PROP_REPEAT, g_param_spec_boolean ("repeat", "Repeat the specified tone period ", - "Whether to repeat specified tone indefinitly", DEFAULT_REPEAT, + "Whether to repeat specified tone indefinitely", DEFAULT_REPEAT, G_PARAM_READWRITE)); gst_element_class_add_static_pad_template (gstelement_class, diff --git a/ext/srt/gstsrtobject.c b/ext/srt/gstsrtobject.c index cbc3cfd5f..4ae8a4dc9 100644 --- a/ext/srt/gstsrtobject.c +++ b/ext/srt/gstsrtobject.c @@ -429,7 +429,7 @@ gst_srt_object_install_properties_helper (GObjectClass * gobject_class) */ g_object_class_install_property (gobject_class, PROP_POLL_TIMEOUT, g_param_spec_int ("poll-timeout", "Poll timeout", - "Return poll wait after timeout miliseconds (-1 = infinite)", -1, + "Return poll wait after timeout milliseconds (-1 = infinite)", -1, G_MAXINT32, GST_SRT_DEFAULT_POLL_TIMEOUT, G_PARAM_READWRITE | GST_PARAM_MUTABLE_READY | G_PARAM_STATIC_STRINGS)); diff --git a/ext/srtp/gstsrtpdec.c b/ext/srtp/gstsrtpdec.c index 47ebfae0b..33880bc9e 100644 --- a/ext/srtp/gstsrtpdec.c +++ b/ext/srtp/gstsrtpdec.c @@ -292,7 +292,7 @@ gst_srtp_dec_class_init (GstSrtpDecClass * klass) * @gstsrtpdec: the element on which the signal is emitted * @ssrc: The unique SSRC of the stream * - * Signal emited to get the parameters relevant to stream + * Signal emitted to get the parameters relevant to stream * with @ssrc. User should provide the key and the RTP and * RTCP encryption ciphers and authentication, and return * them wrapped in a GstCaps. @@ -318,7 +318,7 @@ gst_srtp_dec_class_init (GstSrtpDecClass * klass) * @gstsrtpdec: the element on which the signal is emitted * @ssrc: The unique SSRC of the stream * - * Signal emited when the stream with @ssrc has reached the + * Signal emitted when the stream with @ssrc has reached the * soft limit of utilisation of it's master encryption key. * User should provide a new key and new RTP and RTCP encryption * ciphers and authentication, and return them wrapped in a @@ -333,7 +333,7 @@ gst_srtp_dec_class_init (GstSrtpDecClass * klass) * @gstsrtpdec: the element on which the signal is emitted * @ssrc: The unique SSRC of the stream * - * Signal emited when the stream with @ssrc has reached the + * Signal emitted when the stream with @ssrc has reached the * hard limit of utilisation of it's master encryption key. * User should provide a new key and new RTP and RTCP encryption * ciphers and authentication, and return them wrapped in a @@ -361,7 +361,7 @@ gst_srtp_dec_class_init (GstSrtpDecClass * klass) /* initialize the new element * instantiate pads and add them to element - * set pad calback functions + * set pad callback functions * initialize instance structure */ static void diff --git a/ext/srtp/gstsrtpenc.c b/ext/srtp/gstsrtpenc.c index ae6b450ab..d677afcce 100644 --- a/ext/srtp/gstsrtpenc.c +++ b/ext/srtp/gstsrtpenc.c @@ -56,7 +56,7 @@ * An application can request multiple RTP and RTCP pads to protect, * but every sink pad requested must receive packets from the same * source (identical SSRC). If a packet received contains a different - * SSRC, a warning is emited and the valid SSRC is forced on the packet. + * SSRC, a warning is emitted and the valid SSRC is forced on the packet. * * This element uses libsrtp library. When receiving the first packet, * the library is initialized with a new stream (based on the SSRC). It @@ -335,7 +335,7 @@ gst_srtp_enc_class_init (GstSrtpEncClass * klass) * GstSrtpEnc::soft-limit: * @gstsrtpenc: the element on which the signal is emitted * - * Signal emited when the stream with @ssrc has reached the soft + * Signal emitted when the stream with @ssrc has reached the soft * limit of utilisation of it's master encryption key. User should * provide a new key by setting the #GstSrtpEnc:key property. */ @@ -484,7 +484,7 @@ done: return ret; } -/* Release ressources and set default values +/* Release resources and set default values */ static void gst_srtp_enc_reset_no_lock (GstSrtpEnc * filter) diff --git a/ext/ttml/subtitle.h b/ext/ttml/subtitle.h index cf67fd4ef..c0a1641b2 100644 --- a/ext/ttml/subtitle.h +++ b/ext/ttml/subtitle.h @@ -127,7 +127,7 @@ struct _GstSubtitleColor { * @GST_SUBTITLE_TEXT_DIRECTION_RTL: Text direction is right-to-left. * * Defines the progression direction of unicode text that is being treated by - * the unicode bidirectional algorithm as embedded or overidden (see + * the unicode bidirectional algorithm as embedded or overridden (see * http://unicode.org/reports/tr9/ for more details of the unicode * bidirectional algorithm). */ @@ -269,7 +269,7 @@ typedef enum { /** * GstSubtitleStyleSet: * @text_direction: Defines the direction of text that has been declared by the - * #GstSubtitleStyleSet:unicode_bidi attribute to be embbedded or overridden. + * #GstSubtitleStyleSet:unicode_bidi attribute to be embedded or overridden. * Applies to both #GstSubtitleBlocks and #GstSubtitleElements. * @font_family: The name of the font family that should be used to render the * text of an inline element. Applies only to #GstSubtitleElements. diff --git a/ext/ttml/ttmlparse.c b/ext/ttml/ttmlparse.c index e097644fb..102ac26de 100644 --- a/ext/ttml/ttmlparse.c +++ b/ext/ttml/ttmlparse.c @@ -1297,7 +1297,7 @@ ttml_handle_element_whitespace (GNode * node, gpointer data) gunichar u = g_utf8_get_char (c); gint nbytes = g_unichar_to_utf8 (u, buf); - /* Repace each newline or tab with a space. */ + /* Replace each newline or tab with a space. */ if (nbytes == 1 && (buf[0] == TTML_CHAR_LF || buf[0] == TTML_CHAR_TAB)) { *c = ' '; buf[0] = TTML_CHAR_SPACE; diff --git a/ext/vulkan/vkdownload.c b/ext/vulkan/vkdownload.c index fa9fa4902..13b41b78c 100644 --- a/ext/vulkan/vkdownload.c +++ b/ext/vulkan/vkdownload.c @@ -634,7 +634,7 @@ gst_vulkan_download_change_state (GstElement * element, if (!gst_vulkan_ensure_element_data (element, NULL, &vk_download->instance)) { GST_ELEMENT_ERROR (vk_download, RESOURCE, NOT_FOUND, - ("Failed to retreive vulkan instance"), (NULL)); + ("Failed to retrieve vulkan instance"), (NULL)); return GST_STATE_CHANGE_FAILURE; } if (!gst_vulkan_device_run_context_query (GST_ELEMENT (vk_download), diff --git a/ext/vulkan/vkfullscreenrender.c b/ext/vulkan/vkfullscreenrender.c index b627e943b..5de6a1bd2 100644 --- a/ext/vulkan/vkfullscreenrender.c +++ b/ext/vulkan/vkfullscreenrender.c @@ -729,7 +729,7 @@ gst_vulkan_full_screen_render_start (GstBaseTransform * bt) if (!gst_vulkan_ensure_element_data (GST_ELEMENT (bt), NULL, &render->instance)) { GST_ELEMENT_ERROR (render, RESOURCE, NOT_FOUND, - ("Failed to retreive vulkan instance"), (NULL)); + ("Failed to retrieve vulkan instance"), (NULL)); return FALSE; } if (!gst_vulkan_device_run_context_query (GST_ELEMENT (render), diff --git a/ext/vulkan/vkshader.c b/ext/vulkan/vkshader.c index e444e7fa9..dc9cff715 100644 --- a/ext/vulkan/vkshader.c +++ b/ext/vulkan/vkshader.c @@ -53,11 +53,11 @@ _vk_create_shader (GstVulkanDevice * device, gchar * code, gsize size, g_return_val_if_fail (first_word == SPIRV_MAGIC_NUMBER_NE || first_word == SPIRV_MAGIC_NUMBER_OE, NULL); if (first_word == SPIRV_MAGIC_NUMBER_OE) { - /* endianess swap... */ + /* endianness swap... */ guint32 *old_code = (guint32 *) code; gsize i; - GST_DEBUG ("performaing endianess conversion on spirv shader of size %" + GST_DEBUG ("performaing endianness conversion on spirv shader of size %" G_GSIZE_FORMAT, size); new_code = g_new0 (guint32, size / 4); diff --git a/ext/vulkan/vkupload.c b/ext/vulkan/vkupload.c index 7b1b3b1eb..c0f220f30 100644 --- a/ext/vulkan/vkupload.c +++ b/ext/vulkan/vkupload.c @@ -1352,7 +1352,7 @@ gst_vulkan_upload_change_state (GstElement * element, GstStateChange transition) case GST_STATE_CHANGE_READY_TO_PAUSED: if (!gst_vulkan_ensure_element_data (element, NULL, &vk_upload->instance)) { GST_ELEMENT_ERROR (vk_upload, RESOURCE, NOT_FOUND, - ("Failed to retreive vulkan instance"), (NULL)); + ("Failed to retrieve vulkan instance"), (NULL)); return GST_STATE_CHANGE_FAILURE; } if (!gst_vulkan_device_run_context_query (GST_ELEMENT (vk_upload), diff --git a/ext/vulkan/vkviewconvert.c b/ext/vulkan/vkviewconvert.c index da46b8838..2e60285f6 100644 --- a/ext/vulkan/vkviewconvert.c +++ b/ext/vulkan/vkviewconvert.c @@ -1604,7 +1604,7 @@ fixate_size (GstVulkanViewConvert * viewconvert, goto done; } - /* If all this failed, keep the height that was nearest to the orignal + /* If all this failed, keep the height that was nearest to the original * height and the nearest possible width. This changes the DAR but * there's not much else to do here. */ diff --git a/ext/wayland/gstwaylandsink.c b/ext/wayland/gstwaylandsink.c index bab57fd97..9e0d4d4b9 100644 --- a/ext/wayland/gstwaylandsink.c +++ b/ext/wayland/gstwaylandsink.c @@ -795,7 +795,7 @@ gst_wayland_sink_show_frame (GstVideoSink * vsink, GstBuffer * buffer) gst_buffer_pool_config_set_params (config, caps, sink->video_info.size, 2, 0); - /* This is a video pool, it should not fail with basic setings */ + /* This is a video pool, it should not fail with basic settings */ if (!gst_buffer_pool_set_config (sink->pool, config) || !gst_buffer_pool_set_active (sink->pool, TRUE)) goto activate_failed; diff --git a/ext/wayland/wlbuffer.c b/ext/wayland/wlbuffer.c index 21214604f..74d62162f 100644 --- a/ext/wayland/wlbuffer.c +++ b/ext/wayland/wlbuffer.c @@ -57,7 +57,7 @@ * holds a reference to the GstWlBuffer, but without having an actual reference. * When we kill the display, there is no way for the GstWlBuffer, the associated * GstBuffer and the GstBufferPool to get destroyed, so we are going to leak a - * fair ammount of memory. + * fair amount of memory. * * Normally, this rarely happens, because the compositor releases buffers * almost immediately and when waylandsink stops, they are already released. diff --git a/ext/webp/gstwebpdec.c b/ext/webp/gstwebpdec.c index 85bb5bf36..2b9c2466e 100644 --- a/ext/webp/gstwebpdec.c +++ b/ext/webp/gstwebpdec.c @@ -380,7 +380,7 @@ gst_webp_dec_update_src_caps (GstWebPDec * dec, GstMapInfo * map_info) if (features.width < MIN_WIDTH || features.width > MAX_WIDTH || features.height < MIN_HEIGHT || features.height > MAX_HEIGHT) { - GST_ERROR_OBJECT (dec, "Dimensions of the frame is unspported by libwebp"); + GST_ERROR_OBJECT (dec, "Dimensions of the frame is unsupported by libwebp"); return GST_FLOW_ERROR; } diff --git a/ext/webrtc/gstwebrtcbin.c b/ext/webrtc/gstwebrtcbin.c index 5e101deae..bd9cd0908 100644 --- a/ext/webrtc/gstwebrtcbin.c +++ b/ext/webrtc/gstwebrtcbin.c @@ -87,7 +87,7 @@ * balanced bundle policy * setting custom DTLS certificates * - * seperate session id's from mlineindex properly + * separate session id's from mlineindex properly * how to deal with replacing a input/output track/stream */ @@ -1411,7 +1411,7 @@ _find_codec_preferences (GstWebRTCBin * webrtc, WebRTCTransceiver *trans = (WebRTCTransceiver *) rtp_trans; GstCaps *ret = NULL; - GST_LOG_OBJECT (webrtc, "retreiving codec preferences from %" GST_PTR_FORMAT, + GST_LOG_OBJECT (webrtc, "retrieving codec preferences from %" GST_PTR_FORMAT, trans); if (rtp_trans && rtp_trans->codec_preferences) { @@ -1481,7 +1481,7 @@ _add_supported_attributes_to_caps (GstWebRTCBin * webrtc, /*if (!gst_structure_has_field (s, "rtcp-fb-transport-cc")) gst_structure_set (s, "rtcp-fb-nack-pli", G_TYPE_BOOLEAN, TRUE, NULL); */ - /* FIXME: codec-specific paramters? */ + /* FIXME: codec-specific parameters? */ } return ret; @@ -5715,7 +5715,7 @@ gst_webrtc_bin_class_init (GstWebRTCBinClass * klass) * and is constantly changing these statistics may be changed to fit with * the latest spec. * - * Each field key is a unique identifer for each RTCStats + * Each field key is a unique identifier for each RTCStats * (https://www.w3.org/TR/webrtc/#rtcstats-dictionary) value (another * GstStructure) in the RTCStatsReport * (https://www.w3.org/TR/webrtc/#rtcstatsreport-object). Each supported @@ -5884,11 +5884,11 @@ gst_webrtc_bin_class_init (GstWebRTCBinClass * klass) * members outlined https://www.w3.org/TR/webrtc/#dom-rtcdatachannelinit and * and reproduced below * - * ordered G_TYPE_BOOLEAN Whether the channal will send data with guarenteed ordering + * ordered G_TYPE_BOOLEAN Whether the channal will send data with guaranteed ordering * max-packet-lifetime G_TYPE_INT The time in milliseconds to attempt transmitting unacknowledged data. -1 for unset * max-retransmits G_TYPE_INT The number of times data will be attempted to be transmitted without acknowledgement before dropping * protocol G_TYPE_STRING The subprotocol used by this channel - * negotiated G_TYPE_BOOLEAN Whether the created data channel should not perform in-band chnanel announcment. If %TRUE, then application must negotiate the channel itself and create the corresponding channel on the peer with the same id. + * negotiated G_TYPE_BOOLEAN Whether the created data channel should not perform in-band chnanel announcement. If %TRUE, then application must negotiate the channel itself and create the corresponding channel on the peer with the same id. * id G_TYPE_INT Override the default identifier selection of this channel * priority GST_TYPE_WEBRTC_PRIORITY_TYPE The priority to use for this channel * diff --git a/ext/webrtc/transportreceivebin.c b/ext/webrtc/transportreceivebin.c index d059fa270..667fae634 100644 --- a/ext/webrtc/transportreceivebin.c +++ b/ext/webrtc/transportreceivebin.c @@ -440,7 +440,7 @@ transport_receive_bin_class_init (TransportReceiveBinClass * klass) g_object_class_install_property (gobject_class, PROP_STREAM, g_param_spec_object ("stream", "Stream", - "The TransportStream for this receiveing bin", + "The TransportStream for this receiving bin", transport_stream_get_type (), G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS)); } diff --git a/ext/webrtc/webrtcsdp.c b/ext/webrtc/webrtcsdp.c index 42d650f7b..c6cdf0414 100644 --- a/ext/webrtc/webrtcsdp.c +++ b/ext/webrtc/webrtcsdp.c @@ -319,7 +319,7 @@ validate_sdp (GstWebRTCSignalingState state, SDPSource source, } if (!_media_has_setup (media, i, error)) goto fail; - /* check paramaters in bundle are the same */ + /* check parameters in bundle are the same */ if (media_in_bundle) { const gchar *ice_ufrag = gst_sdp_media_get_attribute_val (media, "ice-ufrag"); diff --git a/ext/webrtcdsp/gstwebrtcdsp.cpp b/ext/webrtcdsp/gstwebrtcdsp.cpp index 9d7c8d2a3..4f097e0e5 100644 --- a/ext/webrtcdsp/gstwebrtcdsp.cpp +++ b/ext/webrtcdsp/gstwebrtcdsp.cpp @@ -40,13 +40,13 @@ * a single probe and DSP. * * The probe can only be used within the same top level GstPipeline. - * Additonally, to simplify the code, the probe element must be created + * Additionally, to simplify the code, the probe element must be created * before the DSP sink pad is activated. It does not need to be in any * particular state and does not even need to be added to the pipeline yet. * * # Example launch line * - * As a conveniance, the echo canceller can be tested using an echo loop. In + * As a convenience, the echo canceller can be tested using an echo loop. In * this configuration, one would expect a single echo to be heard. * * |[ @@ -279,7 +279,7 @@ G_DEFINE_TYPE (GstWebrtcDsp, gst_webrtc_dsp, GST_TYPE_AUDIO_FILTER); static const gchar * webrtc_error_to_string (gint err) { - const gchar *str = "unkown error"; + const gchar *str = "unknown error"; switch (err) { case webrtc::AudioProcessing::kNoError: diff --git a/ext/webrtcdsp/gstwebrtcechoprobe.cpp b/ext/webrtcdsp/gstwebrtcechoprobe.cpp index ad350e78b..a5095be74 100644 --- a/ext/webrtcdsp/gstwebrtcechoprobe.cpp +++ b/ext/webrtcdsp/gstwebrtcechoprobe.cpp @@ -259,7 +259,7 @@ gst_webrtc_echo_probe_class_init (GstWebrtcEchoProbeClass * klass) &gst_webrtc_echo_probe_sink_template); gst_element_class_set_static_metadata (element_class, - "Accoustic Echo Canceller probe", + "Acoustic Echo Canceller probe", "Generic/Audio", "Gathers playback buffers for webrtcdsp", "Nicolas Dufresne "); diff --git a/ext/webrtcdsp/gstwebrtcechoprobe.h b/ext/webrtcdsp/gstwebrtcechoprobe.h index ea7f72140..29f0eb4ca 100644 --- a/ext/webrtcdsp/gstwebrtcechoprobe.h +++ b/ext/webrtcdsp/gstwebrtcechoprobe.h @@ -61,7 +61,7 @@ struct _GstWebrtcEchoProbe * object lock and also lock the probe. The natural order for the DSP is * to lock the DSP and then the echo probe. If we where using the probe * object lock, we'd be racing with GstBin which will lock sink to src, - * and may accidently reverse the order. */ + * and may accidentally reverse the order. */ GMutex lock; /* Protected by the lock */ diff --git a/ext/wildmidi/gstwildmididec.c b/ext/wildmidi/gstwildmididec.c index 60ae3b3de..d628c0fe6 100644 --- a/ext/wildmidi/gstwildmididec.c +++ b/ext/wildmidi/gstwildmididec.c @@ -628,7 +628,7 @@ gst_wildmidi_dec_decode (GstNonstreamAudioDecoder * dec, GstBuffer ** buffer, return FALSE; /* Allocate output buffer - * Multiply by 2 to accomodate for the sample size (16 bit = 2 byte) */ + * Multiply by 2 to accommodate for the sample size (16 bit = 2 byte) */ outbuf_size = wildmidi_dec->output_buffer_size * 2 * WILDMIDI_NUM_CHANNELS; outbuf = gst_nonstream_audio_decoder_allocate_output_buffer (dec, outbuf_size); diff --git a/ext/wpe/gstwpesrc.cpp b/ext/wpe/gstwpesrc.cpp index 98ade7fa3..09cb77fe7 100644 --- a/ext/wpe/gstwpesrc.cpp +++ b/ext/wpe/gstwpesrc.cpp @@ -338,7 +338,7 @@ gst_wpe_src_event (GstPad * pad, GstObject * parent, GstEvent * event) case GST_NAVIGATION_EVENT_KEY_RELEASE: if (gst_navigation_event_parse_key_event (event, &key)) { /* FIXME: This is wrong... The GstNavigation API should pass - hardware-level informations, not high-level keysym strings */ + hardware-level information, not high-level keysym strings */ uint32_t keysym = (uint32_t) xkb_keysym_from_name (key, XKB_KEYSYM_NO_FLAGS); struct wpe_input_keyboard_event wpe_event; diff --git a/ext/x265/gstx265enc.c b/ext/x265/gstx265enc.c index 83088b4ea..724241891 100644 --- a/ext/x265/gstx265enc.c +++ b/ext/x265/gstx265enc.c @@ -923,7 +923,7 @@ gst_x265_enc_init_encoder (GstX265Enc * encoder) } if (i == encoder->peer_profiles->len) { - GST_ERROR_OBJECT (encoder, "Could't apply peer profile"); + GST_ERROR_OBJECT (encoder, "Couldn't apply peer profile"); GST_OBJECT_UNLOCK (encoder); return FALSE; @@ -1191,7 +1191,7 @@ gst_x265_enc_get_header_buffer (GstX265Enc * encoder) GST_DEBUG_OBJECT (encoder, "%d nal units in header", i_nal); /* x265 returns also non header nal units with the call x265_encoder_headers. - * The usefull headers are sequential (VPS, SPS and PPS), so we look for this + * The useful headers are sequential (VPS, SPS and PPS), so we look for this * nal units and only copy these tree nal units as the header */ vps_idx = sps_idx = pps_idx = -1; diff --git a/ext/zbar/gstzbar.c b/ext/zbar/gstzbar.c index 6591d1968..91caf9ebf 100644 --- a/ext/zbar/gstzbar.c +++ b/ext/zbar/gstzbar.c @@ -26,11 +26,11 @@ * If the .#GstZBar:attach-frame property is %TRUE, the posted barcode message * includes a sample of the frame where the barcode was detected (Since 1.6). * - * The element generate messages named`barcode`. The structure containes these fields: + * The element generate messages named`barcode`. The structure contains these fields: * * * #GstClockTime `timestamp`: the timestamp of the buffer that triggered the message. * * gchar * `type`: the symbol type. - * * gchar * `symbol`: the deteted bar code data. + * * gchar * `symbol`: the detected bar code data. * * gint `quality`: an unscaled, relative quantity: larger values are better than smaller * values. * * GstSample `frame`: the frame in which the barcode message was detected, if diff --git a/gst-libs/gst/adaptivedemux/gstadaptivedemux.c b/gst-libs/gst/adaptivedemux/gstadaptivedemux.c index db2d3f365..4258cf2bb 100644 --- a/gst-libs/gst/adaptivedemux/gstadaptivedemux.c +++ b/gst-libs/gst/adaptivedemux/gstadaptivedemux.c @@ -63,7 +63,7 @@ * Subclasses: * While GstAdaptiveDemux is responsible for the workflow, it knows nothing * about the intrinsics of the subclass formats, so the subclasses are - * resposible for maintaining the manifest data structures and stream + * responsible for maintaining the manifest data structures and stream * information. */ @@ -1745,7 +1745,7 @@ gst_adaptive_demux_handle_seek_event (GstAdaptiveDemux * demux, GstPad * pad, demux_class->stream_seek (stream, rate >= 0, stream_seek_flags, ts, &ts); } - /* replace event with a new one without snaping to seek on all streams */ + /* replace event with a new one without snapping to seek on all streams */ gst_event_unref (event); if (rate >= 0) { start = ts; diff --git a/gst-libs/gst/audio/gstnonstreamaudiodecoder.c b/gst-libs/gst/audio/gstnonstreamaudiodecoder.c index 3ace713c5..8a63a1c1a 100644 --- a/gst-libs/gst/audio/gstnonstreamaudiodecoder.c +++ b/gst-libs/gst/audio/gstnonstreamaudiodecoder.c @@ -1805,7 +1805,7 @@ gst_nonstream_audio_decoder_output_new_segment (GstNonstreamAudioDecoder * dec, /* stop/duration members are not set, on purpose - in case of loops, * new segments will be generated, which automatically put an implicit - * end on the current segment (the segment implicitely "ends" when the + * end on the current segment (the segment implicitly "ends" when the * new one starts), and having a stop value might cause very slight * gaps occasionally due to slight jitter in the calculation of * base times etc. */ @@ -2478,7 +2478,7 @@ gst_nonstream_audio_decoder_allocate_output_buffer (GstNonstreamAudioDecoder * * params are used */ if (!gst_nonstream_audio_decoder_negotiate (dec)) { GST_ERROR_OBJECT (dec, - "could not allocate output buffer because negotation failed"); + "could not allocate output buffer because negotiation failed"); return NULL; } } diff --git a/gst-libs/gst/codecparsers/gsth264parser.c b/gst-libs/gst/codecparsers/gsth264parser.c index 798db5d09..c17a65071 100644 --- a/gst-libs/gst/codecparsers/gsth264parser.c +++ b/gst-libs/gst/codecparsers/gsth264parser.c @@ -915,7 +915,7 @@ gst_h264_parse_clock_timestamp (GstH264ClockTimestamp * tim, GST_DEBUG ("parsing \"Clock timestamp\""); - /* defalt values */ + /* default values */ tim->time_offset = 0; READ_UINT8 (nr, tim->ct_type, 2); @@ -1089,7 +1089,7 @@ gst_h264_parser_parse_recovery_point (GstH264NalParser * nalparser, GST_DEBUG ("parsing \"Recovery point\""); if (!sps || !sps->valid) { - GST_WARNING ("didn't get the associated sequence paramater set for the " + GST_WARNING ("didn't get the associated sequence parameter set for the " "current access unit"); goto error; } diff --git a/gst-libs/gst/codecparsers/gsth265parser.c b/gst-libs/gst/codecparsers/gsth265parser.c index d4ad4c21c..3f0aed4da 100644 --- a/gst-libs/gst/codecparsers/gsth265parser.c +++ b/gst-libs/gst/codecparsers/gsth265parser.c @@ -755,7 +755,7 @@ gst_h265_parser_parse_short_term_ref_pic_sets (GstH265ShortTermRefPicSet * READ_UINT8 (nr, use_delta_flag[j], 1); } - /* 7-47: calcuate NumNegativePics, DeltaPocS0 and UsedByCurrPicS0 */ + /* 7-47: calculate NumNegativePics, DeltaPocS0 and UsedByCurrPicS0 */ i = 0; for (j = (RefRPS->NumPositivePics - 1); j >= 0; j--) { dPoc = RefRPS->DeltaPocS1[j] + deltaRps; @@ -778,7 +778,7 @@ gst_h265_parser_parse_short_term_ref_pic_sets (GstH265ShortTermRefPicSet * } stRPS->NumNegativePics = i; - /* 7-48: calcuate NumPositivePics, DeltaPocS1 and UsedByCurrPicS1 */ + /* 7-48: calculate NumPositivePics, DeltaPocS1 and UsedByCurrPicS1 */ i = 0; for (j = (RefRPS->NumNegativePics - 1); j >= 0; j--) { dPoc = RefRPS->DeltaPocS0[j] + deltaRps; @@ -1032,7 +1032,7 @@ gst_h265_parser_parse_pic_timing (GstH265Parser * parser, GST_DEBUG ("parsing \"Picture timing\""); if (!parser->last_sps || !parser->last_sps->valid) { - GST_WARNING ("didn't get the associated sequence paramater set for the " + GST_WARNING ("didn't get the associated sequence parameter set for the " "current access unit"); goto error; } @@ -1114,7 +1114,7 @@ gst_h265_parser_parse_recovery_point (GstH265Parser * parser, GST_DEBUG ("parsing \"Recovery point\""); if (!sps || !sps->valid) { - GST_WARNING ("didn't get the associated sequence paramater set for the " + GST_WARNING ("didn't get the associated sequence parameter set for the " "current access unit"); goto error; } @@ -1621,7 +1621,7 @@ gst_h265_parse_vps (GstH265NalUnit * nalu, GstH265VPS * vps) CHECK_ALLOWED_MAX (vps->max_layer_id, 63); READ_UE_MAX (&nr, vps->num_layer_sets_minus1, 1023); - /* allowd range is 0 to 1023 */ + /* allowed range is 0 to 1023 */ CHECK_ALLOWED_MAX (vps->num_layer_sets_minus1, 1023); for (i = 1; i <= vps->num_layer_sets_minus1; i++) { @@ -1643,13 +1643,13 @@ gst_h265_parse_vps (GstH265NalUnit * nalu, GstH265VPS * vps) READ_UE_MAX (&nr, vps->num_ticks_poc_diff_one_minus1, G_MAXUINT32 - 1); READ_UE_MAX (&nr, vps->num_hrd_parameters, 1024); - /* allowd range is + /* allowed range is * 0 to vps_num_layer_sets_minus1 + 1 */ CHECK_ALLOWED_MAX (vps->num_hrd_parameters, vps->num_layer_sets_minus1 + 1); if (vps->num_hrd_parameters) { READ_UE_MAX (&nr, vps->hrd_layer_set_idx, 1023); - /* allowd range is + /* allowed range is * ( vps_base_layer_internal_flag ? 0 : 1 ) to vps_num_layer_sets_minus1 */ CHECK_ALLOWED_MAX (vps->hrd_layer_set_idx, vps->num_layer_sets_minus1); @@ -3118,8 +3118,8 @@ get_format_range_extension_profile (GstH265ProfileTierLevel * ptl) guint extra_constraints = 0; FormatRangeExtensionProfileMatch *m; - /* Filter out all the profiles having constraints not satisified by @ptl. - * Then pick the one having the least extra contraints. This allow us + /* Filter out all the profiles having constraints not satisfied by @ptl. + * Then pick the one having the least extra constraints. This allow us * to match the closet profile if bitstream contains not standard * constraints. */ if (p.max_14bit_constraint_flag != ptl->max_14bit_constraint_flag) { diff --git a/gst-libs/gst/codecparsers/gsth265parser.h b/gst-libs/gst/codecparsers/gsth265parser.h index 619683add..66852d286 100644 --- a/gst-libs/gst/codecparsers/gsth265parser.h +++ b/gst-libs/gst/codecparsers/gsth265parser.h @@ -248,7 +248,7 @@ typedef enum /** * GstH265ParserResult: - * @GST_H265_PARSER_OK: The parsing succeded + * @GST_H265_PARSER_OK: The parsing succeeded * @GST_H265_PARSER_BROKEN_DATA: The data to parse is broken * @GST_H265_PARSER_BROKEN_LINK: The link to structure needed for the parsing couldn't be found * @GST_H265_PARSER_ERROR: An error accured when parsing @@ -423,7 +423,7 @@ struct _GstH265NalUnit * @progressive_source_flag: flag to indicate the type of stream * @interlaced_source_flag: flag to indicate the type of stream * @non_packed_constraint_flag: indicate the presence of frame packing - * arragement sei message + * arrangement sei message * @frame_only_constraint_flag: recognize the field_seq_flag * @max_12bit_constraint_flag: used to define profile extensions, see Annex A * @max_10bit_constraint_flag: used to define profile extensions, see Annex A @@ -592,7 +592,7 @@ struct _GstH265HRDParams * @temporal_id_nesting_flag: specifies whether inter prediction is * additionally restricted * @profile_tier_level: ProfileTierLevel info - * @sub_layer_ordering_info_present_flag: indicates the presense of + * @sub_layer_ordering_info_present_flag: indicates the presence of * vps_max_dec_pic_buffering_minus1, vps_max_num_reorder_pics and * vps_max_latency_increase_plus1 * @max_dec_pic_buffering_minus1: specifies the maximum required size diff --git a/gst-libs/gst/codecparsers/gstmpeg4parser.c b/gst-libs/gst/codecparsers/gstmpeg4parser.c index 977d98590..3ee48f4dc 100644 --- a/gst-libs/gst/codecparsers/gstmpeg4parser.c +++ b/gst-libs/gst/codecparsers/gstmpeg4parser.c @@ -450,7 +450,7 @@ gst_mpeg4_parse (GstMpeg4Packet * packet, gboolean skip_user_data, first_resync_marker); first_resync_marker = FALSE; - /* We found a complet slice */ + /* We found a complete slice */ if (resync_res == GST_MPEG4_PARSER_OK) return resync_res; else if (resync_res == GST_MPEG4_PARSER_NO_PACKET_END) { @@ -1323,7 +1323,7 @@ gst_mpeg4_parse_video_object_plane (GstMpeg4VideoObjectPlane * vop, vop->fcode_forward = 1; vop->fcode_backward = 1; - /* Compute macroblock informations */ + /* Compute macroblock information */ if (vol->interlaced) vop->mb_height = (2 * (vol->height + 31) / 32); else @@ -1398,7 +1398,7 @@ gst_mpeg4_parse_video_object_plane (GstMpeg4VideoObjectPlane * vop, gst_bit_reader_get_bits_uint16_unchecked (&br, 13); MARKER_UNCHECKED (&br); - /* Recompute the Macroblock informations + /* Recompute the Macroblock information * accordingly to the new values */ if (vol->interlaced) vop->mb_height = (2 * (vol->height + 31) / 32); @@ -1618,11 +1618,11 @@ failed: * gst_mpeg4_parse_video_packet_header: * @videopackethdr: The #GstMpeg4VideoPacketHdr structure to fill * @vol: The last parsed #GstMpeg4VideoObjectLayer, will be updated - * with the informations found during the parsing + * with the information found during the parsing * @vop: The last parsed #GstMpeg4VideoObjectPlane, will be updated - * with the informations found during the parsing + * with the information found during the parsing * @sprite_trajectory: A #GstMpeg4SpriteTrajectory to fill or %NULL - * with the informations found during the parsing + * with the information found during the parsing * @data: The data to parse, should be set after the resync marker. * @size: The size of the data to parse * diff --git a/gst-libs/gst/codecparsers/gstmpeg4parser.h b/gst-libs/gst/codecparsers/gstmpeg4parser.h index 48a37c890..be17bb418 100644 --- a/gst-libs/gst/codecparsers/gstmpeg4parser.h +++ b/gst-libs/gst/codecparsers/gstmpeg4parser.h @@ -489,7 +489,7 @@ struct _GstMpeg4VideoObjectPlane { guint8 load_backward_shape; guint8 ref_select_code; - /* Computed macroblock informations */ + /* Computed macroblock information */ guint16 mb_height; guint16 mb_width; guint mb_num; diff --git a/gst-libs/gst/codecparsers/gstvc1parser.h b/gst-libs/gst/codecparsers/gstvc1parser.h index fac7ace2d..47bfbd12b 100644 --- a/gst-libs/gst/codecparsers/gstvc1parser.h +++ b/gst-libs/gst/codecparsers/gstvc1parser.h @@ -305,7 +305,7 @@ struct _GstVC1SeqStructC /* Wmvp specific */ guint8 wmvp; /* Specify if the stream is wmp or not */ - /* In the wmvp case, the framerate is not computed but in the bistream */ + /* In the wmvp case, the framerate is not computed but in the bitstream */ guint8 slice_code; }; diff --git a/gst-libs/gst/codecparsers/gstvp9parser.c b/gst-libs/gst/codecparsers/gstvp9parser.c index 49cf17147..59d60ee61 100644 --- a/gst-libs/gst/codecparsers/gstvp9parser.c +++ b/gst-libs/gst/codecparsers/gstvp9parser.c @@ -407,7 +407,7 @@ seg_get_base_qindex (const GstVp9Parser * parser, int seg_base = frame_hdr->quant_indices.y_ac_qi; GstVp9ParserPrivate *priv = GST_VP9_PARSER_GET_PRIVATE (parser); const GstVp9SegmentationInfoData *seg = priv->segmentation + segid; - /* DEBUG("id = %d, seg_base = %d, seg enable = %d, alt eanble = %d, abs = %d, alt= %d\n",segid, + /* DEBUG("id = %d, seg_base = %d, seg enable = %d, alt enable = %d, abs = %d, alt= %d\n",segid, seg_base, frame_hdr->segmentation.enabled, seg->alternate_quantizer_enabled, priv->segmentation_abs_delta, seg->alternate_quantizer); */ if (frame_hdr->segmentation.enabled && seg->alternate_quantizer_enabled) { diff --git a/gst-libs/gst/codecparsers/gstvp9parser.h b/gst-libs/gst/codecparsers/gstvp9parser.h index 0f382dbb8..a437f4849 100644 --- a/gst-libs/gst/codecparsers/gstvp9parser.h +++ b/gst-libs/gst/codecparsers/gstvp9parser.h @@ -73,7 +73,7 @@ typedef struct _GstVp9SegmentationInfoData GstVp9SegmentationInfoData; * GstVp9ParseResult: * @GST_VP9_PARSER_OK: The parsing went well * @GST_VP9_PARSER_BROKEN_DATA: The data to parse is broken - * @GST_VP9_PARSER_NO_PACKET_ERROR: An error occured during the parsing + * @GST_VP9_PARSER_NO_PACKET_ERROR: An error occurred during the parsing * * Result type of any parsing function. * @@ -367,7 +367,7 @@ struct _GstVp9SegmentationInfo { * @refresh_frame_context: refresh frame context indicator * @frame_parallel_decoding_mode: enable or disable parallel decoding support. * @loopfilter: loopfilter values - * @quant_indices: quantization indeces + * @quant_indices: quantization indices * @segmentation: segmentation info * @log2_tile_rows: tile row indicator * @log2_tile_columns: tile column indicator @@ -433,7 +433,7 @@ struct _GstVp9FrameHdr * @reference_skip: a block skip mode that implies both the use of a (0,0) * motion vector and that no residual will be coded * - * Segmentation info kept across multipe frames + * Segmentation info kept across multiple frames * * Since: 1.8 */ @@ -469,7 +469,7 @@ struct _GstVp9Segmentation */ struct _GstVp9Parser { - /* private stuct for tracking state variables across frames */ + /* private struct for tracking state variables across frames */ void *priv; gint subsampling_x; diff --git a/gst-libs/gst/interfaces/photography.c b/gst-libs/gst/interfaces/photography.c index 72fda1db9..9ddbc8d14 100644 --- a/gst-libs/gst/interfaces/photography.c +++ b/gst-libs/gst/interfaces/photography.c @@ -448,7 +448,7 @@ gst_photography_set_autofocus (GstPhotography * photo, gboolean on) /** * gst_photography_set_config: * @photo: #GstPhotography interface of a #GstElement - * @config: #GstPhotographySettings containg the configuration + * @config: #GstPhotographySettings containing the configuration * * Set all configuration settings at once. * @@ -474,7 +474,7 @@ gst_photography_set_config (GstPhotography * photo, /** * gst_photography_get_config: * @photo: #GstPhotography interface of a #GstElement - * @config: #GstPhotographySettings containg the configuration + * @config: #GstPhotographySettings containing the configuration * * Get all configuration settings at once. * @@ -670,7 +670,7 @@ gst_photography_iface_class_init (gpointer g_class) * GstPhotography:lens-focus: * * Manual changing of lens focus in diopter units. - * Inteded use with GST_PHOTOGRAPHY_FOCUS_MODE_MANUAL focus mode, otherwise + * Intended use with GST_PHOTOGRAPHY_FOCUS_MODE_MANUAL focus mode, otherwise * to be ignored. * */ diff --git a/gst-libs/gst/mpegts/gst-dvb-descriptor.c b/gst-libs/gst/mpegts/gst-dvb-descriptor.c index f509df4e5..09a42da6d 100644 --- a/gst-libs/gst/mpegts/gst-dvb-descriptor.c +++ b/gst-libs/gst/mpegts/gst-dvb-descriptor.c @@ -1289,7 +1289,7 @@ gst_mpegts_descriptor_parse_dvb_component (const GstMpegtsDescriptor * * Extracts the component tag from @descriptor. * - * Returns: %TRUE if the parsing happended correctly, else %FALSE. + * Returns: %TRUE if the parsing happened correctly, else %FALSE. */ gboolean gst_mpegts_descriptor_parse_dvb_stream_identifier (const GstMpegtsDescriptor diff --git a/gst-libs/gst/mpegts/gst-dvb-descriptor.h b/gst-libs/gst/mpegts/gst-dvb-descriptor.h index 415276336..931681a89 100644 --- a/gst-libs/gst/mpegts/gst-dvb-descriptor.h +++ b/gst-libs/gst/mpegts/gst-dvb-descriptor.h @@ -763,7 +763,7 @@ typedef enum { * @priority: %TRUE High Priority %FALSE Low Priority * @time_slicing: %TRUE no time slicing %FALSE time slicing * @mpe_fec: %TRUE no mpe-fec is used %FALSE mpe-fec is use - * @constellation: the constallation + * @constellation: the constellation * @hierarchy: the hierarchy * @code_rate_hp: * @code_rate_lp: diff --git a/gst-libs/gst/mpegts/gstmpegtsdescriptor.c b/gst-libs/gst/mpegts/gstmpegtsdescriptor.c index f7e746a6b..34bee7919 100644 --- a/gst-libs/gst/mpegts/gstmpegtsdescriptor.c +++ b/gst-libs/gst/mpegts/gstmpegtsdescriptor.c @@ -91,7 +91,7 @@ static void _##name##_free (type * source) \ * These are the base descriptor types and methods. * * For more details, refer to the ITU H.222.0 or ISO/IEC 13818-1 specifications - * and other specifications mentionned in the documentation. + * and other specifications mentioned in the documentation. */ /* FIXME : Move this to proper file once we have a C file for ATSC/ISDB descriptors */ @@ -970,7 +970,7 @@ gst_mpegts_parse_descriptors (guint8 * buffer, gsize buf_len) * Note: To look for descriptors that can be present more than once in an * array of descriptors, iterate the #GArray manually. * - * Returns: (transfer none): the first descriptor matchin @tag, else %NULL. + * Returns: (transfer none): the first descriptor matching @tag, else %NULL. */ const GstMpegtsDescriptor * gst_mpegts_find_descriptor (GPtrArray * descriptors, guint8 tag) diff --git a/gst-libs/gst/player/gstplayer-media-info.h b/gst-libs/gst/player/gstplayer-media-info.h index f49fe5c78..ab034b158 100644 --- a/gst-libs/gst/player/gstplayer-media-info.h +++ b/gst-libs/gst/player/gstplayer-media-info.h @@ -40,7 +40,7 @@ G_BEGIN_DECLS /** * GstPlayerStreamInfo: * - * Base structure for information concering a media stream. Depending on + * Base structure for information concerning a media stream. Depending on * the stream type, one can find more media-specific information in * #GstPlayerVideoInfo, #GstPlayerAudioInfo, #GstPlayerSubtitleInfo. */ diff --git a/gst-libs/gst/player/gstplayer.c b/gst-libs/gst/player/gstplayer.c index a6c0d9136..764f44728 100644 --- a/gst-libs/gst/player/gstplayer.c +++ b/gst-libs/gst/player/gstplayer.c @@ -3933,7 +3933,7 @@ gst_player_set_video_track (GstPlayer * self, gint stream_index) * * Returns: %TRUE or %FALSE * - * Sets the subtitle strack @stream_index. + * Sets the subtitle stack @stream_index. */ gboolean gst_player_set_subtitle_track (GstPlayer * self, gint stream_index) diff --git a/gst-libs/gst/uridownloader/gstfragment.c b/gst-libs/gst/uridownloader/gstfragment.c index 570375a4b..e7a783957 100644 --- a/gst-libs/gst/uridownloader/gstfragment.c +++ b/gst-libs/gst/uridownloader/gstfragment.c @@ -131,7 +131,7 @@ gst_fragment_class_init (GstFragmentClass * klass) "Name of the fragment (eg:fragment-12.ts)", NULL, G_PARAM_READABLE)); g_object_class_install_property (gobject_class, PROP_DISCONTINOUS, - g_param_spec_boolean ("discontinuous", "Discontinous", + g_param_spec_boolean ("discontinuous", "Discontinuous", "Whether this fragment has a discontinuity or not", FALSE, G_PARAM_READABLE)); diff --git a/gst-libs/gst/uridownloader/gsturidownloader.c b/gst-libs/gst/uridownloader/gsturidownloader.c index d33d85124..db27513d4 100644 --- a/gst-libs/gst/uridownloader/gsturidownloader.c +++ b/gst-libs/gst/uridownloader/gsturidownloader.c @@ -680,7 +680,7 @@ quit: } else { GstQuery *query; - /* Download successfull, let's query the URI */ + /* Download successful, let's query the URI */ query = gst_query_new_uri (); if (gst_element_query (urisrc, query)) { gst_query_parse_uri (query, &download->uri); diff --git a/gst-libs/gst/vulkan/gstvkinstance.c b/gst-libs/gst/vulkan/gstvkinstance.c index 581500792..3c7db6a5c 100644 --- a/gst-libs/gst/vulkan/gstvkinstance.c +++ b/gst-libs/gst/vulkan/gstvkinstance.c @@ -183,7 +183,7 @@ _gst_vk_debug_callback (VkDebugReportFlagsEXT msgFlags, * @instance: a #GstVulkanInstance * @error: #GError * - * Returns: whether the instance vould be created + * Returns: whether the instance could be created * * Since: 1.18 */ @@ -361,7 +361,7 @@ gst_vulkan_instance_open (GstVulkanInstance * instance, GError ** error) "vkCreateDebugReportCallbackEXT"); if (!instance->dbgCreateDebugReportCallback) { g_set_error (error, GST_VULKAN_ERROR, VK_ERROR_INITIALIZATION_FAILED, - "Failed to retreive vkCreateDebugReportCallback"); + "Failed to retrieve vkCreateDebugReportCallback"); goto error; } instance->dbgDestroyDebugReportCallback = @@ -370,7 +370,7 @@ gst_vulkan_instance_open (GstVulkanInstance * instance, GError ** error) "vkDestroyDebugReportCallbackEXT"); if (!instance->dbgDestroyDebugReportCallback) { g_set_error (error, GST_VULKAN_ERROR, VK_ERROR_INITIALIZATION_FAILED, - "Failed to retreive vkDestroyDebugReportCallback"); + "Failed to retrieve vkDestroyDebugReportCallback"); goto error; } instance->dbgReportMessage = (PFN_vkDebugReportMessageEXT) @@ -378,7 +378,7 @@ gst_vulkan_instance_open (GstVulkanInstance * instance, GError ** error) "vkDebugReportMessageEXT"); if (!instance->dbgReportMessage) { g_set_error (error, GST_VULKAN_ERROR, VK_ERROR_INITIALIZATION_FAILED, - "Failed to retreive vkDebugReportMessage"); + "Failed to retrieve vkDebugReportMessage"); goto error; } diff --git a/gst-libs/gst/vulkan/gstvkswapper.c b/gst-libs/gst/vulkan/gstvkswapper.c index 0bac548be..d7fd00be6 100644 --- a/gst-libs/gst/vulkan/gstvkswapper.c +++ b/gst-libs/gst/vulkan/gstvkswapper.c @@ -156,7 +156,7 @@ static GstVideoFormat _vk_format_to_video_format (VkFormat format) { switch (format) { - /* double check endianess */ + /* double check endianness */ case VK_FORMAT_R8G8B8A8_UNORM: case VK_FORMAT_R8G8B8A8_SRGB: return GST_VIDEO_FORMAT_RGBA; diff --git a/gst-libs/gst/vulkan/gstvkwindow.c b/gst-libs/gst/vulkan/gstvkwindow.c index b4e6afbf5..6fb2fc649 100644 --- a/gst-libs/gst/vulkan/gstvkwindow.c +++ b/gst-libs/gst/vulkan/gstvkwindow.c @@ -340,7 +340,7 @@ gst_vulkan_window_get_presentation_support (GstVulkanWindow * window, * @window: a #GstVulkanWindow * @error: a #GError * - * Returns: whether @window could be sucessfully opened + * Returns: whether @window could be successfully opened * * Since: 1.18 */ diff --git a/gst-libs/gst/vulkan/win32/gstvkwindow_win32.c b/gst-libs/gst/vulkan/win32/gstvkwindow_win32.c index 6b459667d..84eba2d1c 100644 --- a/gst-libs/gst/vulkan/win32/gstvkwindow_win32.c +++ b/gst-libs/gst/vulkan/win32/gstvkwindow_win32.c @@ -535,7 +535,7 @@ window_proc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) } default: { - /* transmit messages to the parrent (ex: mouse/keyboard input) */ + /* transmit messages to the parent (ex: mouse/keyboard input) */ HWND parent_id = window_win32->parent_win_id; if (parent_id) PostMessage (parent_id, uMsg, wParam, lParam); diff --git a/gst-libs/gst/wayland/wayland.c b/gst-libs/gst/wayland/wayland.c index 6e7fefacf..9e01d8e98 100644 --- a/gst-libs/gst/wayland/wayland.c +++ b/gst-libs/gst/wayland/wayland.c @@ -84,7 +84,7 @@ gst_wayland_video_default_init (GstWaylandVideoInterface * klass) * * Please note that any calls to this method MUST be matched by * calls to end_geometry_change() and AFTER the parent surface has - * commited its geometry changes. + * committed its geometry changes. */ void gst_wayland_video_begin_geometry_change (GstWaylandVideo * video) @@ -106,11 +106,11 @@ gst_wayland_video_begin_geometry_change (GstWaylandVideo * video) * * Notifies the video sink that we just finished changing the * geometry of both itself and its parent surface. This should - * have been earlier preceeded by a call to begin_geometry_change() + * have been earlier preceded by a call to begin_geometry_change() * which notified the sink before any of these changes had happened. * * It is important to call this method only AFTER the parent surface - * has commited its geometry changes, otherwise no synchronization + * has committed its geometry changes, otherwise no synchronization * is actually achieved. */ void diff --git a/gst/asfmux/gstasfmux.c b/gst/asfmux/gstasfmux.c index 9896019ff..731600f94 100644 --- a/gst/asfmux/gstasfmux.c +++ b/gst/asfmux/gstasfmux.c @@ -458,7 +458,7 @@ content_description_calc_size_for_tag (const GstTagList * taglist, * and get the same tags in the writing function */ /** * gst_asf_mux_get_content_description_tags: - * @asfmux: #GstAsfMux to have its tags proccessed + * @asfmux: #GstAsfMux to have its tags processed * @asftags: #GstAsfTags to hold the results * * Inspects the tags received by the GstTagSetter interface @@ -466,7 +466,7 @@ content_description_calc_size_for_tag (const GstTagList * taglist, * size needed for the default and extended content description objects. * This results and a copy of the #GstTagList * are stored in the #GstAsfTags. We store a copy so that - * the sizes estimated here mantain the same until they are + * the sizes estimated here maintain the same until they are * written to the asf file. */ static void @@ -784,7 +784,7 @@ gst_asf_mux_write_stream_properties (GstAsfMux * asfmux, guint8 ** buf, * * Writes the header of the header extension object. The buffer pointer * is incremented to the next writing position (the header extension object - * childs should be writen from that point) + * childs should be written from that point) */ static void gst_asf_mux_write_header_extension (GstAsfMux * asfmux, guint8 ** buf, @@ -802,7 +802,7 @@ gst_asf_mux_write_header_extension (GstAsfMux * asfmux, guint8 ** buf, * gst_asf_mux_write_extended_stream_properties: * @asfmux: * @buf: pointer to the buffer pointer - * @asfpad: Pad that handles the stream of the properties to be writen + * @asfpad: Pad that handles the stream of the properties to be written * * Writes the extended stream properties object (that is part of the * header extension objects) for the stream handled by asfpad @@ -849,13 +849,13 @@ gst_asf_mux_write_extended_stream_properties (GstAsfMux * asfmux, guint8 ** buf, * @asfmux: * @size_buf: pointer to the memory position to write the size of the string * @str_buf: pointer to the memory position to write the string - * @str: the string to be writen (in UTF-8) - * @use32: if the string size should be writen with 32 bits (if true) + * @str: the string to be written (in UTF-8) + * @use32: if the string size should be written with 32 bits (if true) * or with 16 (if false) * * Writes a string with its size as it is needed in many asf objects. - * The size is writen to size_buf as a WORD field if use32 is false, and - * as a DWORD if use32 is true. The string is writen to str_buf in UTF16-LE. + * The size is written to size_buf as a WORD field if use32 is false, and + * as a DWORD if use32 is true. The string is written to str_buf in UTF16-LE. * The string should be passed in UTF-8. * * The string size in UTF16-LE is returned. @@ -909,8 +909,8 @@ gst_asf_mux_write_string_with_size (GstAsfMux * asfmux, * @data_buf: * * Checks if a string tag with tagname exists in the taglist. If it - * exists it is writen as an UTF-16LE to data_buf and its size in bytes - * is writen to size_buf. It is used for writing content description + * exists it is written as an UTF-16LE to data_buf and its size in bytes + * is written to size_buf. It is used for writing content description * object fields. * * Returns: the size of the string @@ -1404,7 +1404,7 @@ gst_asf_mux_start_file (GstAsfMux * asfmux) * @videopad: * * Adds a new entry to the simple index of the stream handler by videopad. - * This functions doesn't check if the time ellapsed + * This functions doesn't check if the time elapsed * is larger than the established time interval between entries. The caller * is responsible for verifying this. */ diff --git a/gst/asfmux/gstasfobjects.c b/gst/asfmux/gstasfobjects.c index f8455d970..78e5038b8 100644 --- a/gst/asfmux/gstasfobjects.c +++ b/gst/asfmux/gstasfobjects.c @@ -220,7 +220,7 @@ gst_asf_payload_get_size (AsfPayload * payload) * gst_asf_payload_free: * @payload: the #AsfPayload to be freed * - * Releases teh memory associated with this payload + * Releases the memory associated with this payload */ void gst_asf_payload_free (AsfPayload * payload) @@ -278,7 +278,7 @@ gst_asf_match_guid (const guint8 * data, const Guid * guid) /** * gst_asf_put_i32: * @buf: the memory to write data to - * @data: the value to be writen + * @data: the value to be written * * Writes a 32 bit signed integer to memory */ @@ -291,7 +291,7 @@ gst_asf_put_i32 (guint8 * buf, gint32 data) /** * gst_asf_put_time: * @buf: pointer to the buffer to write the value to - * @time: value to be writen + * @time: value to be written * * Writes an asf time value to the buffer */ @@ -304,7 +304,7 @@ gst_asf_put_time (guint8 * buf, guint64 time) /** * gst_asf_put_guid: * @buf: the buffer to write the guid to - * @guid: the guid to be writen + * @guid: the guid to be written * * Writes a GUID to the buffer */ @@ -324,7 +324,7 @@ gst_asf_put_guid (guint8 * buf, Guid guid) /** * gst_asf_put_payload: * @buf: memory to write the payload to - * @payload: #AsfPayload to be writen + * @payload: #AsfPayload to be written * * Writes the asf payload to the buffer. The #AsfPayload * packet count is incremented. @@ -348,19 +348,19 @@ gst_asf_put_payload (guint8 * buf, AsfPayload * payload) /** * gst_asf_put_subpayload: * @buf: buffer to write the payload to - * @payload: the payload to be writen + * @payload: the payload to be written * @size: maximum size in bytes to write * * Serializes part of a payload to a buffer. * The maximum size is checked against the payload length, - * the minimum of this size and the payload length is writen - * to the buffer and the writen size is returned. + * the minimum of this size and the payload length is written + * to the buffer and the written size is returned. * * It also updates the values of the payload to match the remaining * data. * In case there is not enough space to write the headers, nothing is done. * - * Returns: The writen size in bytes. + * Returns: The written size in bytes. */ guint16 gst_asf_put_subpayload (guint8 * buf, AsfPayload * payload, guint16 size) @@ -461,7 +461,7 @@ gst_asf_match_and_peek_obj_size_buf (GstBuffer * buf, const Guid * guid) * is the last one in an asf packet and the remaining data * is probably uninteresting to the application. * - * Returns: true on success, false if some error occurrs + * Returns: true on success, false if some error occurs */ static gboolean gst_asf_parse_mult_payload (GstByteReader * reader, gboolean * has_keyframe) @@ -486,7 +486,7 @@ gst_asf_parse_mult_payload (GstByteReader * reader, gboolean * has_keyframe) if (!gst_byte_reader_get_uint8 (reader, &stream_num)) goto error; if ((stream_num & 0x80) != 0) { - GST_LOG ("Keyframe found, stoping parse of payloads"); + GST_LOG ("Keyframe found, stopping parse of payloads"); *has_keyframe = TRUE; return TRUE; } @@ -525,7 +525,7 @@ error: * is the last one in an asf packet and the remaining data * is probably uninteresting to the application. * - * Returns: true on success, false if some error occurrs + * Returns: true on success, false if some error occurs */ static gboolean gst_asf_parse_single_payload (GstByteReader * reader, gboolean * has_keyframe) @@ -753,7 +753,7 @@ gst_asf_parse_file_properties_obj (GstByteReader * reader, return GST_FLOW_ERROR; if (min_ps != max_ps) { - GST_WARNING ("Mininum and maximum packet size differ " + GST_WARNING ("Minimum and maximum packet size differ " "%" G_GUINT32_FORMAT " and %" G_GUINT32_FORMAT ", " "ASF spec states they should be the same", min_ps, max_ps); return FALSE; diff --git a/gst/audiovisualizers/gstsynaescope.c b/gst/audiovisualizers/gstsynaescope.c index 4b5c0ed5a..1e2be0599 100644 --- a/gst/audiovisualizers/gstsynaescope.c +++ b/gst/audiovisualizers/gstsynaescope.c @@ -268,7 +268,7 @@ gst_synae_scope_render (GstAudioVisualizer * bscope, GstBuffer * audio, fc = r + l; x = (guint) (r * w / fc); - /* the brighness scaling factor was picked by experimenting */ + /* the brightness scaling factor was picked by experimenting */ br = b * fc * 0.01; br1 = br * (clarity + 128) >> 8; diff --git a/gst/autoconvert/gstautoconvert.c b/gst/autoconvert/gstautoconvert.c index de2bbf8cb..46bec1314 100644 --- a/gst/autoconvert/gstautoconvert.c +++ b/gst/autoconvert/gstautoconvert.c @@ -164,7 +164,7 @@ gst_auto_convert_class_init (GstAutoConvertClass * klass) gst_element_class_add_static_pad_template (gstelement_class, &sinktemplate); gst_element_class_set_static_metadata (gstelement_class, - "Select convertor based on caps", "Generic/Bin", + "Select converter based on caps", "Generic/Bin", "Selects the right transform element based on the caps", "Olivier Crete "); diff --git a/gst/autoconvert/gstautovideoconvert.c b/gst/autoconvert/gstautovideoconvert.c index 7e0ea9eae..2e6fe030a 100644 --- a/gst/autoconvert/gstautovideoconvert.c +++ b/gst/autoconvert/gstautovideoconvert.c @@ -144,8 +144,8 @@ gst_auto_video_convert_class_init (GstAutoVideoConvertClass * klass) gst_element_class_add_static_pad_template (gstelement_class, &sinktemplate); gst_element_class_set_static_metadata (gstelement_class, - "Select color space convertor based on caps", "Generic/Bin", - "Selects the right color space convertor based on the caps", + "Select color space converter based on caps", "Generic/Bin", + "Selects the right color space converter based on the caps", "Benjamin Gaignard "); gstelement_class->change_state = diff --git a/gst/autoconvert/plugin.c b/gst/autoconvert/plugin.c index 0c7cb6a16..03c05ab37 100644 --- a/gst/autoconvert/plugin.c +++ b/gst/autoconvert/plugin.c @@ -42,5 +42,5 @@ plugin_init (GstPlugin * plugin) GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, GST_VERSION_MINOR, autoconvert, - "Selects convertor element based on caps", + "Selects converter element based on caps", plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN) diff --git a/gst/bayer/gstbayer2rgb.c b/gst/bayer/gstbayer2rgb.c index a6d24eab1..e13a5cc0a 100644 --- a/gst/bayer/gstbayer2rgb.c +++ b/gst/bayer/gstbayer2rgb.c @@ -64,7 +64,7 @@ * "nearest neighbor" principal, with some additional complexity for the * calculation of the "green" element, where an "adaptive" pairing is used. * - * For purposes of documentation and indentification, each element of the + * For purposes of documentation and identification, each element of the * original array can be put into one of four classes: * R A red element * B A blue element diff --git a/gst/camerabin2/camerabin2-src.txt b/gst/camerabin2/camerabin2-src.txt index f50288e67..716d959b7 100644 --- a/gst/camerabin2/camerabin2-src.txt +++ b/gst/camerabin2/camerabin2-src.txt @@ -48,7 +48,7 @@ recommended that the viewfinder pad keeps pushing buffers so the user has a smooth experience. Note that basecamerasrc already has the mode property and start/stop-capture -signals. It has functions that should be overriden by its child classes to +signals. It has functions that should be overridden by its child classes to implement the handling of these actions. diff --git a/gst/camerabin2/camerabingeneral.c b/gst/camerabin2/camerabingeneral.c index 799c86d3a..9a60d35ed 100644 --- a/gst/camerabin2/camerabingeneral.c +++ b/gst/camerabin2/camerabingeneral.c @@ -175,7 +175,7 @@ gst_camerabin_create_and_add_element (GstBin * bin, const gchar * elem_name, /* try to change the state of an element. This function returns the element * when the state change could be performed. When this function returns NULL - * an error occured and the element is unreffed. */ + * an error occurred and the element is unreffed. */ static GstElement * try_element (GstElement * bin, GstElement * element) { diff --git a/gst/camerabin2/gstcamerabin2.c b/gst/camerabin2/gstcamerabin2.c index 681066d18..83210f4bb 100644 --- a/gst/camerabin2/gstcamerabin2.c +++ b/gst/camerabin2/gstcamerabin2.c @@ -782,7 +782,7 @@ gst_camera_bin_class_init (GstCameraBin2Class * klass) * show that jifmux is picked if image/jpeg is the caps of a container * profile. So this could work. * - There seems to be a problem with encodebin for images currently as - * it autoplugs a videorate that only starts outputing buffers after + * it autoplugs a videorate that only starts outputting buffers after * getting the 2nd buffer. */ g_object_class_install_property (object_class, PROP_IMAGE_ENCODING_PROFILE, diff --git a/gst/camerabin2/gstviewfinderbin.c b/gst/camerabin2/gstviewfinderbin.c index 78f172527..4ff7335a4 100644 --- a/gst/camerabin2/gstviewfinderbin.c +++ b/gst/camerabin2/gstviewfinderbin.c @@ -216,7 +216,7 @@ gst_viewfinder_bin_create_elements (GstViewfinderBin * vfbin) GST_PAD_LINK_CHECK_NOTHING); vfbin->elements_created = TRUE; - GST_DEBUG_OBJECT (vfbin, "Elements succesfully created and linked"); + GST_DEBUG_OBJECT (vfbin, "Elements successfully created and linked"); updated_converters = TRUE; } diff --git a/gst/camerabin2/gstwrappercamerabinsrc.c b/gst/camerabin2/gstwrappercamerabinsrc.c index c1c6dc5ee..6fd11292a 100644 --- a/gst/camerabin2/gstwrappercamerabinsrc.c +++ b/gst/camerabin2/gstwrappercamerabinsrc.c @@ -200,7 +200,7 @@ gst_wrapper_camera_bin_reset_video_src_caps (GstWrapperCameraBinSrc * self, /* After pipe was negotiated src_filter do not have any filter caps. * In this situation we should compare negotiated caps on capsfilter pad * with requested range of caps. If one of this caps intersect, - * then we can avoid reseting. + * then we can avoid resetting. */ src_neg_caps = gst_pad_get_current_caps (self->srcfilter_pad); if (src_neg_caps && new_filter_caps && gst_caps_is_fixed (new_filter_caps)) @@ -209,7 +209,7 @@ gst_wrapper_camera_bin_reset_video_src_caps (GstWrapperCameraBinSrc * self, /* If new_filter_caps = NULL, then some body wont to empty * capsfilter (set to ANY). In this case we will need to reset pipe, * but if capsfilter is actually empthy, then we can avoid - * one more reseting. + * one more resetting. */ GstCaps *old_filter_caps; /* range of caps on capsfilter */ @@ -592,7 +592,7 @@ gst_wrapper_camera_bin_src_construct_pipeline (GstBaseCameraSrc * bcamsrc) /* keep a 'tee' element that has 2 source pads, one is linked to the * vidsrc pad and the other is linked as needed to the viewfinder - * when video recording is hapenning */ + * when video recording is happening */ video_recording_tee = gst_element_factory_make ("tee", "video_rec_tee"); gst_bin_add (GST_BIN_CAST (self), video_recording_tee); /* TODO check returns */ self->video_tee_vf_pad = @@ -1039,7 +1039,7 @@ gst_wrapper_camera_bin_src_stop_capture (GstBaseCameraSrc * camerasrc) { GstWrapperCameraBinSrc *src = GST_WRAPPER_CAMERA_BIN_SRC (camerasrc); - /* TODO shoud we access this directly? Maybe a macro is better? */ + /* TODO should we access this directly? Maybe a macro is better? */ if (src->mode == MODE_VIDEO) { if (src->video_rec_status == GST_VIDEO_RECORDING_STATUS_STARTING) { GST_DEBUG_OBJECT (src, "Aborting, had not started recording"); diff --git a/gst/debugutils/fpsdisplaysink.c b/gst/debugutils/fpsdisplaysink.c index 9774b6a52..90c429e9c 100644 --- a/gst/debugutils/fpsdisplaysink.c +++ b/gst/debugutils/fpsdisplaysink.c @@ -179,7 +179,7 @@ fps_display_sink_class_init (GstFPSDisplaySinkClass * klass) g_object_class_install_property (gobject_klass, PROP_SIGNAL_FPS_MEASUREMENTS, g_param_spec_boolean ("signal-fps-measurements", "Signal fps measurements", - "If the fps-measurements signal should be emited.", + "If the fps-measurements signal should be emitted.", DEFAULT_SIGNAL_FPS_MEASUREMENTS, G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE)); diff --git a/gst/debugutils/gstdebugspy.c b/gst/debugutils/gstdebugspy.c index ebf050f6d..baacc4bc8 100644 --- a/gst/debugutils/gstdebugspy.c +++ b/gst/debugutils/gstdebugspy.c @@ -147,7 +147,7 @@ gst_debug_spy_class_init (GstDebugSpyClass * klass) /* initialize the new element * instantiate pads and add them to element - * set pad calback functions + * set pad callback functions * initialize instance structure */ static void diff --git a/gst/dvbsuboverlay/dvb-sub.c b/gst/dvbsuboverlay/dvb-sub.c index 2e6e48dde..3c056326e 100644 --- a/gst/dvbsuboverlay/dvb-sub.c +++ b/gst/dvbsuboverlay/dvb-sub.c @@ -82,7 +82,7 @@ typedef struct DVBSubObjectDisplay int fgcolor; int bgcolor; - /* FIXME: Should we use GSList? The relating interaction and pointer assigment is quite complex and perhaps unsuited for a plain GSList anyway */ + /* FIXME: Should we use GSList? The relating interaction and pointer assignment is quite complex and perhaps unsuited for a plain GSList anyway */ struct DVBSubObjectDisplay *region_list_next; struct DVBSubObjectDisplay *object_list_next; } DVBSubObjectDisplay; @@ -1360,7 +1360,7 @@ dvb_sub_free (DvbSub * sub) * the PTS information). * * Return value: -1 if data was unhandled (e.g, not a subtitle packet), - * -2 if data parsing was unsuccesful (e.g, length was invalid), + * -2 if data parsing was unsuccessful (e.g, length was invalid), * 0 or positive if data was handled. If positive, then amount of data consumed on success. FIXME: List the positive return values. */ gint diff --git a/gst/dvbsuboverlay/dvb-sub.h b/gst/dvbsuboverlay/dvb-sub.h index 5917e7e49..c986422a6 100644 --- a/gst/dvbsuboverlay/dvb-sub.h +++ b/gst/dvbsuboverlay/dvb-sub.h @@ -33,7 +33,7 @@ typedef struct _DvbSub DvbSub; * as an index into the @palette. * @palette: the palette used for this subtitle rectangle, up to 256 items depending * on the depth of the subpicture; each palette item is in ARGB form, 8-bits per channel. - * @palette_bits_count: the amount of bits used in indeces into @palette in @data. + * @palette_bits_count: the amount of bits used in indices into @palette in @data. * @rowstride: the number of bytes between the start of a row and the start of the next row. * * A structure representing the contents of a subtitle rectangle. diff --git a/gst/dvdspu/Notes.txt b/gst/dvdspu/Notes.txt index a0e56e3c1..12f0af673 100644 --- a/gst/dvdspu/Notes.txt +++ b/gst/dvdspu/Notes.txt @@ -126,11 +126,11 @@ as I know, each type has a fixed length. * type 0x03 : '03wxyz' - 3 bytes this one has the palette information ; it basically says 'encoded color 0 - is the wth color of the palette, encoded color 1 is the xth color, aso. + is the with color of the palette, encoded color 1 is the xth color, aso. * type 0x04 : '04wxyz' - 3 bytes I *think* this is the alpha channel information ; I only saw values of 0 or f - for those nibbles, so I can't really be sure, but it seems plausable. + for those nibbles, so I can't really be sure, but it seems plausible. * type 0x05 : '05xxxXXXyyyYYY' - 7 bytes the coordinates of the subtitle on the screen : diff --git a/gst/dvdspu/gstspu-vobsub-render.c b/gst/dvdspu/gstspu-vobsub-render.c index f4649e9e9..df4e54b9c 100644 --- a/gst/dvdspu/gstspu-vobsub-render.c +++ b/gst/dvdspu/gstspu-vobsub-render.c @@ -317,7 +317,7 @@ gstspu_vobsub_render_line_with_chgcol (SpuState * state, guint8 * planes[3], disp_end = state->vobsub.disp_rect.right + 1; /* Work out the first pixel control info, which may point to the dummy entry if - * the global palette/alpha need using initally */ + * the global palette/alpha need using initially */ cur_pix_ctrl = chg_col->pix_ctrl_i; end_pix_ctrl = chg_col->pix_ctrl_i + chg_col->n_changes; diff --git a/gst/festival/gstfestival.c b/gst/festival/gstfestival.c index fbe9ecdae..d1637ab46 100644 --- a/gst/festival/gstfestival.c +++ b/gst/festival/gstfestival.c @@ -396,7 +396,7 @@ socket_receive_file_to_buff (int fd, int *size) { /* Receive file (probably a waveform file) from socket using */ /* Festival key stuff technique, but long winded I know, sorry */ - /* but will receive any file without closeing the stream or */ + /* but will receive any file without closing the stream or */ /* using OOB data */ static const char file_stuff_key[] = "ft_StUfF_key"; /* must == Festival's key */ char *buff; diff --git a/gst/frei0r/frei0r.h b/gst/frei0r/frei0r.h index 9aed4453b..88a05a316 100644 --- a/gst/frei0r/frei0r.h +++ b/gst/frei0r/frei0r.h @@ -128,7 +128,7 @@ * @subsection sec_icon_location Icon location * * The exact location where the application should look for the - * plugin is platform dependant. + * plugin is platform dependent. * * For Windows platforms, the icon should be at the same place as * the plugin containing the effect. @@ -251,7 +251,7 @@ void f0r_deinit(); * List of supported color models. * * Note: the color models are endian independent, because the - * color components are defined by their positon in memory, not + * color components are defined by their position in memory, not * by their significance in an uint32_t value. * * For effects that work on the color components, @@ -300,7 +300,7 @@ void f0r_deinit(); /** * In PACKED32, each pixel is represented by 4 consecutive - * bytes, but it is not defined how the color componets are + * bytes, but it is not defined how the color components are * stored. The true color format could be RGBA8888, * BGRA8888, a packed 32 bit YUV format, or any other * color format that stores pixels in 32 bit. diff --git a/gst/frei0r/gstfrei0r.c b/gst/frei0r/gstfrei0r.c index b887f6398..6a00934e8 100644 --- a/gst/frei0r/gstfrei0r.c +++ b/gst/frei0r/gstfrei0r.c @@ -550,7 +550,7 @@ register_plugin (GstPlugin * plugin, const gchar * vendor, instance = ftable.construct (640, 480); if (!instance) { - GST_WARNING ("Failed to instanciate plugin '%s'", info.name); + GST_WARNING ("Failed to instantiate plugin '%s'", info.name); ftable.deinit (); g_module_close (module); return FALSE; diff --git a/gst/gaudieffects/gstburn.c b/gst/gaudieffects/gstburn.c index bf662270a..bc5aefb63 100644 --- a/gst/gaudieffects/gstburn.c +++ b/gst/gaudieffects/gstburn.c @@ -157,7 +157,7 @@ gst_burn_class_init (GstBurnClass * klass) /* Initialize the element, * instantiate pads and add them to element, - * set pad calback functions, and + * set pad callback functions, and * initialize instance structure. */ static void diff --git a/gst/gaudieffects/gstchromium.c b/gst/gaudieffects/gstchromium.c index fb55aac25..1a3f3666e 100644 --- a/gst/gaudieffects/gstchromium.c +++ b/gst/gaudieffects/gstchromium.c @@ -177,7 +177,7 @@ gst_chromium_class_init (GstChromiumClass * klass) /* Initialize the element, * instantiate pads and add them to element, - * set pad calback functions, and + * set pad callback functions, and * initialize instance structure. */ static void diff --git a/gst/gaudieffects/gstdilate.c b/gst/gaudieffects/gstdilate.c index a21ab3d5a..2a1e77521 100644 --- a/gst/gaudieffects/gstdilate.c +++ b/gst/gaudieffects/gstdilate.c @@ -159,7 +159,7 @@ gst_dilate_class_init (GstDilateClass * klass) /* Initialize the element, * instantiate pads and add them to element, - * set pad calback functions, and + * set pad callback functions, and * initialize instance structure. */ static void diff --git a/gst/gaudieffects/gstdodge.c b/gst/gaudieffects/gstdodge.c index 86b5d9d02..ee2ce7dbf 100644 --- a/gst/gaudieffects/gstdodge.c +++ b/gst/gaudieffects/gstdodge.c @@ -150,7 +150,7 @@ gst_dodge_class_init (GstDodgeClass * klass) /* Initialize the element, * instantiate pads and add them to element, - * set pad calback functions, and + * set pad callback functions, and * initialize instance structure. */ static void diff --git a/gst/gaudieffects/gstexclusion.c b/gst/gaudieffects/gstexclusion.c index 62445bd06..6c696b6f3 100644 --- a/gst/gaudieffects/gstexclusion.c +++ b/gst/gaudieffects/gstexclusion.c @@ -160,7 +160,7 @@ gst_exclusion_class_init (GstExclusionClass * klass) /* Initialize the element, * instantiate pads and add them to element, - * set pad calback functions, and + * set pad callback functions, and * initialize instance structure. */ static void diff --git a/gst/gaudieffects/gstgaussblur.c b/gst/gaudieffects/gstgaussblur.c index ff5ca520e..dc2d479f9 100644 --- a/gst/gaudieffects/gstgaussblur.c +++ b/gst/gaudieffects/gstgaussblur.c @@ -123,7 +123,7 @@ G_DEFINE_TYPE (GstGaussianBlur, gst_gaussianblur, GST_TYPE_VIDEO_FILTER); #define DEFAULT_SIGMA 1.2 -/* Initalize the gaussianblur's class. */ +/* Initialize the gaussianblur's class. */ static void gst_gaussianblur_class_init (GstGaussianBlurClass * klass) { diff --git a/gst/gaudieffects/gstsolarize.c b/gst/gaudieffects/gstsolarize.c index 8fc9ff69e..23a69d0d8 100644 --- a/gst/gaudieffects/gstsolarize.c +++ b/gst/gaudieffects/gstsolarize.c @@ -173,7 +173,7 @@ gst_solarize_class_init (GstSolarizeClass * klass) /* Initialize the element, * instantiate pads and add them to element, - * set pad calback functions, and + * set pad callback functions, and * initialize instance structure. */ static void diff --git a/gst/geometrictransform/gstbulge.c b/gst/geometrictransform/gstbulge.c index 01e850b12..315aa0cd2 100644 --- a/gst/geometrictransform/gstbulge.c +++ b/gst/geometrictransform/gstbulge.c @@ -139,7 +139,7 @@ bulge_map (GstGeometricTransform * gt, gint x, gint y, gdouble * in_x, gdouble width = gt->width; gdouble height = gt->height; - /* normalize in ((-1.0, -1.0), (1.0, 1.0) and traslate the center */ + /* normalize in ((-1.0, -1.0), (1.0, 1.0) and translate the center */ norm_x = 2.0 * (x / width - cgt->x_center); norm_y = 2.0 * (y / height - cgt->y_center); diff --git a/gst/geometrictransform/gststretch.c b/gst/geometrictransform/gststretch.c index 114a0cd22..77086f07d 100644 --- a/gst/geometrictransform/gststretch.c +++ b/gst/geometrictransform/gststretch.c @@ -139,7 +139,7 @@ stretch_map (GstGeometricTransform * gt, gint x, gint y, gdouble * in_x, gdouble height = gt->height; gdouble a, b; - /* normalize in ((-1.0, -1.0), (1.0, 1.0) and traslate the center */ + /* normalize in ((-1.0, -1.0), (1.0, 1.0) and translate the center */ norm_x = 2.0 * (x / width - cgt->x_center); norm_y = 2.0 * (y / height - cgt->y_center); diff --git a/gst/geometrictransform/gsttunnel.c b/gst/geometrictransform/gsttunnel.c index 8668a5282..2dd9c41e3 100644 --- a/gst/geometrictransform/gsttunnel.c +++ b/gst/geometrictransform/gsttunnel.c @@ -87,7 +87,7 @@ tunnel_map (GstGeometricTransform * gt, gint x, gint y, gdouble * in_x, gdouble r; - /* normalize in ((-1.0, -1.0), (1.0, 1.0) and traslate the center */ + /* normalize in ((-1.0, -1.0), (1.0, 1.0) and translate the center */ /* plus a little trick to obtain a perfect circle, normalize in a * square with sides equal to MAX(width, height) */ norm_x = 2.0 * (x - cgt->x_center * width) / MAX (width, height); diff --git a/gst/id3tag/id3tag.c b/gst/id3tag/id3tag.c index db4489251..8ba327dee 100644 --- a/gst/id3tag/id3tag.c +++ b/gst/id3tag/id3tag.c @@ -1212,7 +1212,7 @@ foreach_add_tag (const GstTagList * list, const gchar * tag, gpointer userdata) GST_LOG ("Processing tag %s (num=%u)", tag, num_tags); if (num_tags > 1 && gst_tag_is_fixed (tag)) { - GST_WARNING ("Multiple occurences of fixed tag '%s', ignoring some", tag); + GST_WARNING ("Multiple occurrences of fixed tag '%s', ignoring some", tag); num_tags = 1; } diff --git a/gst/ivfparse/gstivfparse.c b/gst/ivfparse/gstivfparse.c index 14dd0dda7..34675de77 100644 --- a/gst/ivfparse/gstivfparse.c +++ b/gst/ivfparse/gstivfparse.c @@ -123,7 +123,7 @@ gst_ivf_parse_reset (GstIvfParse * ivf) /* initialize the new element * instantiate pads and add them to element - * set pad calback functions + * set pad callback functions * initialize instance structure */ static void diff --git a/gst/jpegformat/gstjpegparse.c b/gst/jpegformat/gstjpegparse.c index 17cbec954..244b5a2f3 100644 --- a/gst/jpegformat/gstjpegparse.c +++ b/gst/jpegformat/gstjpegparse.c @@ -428,15 +428,15 @@ gst_jpeg_parse_skip_marker (GstJpegParse * parse, const gchar *id_str = NULL; if (gst_byte_reader_peek_string_utf8 (reader, &id_str)) { - GST_DEBUG_OBJECT (parse, "unhandled marker %x: '%s' skiping %u bytes", + GST_DEBUG_OBJECT (parse, "unhandled marker %x: '%s' skipping %u bytes", marker, id_str ? id_str : "(NULL)", size); } else { - GST_DEBUG_OBJECT (parse, "unhandled marker %x skiping %u bytes", marker, + GST_DEBUG_OBJECT (parse, "unhandled marker %x skipping %u bytes", marker, size); } } #else - GST_DEBUG_OBJECT (parse, "unhandled marker %x skiping %u bytes", marker, + GST_DEBUG_OBJECT (parse, "unhandled marker %x skipping %u bytes", marker, size); #endif // GST_DISABLE_GST_DEBUG diff --git a/gst/librfb/rfbdecoder.c b/gst/librfb/rfbdecoder.c index fa763313a..9d5136b81 100644 --- a/gst/librfb/rfbdecoder.c +++ b/gst/librfb/rfbdecoder.c @@ -155,7 +155,7 @@ rfb_decoder_disconnect (RfbDecoder * decoder) * * Initializes the connection with the rfb server * - * Returns: TRUE if initialization was succesfull, FALSE on fail. + * Returns: TRUE if initialization was successful, FALSE on fail. */ gboolean rfb_decoder_iterate (RfbDecoder * decoder) @@ -564,7 +564,7 @@ rfb_decoder_state_security_result (RfbDecoder * decoder) return FALSE; } - GST_DEBUG ("Security handshaking succesful"); + GST_DEBUG ("Security handshake successful"); decoder->state = rfb_decoder_state_send_client_initialisation; return TRUE; @@ -598,7 +598,7 @@ rfb_decoder_message_set_encodings (GSList * encodings_list) * * Sends the encoding types that the client can decode to the server * - * Returns: TRUE if initialization was succesfull, FALSE on fail. + * Returns: TRUE if initialization was successful, FALSE on fail. */ static gboolean rfb_decoder_state_set_encodings (RfbDecoder * decoder) @@ -807,7 +807,7 @@ rfb_decoder_state_framebuffer_update_rectangle (RfbDecoder * decoder) h = RFB_GET_UINT16 (decoder->data + 6); encoding = RFB_GET_UINT32 (decoder->data + 8); - GST_DEBUG ("update recieved"); + GST_DEBUG ("update received"); GST_DEBUG ("x:%d y:%d", x, y); GST_DEBUG ("w:%d h:%d", w, h); GST_DEBUG ("encoding: %d", encoding); diff --git a/gst/mpegdemux/gstmpegdemux.c b/gst/mpegdemux/gstmpegdemux.c index b229da930..42bb15b8c 100644 --- a/gst/mpegdemux/gstmpegdemux.c +++ b/gst/mpegdemux/gstmpegdemux.c @@ -2989,7 +2989,7 @@ pause: } } -/* If we can pull that's prefered */ +/* If we can pull that's preferred */ static gboolean gst_ps_demux_sink_activate (GstPad * sinkpad, GstObject * parent) { diff --git a/gst/mpegpsmux/psmux.c b/gst/mpegpsmux/psmux.c index a8ba47867..a59f485d6 100644 --- a/gst/mpegpsmux/psmux.c +++ b/gst/mpegpsmux/psmux.c @@ -248,7 +248,7 @@ psmux_write_stream_packet (PsMux * mux, PsMuxStream * stream) /* Time to write pack header */ /* FIXME: currently we write the mux rate of the PREVIOUS pack into the * pack header, because of the incapability to calculate the mux_rate - * before outputing the pack. To calculate the mux_rate for the current + * before outputting the pack. To calculate the mux_rate for the current * pack, we need to put the whole pack into buffer, calculate the * mux_rate, and then output the whole trunck. */ diff --git a/gst/mpegpsmux/psmuxstream.c b/gst/mpegpsmux/psmuxstream.c index 22026a1e5..dc5b4fd52 100644 --- a/gst/mpegpsmux/psmuxstream.c +++ b/gst/mpegpsmux/psmuxstream.c @@ -283,7 +283,7 @@ psmux_stream_get_data (PsMuxStream * stream, guint8 * buf, guint len) MIN (psmux_stream_bytes_in_buffer (stream), len - PSMUX_PES_MAX_HDR_LEN); /* Note that we cannot make a better estimation of the header length for the * time being; because the header length is dependent on whether we can find a - * timestamp in the upcomming buffers, which in turn depends on + * timestamp in the upcoming buffers, which in turn depends on * cur_pes_payload_size, which is exactly what we want to decide. */ @@ -463,7 +463,7 @@ psmux_stream_write_pes_header (PsMuxStream * stream, guint8 * data) if (stream->pi.flags & PSMUX_PACKET_FLAG_PES_EXT_STREAMID) { guint8 ext_len; - flags = 0x0f; /* preceeding flags all 0 | (reserved bits) | PES_extension_flag_2 */ + flags = 0x0f; /* preceding flags all 0 | (reserved bits) | PES_extension_flag_2 */ *data++ = flags; ext_len = 1; /* Only writing 1 byte into the extended fields */ diff --git a/gst/mpegpsmux/psmuxstream.h b/gst/mpegpsmux/psmuxstream.h index 0b3c139cd..22f6d7340 100644 --- a/gst/mpegpsmux/psmuxstream.h +++ b/gst/mpegpsmux/psmuxstream.h @@ -157,7 +157,7 @@ void psmux_stream_get_es_descrs (PsMuxStream *stream, guint8 *buf, guint16 *l /* get the pts of stream */ guint64 psmux_stream_get_pts (PsMuxStream *stream); -/* stream_id assignemnt */ +/* stream_id assignment */ #define PSMUX_STREAM_ID_MPGA_INIT 0xc0 #define PSMUX_STREAM_ID_MPGA_MAX 0xcf diff --git a/gst/mpegtsdemux/TODO b/gst/mpegtsdemux/TODO index d4d2563a7..62449ef56 100644 --- a/gst/mpegtsdemux/TODO +++ b/gst/mpegtsdemux/TODO @@ -1,7 +1,7 @@ tsdemux/tsparse TODO -------------------- -* Perfomance +* Performance * Bufferlist : Creating/Destroying very small buffers is too costly. Switch to pre-/re-allocating outgoing buffers in which we copy the data. @@ -18,7 +18,7 @@ tsdemux/tsparse TODO * mpegtsparser * SERIOUS room for improvement performance-wise (see callgrind), - mostly related to performance issues mentionned above. + mostly related to performance issues mentioned above. * Random-access seeking * Do minimal parsing of video headers to detect keyframes and use @@ -92,7 +92,7 @@ of the stream. Since no prerolling is happening downstream and the incoming buffers do not have capture timestamps, we need to ensure the first buffer - we push out corresponds to the base segment start runing time. + we push out corresponds to the base segment start running time. => The packetizer keeps track of PCR locations and offsets in addition to the clock skew (in the case of upstream buffers diff --git a/gst/mpegtsdemux/mpegtsbase.c b/gst/mpegtsdemux/mpegtsbase.c index d49ab5eb9..d2d973ad5 100644 --- a/gst/mpegtsdemux/mpegtsbase.c +++ b/gst/mpegtsdemux/mpegtsbase.c @@ -1116,7 +1116,7 @@ mpegts_base_apply_pmt (MpegTSBase * base, GstMpegtsSection * section) program = mpegts_base_new_program (base, program_number, section->pid); program->patcount = old_program->patcount; - /* Desactivate the old program */ + /* Deactivate the old program */ /* FIXME : THIS IS BREAKING THE STREAM SWITCHING LOGIC ! * */ if (klass->can_remove_program (base, old_program)) { diff --git a/gst/mpegtsdemux/mpegtsbase.h b/gst/mpegtsdemux/mpegtsbase.h index 79705a77b..30a41ba86 100644 --- a/gst/mpegtsdemux/mpegtsbase.h +++ b/gst/mpegtsdemux/mpegtsbase.h @@ -201,7 +201,7 @@ struct _MpegTSBaseClass { GstFlowReturn (*drain) (MpegTSBase * base); /* flush all streams - * The hard inicator is used to flush completelly on FLUSH_STOP events + * The hard inicator is used to flush completely on FLUSH_STOP events * or partially in pull mode seeks of tsdemux */ void (*flush) (MpegTSBase * base, gboolean hard); diff --git a/gst/mpegtsdemux/mpegtspacketizer.c b/gst/mpegtsdemux/mpegtspacketizer.c index b16c9b094..b793f8545 100644 --- a/gst/mpegtsdemux/mpegtspacketizer.c +++ b/gst/mpegtsdemux/mpegtspacketizer.c @@ -1280,7 +1280,7 @@ mpegts_packetizer_resync (MpegTSPCR * pcr, GstClockTime time, * Cri : The time of the clock at the receiver for packet i * D + ni : The jitter when receiving packet i * - * We see that the network delay is irrelevant here as we can elliminate D: + * We see that the network delay is irrelevant here as we can eliminate D: * * recv_diff(i) = (Cri + ni) - (Cr0 + n0)) * @@ -1613,7 +1613,7 @@ _reevaluate_group_pcr_offset (MpegTSPCR * pcrtable, PCROffsetGroup * group) * We will use raw (non-corrected/non-absolute) PCR values in a first time * to detect wraparound/resets/gaps... * - * We will use the corrected/asolute PCR values to calculate + * We will use the corrected/absolute PCR values to calculate * bitrate and estimate the target group pcr_offset. * */ diff --git a/gst/mpegtsdemux/tsdemux.c b/gst/mpegtsdemux/tsdemux.c index 8bc973690..f19925765 100644 --- a/gst/mpegtsdemux/tsdemux.c +++ b/gst/mpegtsdemux/tsdemux.c @@ -1222,7 +1222,7 @@ create_pad_for_stream (MpegTSBase * base, MpegTSBaseStream * bstream, case ST_PS_VIDEO_MPEG2_DCII: /* FIXME : Use DCII registration code (ETV1 ?) to handle that special * Stream type (ST_PS_VIDEO_MPEG2_DCII) */ - /* FIXME : Use video decriptor (0x1) to refine caps with: + /* FIXME : Use video descriptor (0x1) to refine caps with: * * frame_rate * * profile_and_level */ diff --git a/gst/mpegtsmux/gstmpegtsmux.c b/gst/mpegtsmux/gstmpegtsmux.c index 29f70bf5d..a2ca00ad7 100644 --- a/gst/mpegtsmux/gstmpegtsmux.c +++ b/gst/mpegtsmux/gstmpegtsmux.c @@ -336,7 +336,7 @@ gst_mpeg_ts_mux_set_property (GObject * object, guint prop_id, switch (prop_id) { case PROP_M2TS_MODE: - /* set incase if the output stream need to be of 192 bytes */ + /* set in case if the output stream need to be of 192 bytes */ mux->m2ts_mode = g_value_get_boolean (value); gst_base_ts_mux_set_packet_size (GST_BASE_TS_MUX (mux), mux->m2ts_mode ? M2TS_PACKET_LENGTH : diff --git a/gst/mpegtsmux/tsmux/tsmux.c b/gst/mpegtsmux/tsmux/tsmux.c index 52dd55917..139c9467e 100644 --- a/gst/mpegtsmux/tsmux/tsmux.c +++ b/gst/mpegtsmux/tsmux/tsmux.c @@ -413,7 +413,7 @@ tsmux_program_compare (TsMuxProgram * program, gint * needle) * tsmux_program_new: * @mux: a #TsMux * - * Create a new program in the mising session @mux. + * Create a new program in the missing session @mux. * * Returns: a new #TsMuxProgram or %NULL when the maximum number of programs has * been reached. @@ -697,7 +697,7 @@ tsmux_create_stream (TsMux * mux, guint stream_type, guint16 pid, * @mux: a #TsMux * @pid: the PID to find. * - * Find the stream associated wih PID. + * Find the stream associated with PID. * * Returns: a #TsMuxStream with @pid or NULL when the stream was not found. */ diff --git a/gst/mpegtsmux/tsmux/tsmuxstream.c b/gst/mpegtsmux/tsmux/tsmuxstream.c index 2e5fa2d68..5eb6abff4 100644 --- a/gst/mpegtsmux/tsmux/tsmuxstream.c +++ b/gst/mpegtsmux/tsmux/tsmuxstream.c @@ -1024,7 +1024,7 @@ tsmux_stream_default_get_es_descrs (TsMuxStream * stream, g_ptr_array_add (pmt_stream->descriptors, descriptor); break; case TSMUX_ST_PS_DVB_SUBPICTURE: - /* falltrough ... + /* fallthrough ... * that should never happen anyway as * dvb subtitles are private data */ case TSMUX_ST_PRIVATE_DATA: diff --git a/gst/mxf/mxfdms1.c b/gst/mxf/mxfdms1.c index d735e4d60..bb5234e8f 100644 --- a/gst/mxf/mxfdms1.c +++ b/gst/mxf/mxfdms1.c @@ -4684,7 +4684,7 @@ mxf_dms1_rights_handle_tag (MXFMetadataBase * metadata, MXFPrimerPack * primer, GST_DEBUG (" rights holder = %s", GST_STR_NULL (self->rights_holder)); } else if (memcmp (tag_ul, &rights_managment_authority_ul, 16) == 0) { self->rights_managment_authority = mxf_utf16_to_utf8 (tag_data, tag_size); - GST_DEBUG (" rights managment authority = %s", + GST_DEBUG (" rights management authority = %s", GST_STR_NULL (self->rights_managment_authority)); } else if (memcmp (tag_ul, ®ion_or_area_of_ip_license_ul, 16) == 0) { self->region_or_area_of_ip_license = mxf_utf16_to_utf8 (tag_data, tag_size); diff --git a/gst/netsim/gstnetsim.c b/gst/netsim/gstnetsim.c index 0c27a67f5..39368ed15 100644 --- a/gst/netsim/gstnetsim.c +++ b/gst/netsim/gstnetsim.c @@ -68,7 +68,7 @@ enum PROP_ALLOW_REORDERING, }; -/* these numbers are nothing but wild guesses and dont reflect any reality */ +/* these numbers are nothing but wild guesses and don't reflect any reality */ #define DEFAULT_MIN_DELAY 200 #define DEFAULT_MAX_DELAY 400 #define DEFAULT_DELAY_DISTRIBUTION DISTRIBUTION_UNIFORM diff --git a/gst/pcapparse/gstirtspparse.c b/gst/pcapparse/gstirtspparse.c index 4d64e36f6..e9ab037df 100644 --- a/gst/pcapparse/gstirtspparse.c +++ b/gst/pcapparse/gstirtspparse.c @@ -194,7 +194,7 @@ start: switch (IRTSPParse->state) { case IRTSP_SEARCH_FRAME: - /* Use the first occurence of 0x24 as a start of interleaved frames. + /* Use the first occurrence of 0x24 as a start of interleaved frames. * This 'trick' allows us to parse a dump that doesn't contain RTSP * handshake. It's up to user to provide the data where the first 0x24 * is an RTSP frame */ diff --git a/gst/pnm/gstpnmdec.c b/gst/pnm/gstpnmdec.c index cf6904e01..b11a7310b 100644 --- a/gst/pnm/gstpnmdec.c +++ b/gst/pnm/gstpnmdec.c @@ -149,7 +149,7 @@ gst_pnmdec_negotiate (GstVideoDecoder * decoder) const gchar *fmtstr; pnmdec->size = pnmdec->mngr.info.width * pnmdec->mngr.info.height * 2; - /* perform some basic negotiation to resolve which endianess, + /* perform some basic negotiation to resolve which endianness, * if any, is supported by the component downstream. Query * the peer caps, intersecting with our preferred caps */ diff --git a/gst/removesilence/gstremovesilence.c b/gst/removesilence/gstremovesilence.c index a932f6111..5529f6a9e 100644 --- a/gst/removesilence/gstremovesilence.c +++ b/gst/removesilence/gstremovesilence.c @@ -137,7 +137,7 @@ gst_remove_silence_class_init (GstRemoveSilenceClass * klass) g_object_class_install_property (gobject_class, PROP_REMOVE, g_param_spec_boolean ("remove", "Remove", - "Set to true to remove silence from the stream, false otherwhise", + "Set to true to remove silence from the stream, false otherwise", FALSE, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_HYSTERESIS, @@ -206,7 +206,7 @@ gst_remove_silence_reset (GstRemoveSilence * filter) /* initialize the new element * instantiate pads and add them to element - * set pad calback functions + * set pad callback functions * initialize instance structure */ static void @@ -416,7 +416,7 @@ gst_remove_silence_transform_ip (GstBaseTransform * trans, GstBuffer * inbuf) inbuf = gst_buffer_make_writable (inbuf); GST_BUFFER_PTS (inbuf) -= filter->ts_offset; } else { - GST_WARNING ("Invalid buffer pts, update not possibile"); + GST_WARNING ("Invalid buffer pts, update not possible"); } } diff --git a/gst/rist/gstristrtxsend.c b/gst/rist/gstristrtxsend.c index 927fb1cf0..1846c3840 100644 --- a/gst/rist/gstristrtxsend.c +++ b/gst/rist/gstristrtxsend.c @@ -329,7 +329,7 @@ gst_rist_rtx_send_get_ssrc_data (GstRistRtxSend * rtx, guint32 ssrc) data = g_hash_table_lookup (rtx->ssrc_data, GUINT_TO_POINTER (ssrc)); if (!data) { - /* See 5.3.2 Retransmitted Packets, orignal packet have SSRC LSB set to + /* See 5.3.2 Retransmitted Packets, original packet have SSRC LSB set to * 0, while RTX packet have LSB set to 1 */ rtx_ssrc = ssrc + 1; data = ssrc_rtx_data_new (rtx_ssrc); diff --git a/gst/rist/gstristsink.c b/gst/rist/gstristsink.c index 08e165712..46d85a0bb 100644 --- a/gst/rist/gstristsink.c +++ b/gst/rist/gstristsink.c @@ -1263,7 +1263,7 @@ gst_rist_sink_class_init (GstRistSinkClass * klass) g_object_class_install_property (object_class, PROP_BONDING_ADDRESSES, g_param_spec_string ("bonding-addresses", "Bonding Addresses", - "Comma (,) seperated list of
: to send to. ", NULL, + "Comma (,) separated list of
: to send to. ", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (object_class, PROP_BONDING_METHOD, diff --git a/gst/rist/gstroundrobin.c b/gst/rist/gstroundrobin.c index 55e4152a3..2ff8ff306 100644 --- a/gst/rist/gstroundrobin.c +++ b/gst/rist/gstroundrobin.c @@ -26,7 +26,7 @@ * buffers over multiple src pads. This is the opposite of tee * element, which duplicates buffers over all pads. This element * can be used to distrute load across multiple branches when the buffer - * can be processed indepently. + * can be processed independently. */ #include "gstroundrobin.h" diff --git a/gst/rtp/gstrtpsrc.c b/gst/rtp/gstrtpsrc.c index 387c69157..800b67df9 100644 --- a/gst/rtp/gstrtpsrc.c +++ b/gst/rtp/gstrtpsrc.c @@ -450,7 +450,7 @@ gst_rtp_src_rtpbin_on_ssrc_collision_cb (GstElement * rtpbin, guint session_id, GstRtpSrc *self = GST_RTP_SRC (data); GST_INFO_OBJECT (self, - "Dectected an SSRC collision: session-id 0x%x, ssrc 0x%x.", session_id, + "Detected an SSRC collision: session-id 0x%x, ssrc 0x%x.", session_id, ssrc); } @@ -460,7 +460,7 @@ gst_rtp_src_rtpbin_on_new_ssrc_cb (GstElement * rtpbin, guint session_id, { GstRtpSrc *self = GST_RTP_SRC (data); - GST_INFO_OBJECT (self, "Dectected a new SSRC: session-id 0x%x, ssrc 0x%x.", + GST_INFO_OBJECT (self, "Detected a new SSRC: session-id 0x%x, ssrc 0x%x.", session_id, ssrc); } diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c index 2e5e49f2d..37facafaf 100644 --- a/gst/videoparsers/gsth264parse.c +++ b/gst/videoparsers/gsth264parse.c @@ -401,7 +401,7 @@ gst_h264_parse_negotiate (GstH264Parse * h264parse, gint in_format, } } - /* FIXME We could fail the negotiation immediatly if caps are empty */ + /* FIXME We could fail the negotiation immediately if caps are empty */ if (caps && !gst_caps_is_empty (caps)) { /* fixate to avoid ambiguity with lists when parsing */ caps = gst_caps_fixate (caps); @@ -936,7 +936,7 @@ gst_h264_parse_process_nal (GstH264Parse * h264parse, GstH264NalUnit * nalu) GST_DEBUG_OBJECT (h264parse, "marking IDR in frame at offset %d", h264parse->idr_pos); } - /* if SEI preceeds (faked) IDR, then we have to insert config there */ + /* if SEI precedes (faked) IDR, then we have to insert config there */ if (h264parse->sei_pos >= 0 && h264parse->idr_pos > h264parse->sei_pos) { h264parse->idr_pos = h264parse->sei_pos; GST_DEBUG_OBJECT (h264parse, "moved IDR mark to SEI position %d", @@ -2576,7 +2576,7 @@ gst_h264_parse_pre_push_frame (GstBaseParse * parse, GstBaseParseFrame * frame) h264parse->sent_codec_tag = TRUE; } - /* In case of byte-stream, insert au delimeter by default + /* In case of byte-stream, insert au delimiter by default * if it doesn't exist */ if (h264parse->aud_insert && h264parse->format == GST_H264_PARSE_FORMAT_BYTE) { if (h264parse->align == GST_H264_PARSE_ALIGN_AU) { @@ -2669,7 +2669,7 @@ gst_h264_parse_pre_push_frame (GstBaseParse * parse, GstBaseParseFrame * frame) } } - /* Fixme: setting passthrough mode casuing multiple issues: + /* Fixme: setting passthrough mode causing multiple issues: * For nal aligned multiresoluton streams, passthrough mode make h264parse * unable to advertise the new resoultions. Also causing issues while * parsing MVC streams when it has two layers. diff --git a/gst/videoparsers/gsth265parse.c b/gst/videoparsers/gsth265parse.c index 0dddb8615..6277fee4c 100644 --- a/gst/videoparsers/gsth265parse.c +++ b/gst/videoparsers/gsth265parse.c @@ -390,7 +390,7 @@ gst_h265_parse_negotiate (GstH265Parse * h265parse, gint in_format, } } - /* FIXME We could fail the negotiation immediatly if caps are empty */ + /* FIXME We could fail the negotiation immediately if caps are empty */ if (caps && !gst_caps_is_empty (caps)) { /* fixate to avoid ambiguity with lists when parsing */ caps = gst_caps_fixate (caps); diff --git a/gst/videoparsers/gstmpeg4videoparse.c b/gst/videoparsers/gstmpeg4videoparse.c index 298887095..e6628e4ba 100644 --- a/gst/videoparsers/gstmpeg4videoparse.c +++ b/gst/videoparsers/gstmpeg4videoparse.c @@ -846,7 +846,7 @@ gst_mpeg4vparse_set_caps (GstBaseParse * parse, GstCaps * caps) && (buf = gst_value_get_buffer (value))) { /* best possible parse attempt, * src caps are based on sink caps so it will end up in there - * whether sucessful or not */ + * whether successful or not */ gst_buffer_map (buf, &map, GST_MAP_READ); data = map.data; size = map.size; diff --git a/gst/videoparsers/gstmpegvideoparse.c b/gst/videoparsers/gstmpegvideoparse.c index 3eb759d84..ed085ce7b 100644 --- a/gst/videoparsers/gstmpegvideoparse.c +++ b/gst/videoparsers/gstmpegvideoparse.c @@ -137,7 +137,7 @@ gst_mpegv_parse_class_init (GstMpegvParseClass * klass) g_object_class_install_property (gobject_class, PROP_DROP, g_param_spec_boolean ("drop", "drop", - "Drop data untill valid configuration data is received either " + "Drop data until valid configuration data is received either " "in the stream or through caps", DEFAULT_PROP_DROP, G_PARAM_CONSTRUCT | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); @@ -1069,7 +1069,7 @@ gst_mpegv_parse_set_caps (GstBaseParse * parse, GstCaps * caps) gst_buffer_map (buf, &map, GST_MAP_READ); /* best possible parse attempt, * src caps are based on sink caps so it will end up in there - * whether sucessful or not */ + * whether successful or not */ mpvparse->seq_offset = 4; gst_mpegv_parse_process_config (mpvparse, &map, gst_buffer_get_size (buf)); gst_buffer_unmap (buf, &map); diff --git a/gst/videoparsers/h263parse.c b/gst/videoparsers/h263parse.c index 5ed99f712..dd8f1a07f 100644 --- a/gst/videoparsers/h263parse.c +++ b/gst/videoparsers/h263parse.c @@ -465,7 +465,7 @@ gst_h263_parse_get_params (H263Params * params, GstBuffer * buffer, /* FIXME: Annex P (Reference Picture Resampling) can be signaled implicitly * as well as in the header. Should we set the field to false in caps if it - * is not specfied by the header? */ + * is not specified by the header? */ /* FIXME: Annex U (Enhanced Reference Picture Selection) poses a problem - we * have no means of specifying what sub-modes, if any, are used. */ diff --git a/gst/vmnc/vmncdec.c b/gst/vmnc/vmncdec.c index cbbaeb6b4..40eb20cbb 100644 --- a/gst/vmnc/vmncdec.c +++ b/gst/vmnc/vmncdec.c @@ -235,12 +235,12 @@ vmnc_handle_wmvi_rectangle (GstVMncDec * dec, struct RfbRectangle *rect, format = gst_video_format_from_masks (dec->format.depth, bpp, endianness, redmask, greenmask, bluemask, 0); - GST_DEBUG_OBJECT (dec, "From depth: %d bpp: %u endianess: %s redmask: %X " + GST_DEBUG_OBJECT (dec, "From depth: %d bpp: %u endianness: %s redmask: %X " "greenmask: %X bluemask: %X got format %s", dec->format.depth, bpp, endianness == G_BIG_ENDIAN ? "BE" : "LE", GUINT32_FROM_BE (redmask), GUINT32_FROM_BE (greenmask), GUINT32_FROM_BE (bluemask), - format == GST_VIDEO_FORMAT_UNKNOWN ? "UNKOWN" : + format == GST_VIDEO_FORMAT_UNKNOWN ? "UNKNOWN" : gst_video_format_to_string (format)); if (format == GST_VIDEO_FORMAT_UNKNOWN) { diff --git a/hooks/pre-commit.hook b/hooks/pre-commit.hook index 3c1062b9e..6f177402b 100755 --- a/hooks/pre-commit.hook +++ b/hooks/pre-commit.hook @@ -1,6 +1,6 @@ #!/bin/sh # -# Check that the code follows a consistant code style +# Check that the code follows a consistent code style # # Check for existence of indent, and error out if not present. diff --git a/sys/androidmedia/gstahcsrc.c b/sys/androidmedia/gstahcsrc.c index 4519aee70..448e11827 100644 --- a/sys/androidmedia/gstahcsrc.c +++ b/sys/androidmedia/gstahcsrc.c @@ -34,7 +34,7 @@ * directory. * The source will look for the environment variable “TMPâ€� which must contain * the absolute path to a writable directory. - * It can be retreived using the following Java code : + * It can be retrieved using the following Java code : * |[ * context.getCacheDir().getAbsolutePath(); * ]| diff --git a/sys/androidmedia/gstamcvideodec.c b/sys/androidmedia/gstamcvideodec.c index c8e79c29c..923c15570 100644 --- a/sys/androidmedia/gstamcvideodec.c +++ b/sys/androidmedia/gstamcvideodec.c @@ -1075,7 +1075,7 @@ _gl_sync_render_unlocked (struct gl_sync *sync) af_meta = gst_buffer_get_video_affine_transformation_meta (sync->buffer); if (!af_meta) { - GST_WARNING ("Failed to retreive the transformation meta from the " + GST_WARNING ("Failed to retrieve the transformation meta from the " "gl_sync %p buffer %p", sync, sync->buffer); } else if (gst_amc_surface_texture_get_transform_matrix (sync->surface, matrix, &error)) { diff --git a/sys/androidmedia/gstamcvideoenc.c b/sys/androidmedia/gstamcvideoenc.c index e4a668df0..291bd6f3d 100644 --- a/sys/androidmedia/gstamcvideoenc.c +++ b/sys/androidmedia/gstamcvideoenc.c @@ -305,12 +305,12 @@ color_format_info_failed_to_set: return NULL; unsupported_profile: - GST_ERROR_OBJECT (encoder, "Unsupport profile '%s'", profile_string); + GST_ERROR_OBJECT (encoder, "Unsupported profile '%s'", profile_string); gst_amc_format_free (format); return NULL; unsupported_level: - GST_ERROR_OBJECT (encoder, "Unsupport level '%s'", level_string); + GST_ERROR_OBJECT (encoder, "Unsupported level '%s'", level_string); gst_amc_format_free (format); return NULL; } @@ -409,14 +409,14 @@ caps_from_amc_format (GstAmcFormat * amc_format) return caps; unsupported_profile: - GST_ERROR ("Unsupport amc profile id %d", amc_profile); + GST_ERROR ("Unsupported amc profile id %d", amc_profile); g_free (mime); gst_caps_unref (caps); return NULL; unsupported_level: - GST_ERROR ("Unsupport amc level id %d", amc_level); + GST_ERROR ("Unsupported amc level id %d", amc_level); g_free (mime); gst_caps_unref (caps); diff --git a/sys/androidmedia/gstjniutils.c b/sys/androidmedia/gstjniutils.c index d7c9da43e..093408243 100644 --- a/sys/androidmedia/gstjniutils.c +++ b/sys/androidmedia/gstjniutils.c @@ -808,21 +808,21 @@ gst_amc_jni_get_application_class (JNIEnv * env, const gchar * name, if (!get_class_loader) { g_set_error (err, GST_LIBRARY_ERROR, GST_LIBRARY_ERROR_FAILED, - "Could not retreive application class loader function"); + "Could not retrieve application class loader function"); goto done; } class_loader = get_class_loader (); if (!class_loader) { g_set_error (err, GST_LIBRARY_ERROR, GST_LIBRARY_ERROR_FAILED, - "Could not retreive application class loader"); + "Could not retrieve application class loader"); goto done; } class_loader_cls = (*env)->GetObjectClass (env, class_loader); if (!class_loader_cls) { g_set_error (err, GST_LIBRARY_ERROR, GST_LIBRARY_ERROR_FAILED, - "Could not retreive application class loader java class"); + "Could not retrieve application class loader java class"); goto done; } diff --git a/sys/applemedia/avfvideosrc.m b/sys/applemedia/avfvideosrc.m index 0ef697da1..a95aee4eb 100644 --- a/sys/applemedia/avfvideosrc.m +++ b/sys/applemedia/avfvideosrc.m @@ -410,7 +410,7 @@ static AVCaptureVideoOrientation GstAVFVideoSourceOrientation2AVCaptureVideoOrie } @catch (NSException *exception) { if (![[exception name] isEqualToString:NSUndefinedKeyException]) { - GST_WARNING ("An unexpected error occured: %s", + GST_WARNING ("An unexpected error occurred: %s", [[exception reason] UTF8String]); } GST_WARNING ("Capturing cursor is only supported in OS X >= 10.8"); @@ -610,7 +610,7 @@ static AVCaptureVideoOrientation GstAVFVideoSourceOrientation2AVCaptureVideoOrie [device setValue:frame_duration_value forKey:@"activeVideoMaxFrameDuration"]; } @catch (NSException *exception) { if (![[exception name] isEqualToString:NSUndefinedKeyException]) { - GST_WARNING ("An unexcepted error occured: %s", + GST_WARNING ("An unexcepted error occurred: %s", [exception.reason UTF8String]); } } @@ -734,7 +734,7 @@ static AVCaptureVideoOrientation GstAVFVideoSourceOrientation2AVCaptureVideoOrie result = gst_caps_merge (result, [self getDeviceCaps]); } @catch (NSException *exception) { if (![[exception name] isEqualToString:NSUndefinedKeyException]) { - GST_WARNING ("An unexcepted error occured: %s", [exception.reason UTF8String]); + GST_WARNING ("An unexcepted error occurred: %s", [exception.reason UTF8String]); return result; } @@ -781,7 +781,7 @@ static AVCaptureVideoOrientation GstAVFVideoSourceOrientation2AVCaptureVideoOrie } @catch (NSException *exception) { if (![[exception name] isEqualToString:NSUndefinedKeyException]) { - GST_WARNING ("An unexcepted error occured: %s", [exception.reason UTF8String]); + GST_WARNING ("An unexcepted error occurred: %s", [exception.reason UTF8String]); *successPtr = NO; return; } diff --git a/sys/applemedia/vtenc.c b/sys/applemedia/vtenc.c index 2be165cd3..9ada8d0a5 100644 --- a/sys/applemedia/vtenc.c +++ b/sys/applemedia/vtenc.c @@ -505,7 +505,7 @@ static GstFlowReturn gst_vtenc_finish_encoding (GstVTEnc * self, gboolean is_flushing) { GST_DEBUG_OBJECT (self, - "complete enconding and clean buffer queue, is flushing %d", is_flushing); + "complete encoding and clean buffer queue, is flushing %d", is_flushing); GstVideoCodecFrame *outframe; GstFlowReturn ret = GST_FLOW_OK; OSStatus vt_status; diff --git a/sys/d3d11/gstd3d11device.c b/sys/d3d11/gstd3d11device.c index ed68aea0c..a5d8834cd 100644 --- a/sys/d3d11/gstd3d11device.c +++ b/sys/d3d11/gstd3d11device.c @@ -730,7 +730,7 @@ gst_d3d11_device_create_swap_chain_internal (GstD3D11Device * device, * @device: a #GstD3D11Device * @desc: a DXGI_SWAP_CHAIN_DESC structure for swapchain * - * Creat a IDXGISwapChain object. Caller must release returned swap chain object + * Create a IDXGISwapChain object. Caller must release returned swap chain object * via IDXGISwapChain_Release() * * Returns: (transfer full) (nullable): a new IDXGISwapChain or %NULL diff --git a/sys/d3d11/meson.build b/sys/d3d11/meson.build index 5c0664bf4..759a749bb 100644 --- a/sys/d3d11/meson.build +++ b/sys/d3d11/meson.build @@ -28,7 +28,7 @@ if not have_d3d11 subdir_done() endif -# required for HDR meatadata +# required for HDR metadata if cc.has_header('dxgi1_5.h') extra_c_args += ['-DHAVE_DXGI_1_5_H'] endif diff --git a/sys/d3dvideosink/d3dhelpers.c b/sys/d3dvideosink/d3dhelpers.c index f6a7b8dc0..031c12f9e 100644 --- a/sys/d3dvideosink/d3dhelpers.c +++ b/sys/d3dvideosink/d3dhelpers.c @@ -1050,7 +1050,7 @@ d3d_window_wndproc_unset (GstD3DVideoSink * sink) goto end; } - /* Restore orignal WndProc for window_handle */ + /* Restore original WndProc for window_handle */ if (!SetWindowLongPtr (sink->d3d.window_handle, GWLP_WNDPROC, (LONG_PTR) sink->d3d.orig_wnd_proc)) { GST_WARNING_OBJECT (sink, "D3D failed to set original WndProc"); diff --git a/sys/d3dvideosink/d3dvideosink.c b/sys/d3dvideosink/d3dvideosink.c index 43e4322e1..582b23fc1 100644 --- a/sys/d3dvideosink/d3dvideosink.c +++ b/sys/d3dvideosink/d3dvideosink.c @@ -527,7 +527,7 @@ gst_d3dvideosink_propose_allocation (GstBaseSink * bsink, GstQuery * query) /* PUBLIC FUNCTIONS */ -/* Iterface Registrations */ +/* Interface Registrations */ static void gst_d3dvideosink_video_overlay_interface_init (GstVideoOverlayInterface * iface) diff --git a/sys/decklink/gstdecklink.cpp b/sys/decklink/gstdecklink.cpp index a9338eb00..0fed8b019 100644 --- a/sys/decklink/gstdecklink.cpp +++ b/sys/decklink/gstdecklink.cpp @@ -1235,7 +1235,7 @@ gst_decklink_com_thread (gpointer data) else if (res == RPC_E_CHANGED_MODE) GST_WARNING ("The concurrency model of COM has changed."); else - GST_INFO ("COM intialized succesfully"); + GST_INFO ("COM initialized successfully"); com_initialized = TRUE; @@ -1244,12 +1244,12 @@ gst_decklink_com_thread (gpointer data) g_mutex_unlock (&com_init_lock); - /* Wait until the unitialize condition is met to leave the COM apartement */ + /* Wait until the uninitialize condition is met to leave the COM apartement */ g_mutex_lock (&com_deinit_lock); g_cond_wait (&com_deinit_cond, &com_deinit_lock); CoUninitialize (); - GST_INFO ("COM unintialized succesfully"); + GST_INFO ("COM uninitialized successfully"); com_initialized = FALSE; g_cond_signal (&com_deinited_cond); g_mutex_unlock (&com_deinit_lock); @@ -1576,7 +1576,7 @@ gst_decklink_release_nth_input (gint n, GstElement * src, gboolean is_audio) * the parent device is also checked and configured accordingly. * * If - * - full-duplex-mode is requsted and the device does not support it *or* + * - full-duplex-mode is requested and the device does not support it *or* * - half-duplex-mode is requested and there is not parent-device *or* * - half-duplex-mode is requested and neither the device nor the parent device does support setting * the duplex-mode, DUPLEX_MODE_SET_UNSUPPORTED is returnded. diff --git a/sys/decklink/gstdecklinkvideosink.cpp b/sys/decklink/gstdecklinkvideosink.cpp index e21f3f596..5ddbe0a2a 100644 --- a/sys/decklink/gstdecklinkvideosink.cpp +++ b/sys/decklink/gstdecklinkvideosink.cpp @@ -34,7 +34,7 @@ * * # Duplex-Mode: * Certain DechLink Cards like the Duo2 or the Quad2 contain two or four - * independant SDI units with two connectors each. These units can operate either + * independent SDI units with two connectors each. These units can operate either * in half- or in full-duplex mode. * * The Duplex-Mode of a Card can be configured using the `duplex-mode`-Property. @@ -42,7 +42,7 @@ * * ## Half-Duplex-Mode (default): * By default decklinkvideosink will configure them into half-duplex mode, so that - * each connector acts as if it were an independant DeckLink Card which can either + * each connector acts as if it were an independent DeckLink Card which can either * be used as an Input or as an Output. In this mode the Duo2 can be used as as 4 SDI * In-/Outputs and the Quad2 as 8 SDI In-/Outputs. * diff --git a/sys/decklink/gstdecklinkvideosrc.cpp b/sys/decklink/gstdecklinkvideosrc.cpp index 7be3d244b..4106d68e6 100644 --- a/sys/decklink/gstdecklinkvideosrc.cpp +++ b/sys/decklink/gstdecklinkvideosrc.cpp @@ -35,7 +35,7 @@ * * # Duplex-Mode: * Certain DechLink Cards like the Duo2 or the Quad2 contain two or four - * independant SDI units with two connectors each. These units can operate either + * independent SDI units with two connectors each. These units can operate either * in half- or in full-duplex mode. * * The Duplex-Mode of a Card can be configured using the `duplex-mode`-Property. @@ -43,7 +43,7 @@ * * ## Half-Duplex-Mode (default): * By default decklinkvideosrc will configure them into half-duplex mode, so that - * each connector acts as if it were an independant DeckLink Card which can either + * each connector acts as if it were an independent DeckLink Card which can either * be used as an Input or as an Output. In this mode the Duo2 can be used as as 4 SDI * In-/Outputs and the Quad2 as 8 SDI In-/Outputs. * diff --git a/sys/directsound/gstdirectsoundsrc.c b/sys/directsound/gstdirectsoundsrc.c index be6b2c894..f176faf50 100644 --- a/sys/directsound/gstdirectsoundsrc.c +++ b/sys/directsound/gstdirectsoundsrc.c @@ -536,7 +536,7 @@ gst_directsound_src_prepare (GstAudioSrc * asrc, GstAudioRingBufferSpec * spec) GST_INFO_OBJECT (asrc, "actual latency time: %" G_GUINT64_FORMAT, spec->latency_time); - /* Init secondary buffer desciption */ + /* Init secondary buffer description */ memset (&descSecondary, 0, sizeof (DSCBUFFERDESC)); descSecondary.dwSize = sizeof (DSCBUFFERDESC); descSecondary.dwFlags = 0; diff --git a/sys/dshowdecwrapper/gstdshowaudiodec.cpp b/sys/dshowdecwrapper/gstdshowaudiodec.cpp index ad7385039..e9ee3561f 100644 --- a/sys/dshowdecwrapper/gstdshowaudiodec.cpp +++ b/sys/dshowdecwrapper/gstdshowaudiodec.cpp @@ -403,7 +403,7 @@ gst_dshowaudiodec_com_thread (GstDshowAudioDec * adec) else if (res == RPC_E_CHANGED_MODE) GST_WARNING_OBJECT (adec, "The concurrency model of COM has changed."); else - GST_INFO_OBJECT (adec, "COM intialized succesfully"); + GST_INFO_OBJECT (adec, "COM initialized successfully"); adec->comInitialized = TRUE; @@ -412,12 +412,12 @@ gst_dshowaudiodec_com_thread (GstDshowAudioDec * adec) g_mutex_unlock (&adec->com_init_lock); - /* Wait until the unitialize condition is met to leave the COM apartement */ + /* Wait until the uninitialize condition is met to leave the COM apartement */ g_mutex_lock (&adec->com_deinit_lock); g_cond_wait (&adec->com_uninitialize, &adec->com_deinit_lock); CoUninitialize (); - GST_INFO_OBJECT (adec, "COM unintialized succesfully"); + GST_INFO_OBJECT (adec, "COM uninitialized successfully"); adec->comInitialized = FALSE; g_cond_signal (&adec->com_uninitialized); g_mutex_unlock (&adec->com_deinit_lock); @@ -989,7 +989,7 @@ gst_dshowaudiodec_get_filter_settings (GstDshowAudioDec * adec) output_pin = gst_dshow_get_pin_from_filter (adec->decfilter, PINDIR_OUTPUT); if (!output_pin) { GST_ELEMENT_ERROR (adec, CORE, NEGOTIATION, - ("failed getting ouput pin from the decoder"), (NULL)); + ("failed getting output pin from the decoder"), (NULL)); return FALSE; } diff --git a/sys/dshowdecwrapper/gstdshowvideodec.cpp b/sys/dshowdecwrapper/gstdshowvideodec.cpp index 7288f72fd..2f4b4007e 100644 --- a/sys/dshowdecwrapper/gstdshowvideodec.cpp +++ b/sys/dshowdecwrapper/gstdshowvideodec.cpp @@ -448,7 +448,7 @@ gst_dshowvideodec_com_thread (GstDshowVideoDec * vdec) else if (res == RPC_E_CHANGED_MODE) GST_WARNING_OBJECT (vdec, "The concurrency model of COM has changed."); else - GST_INFO_OBJECT (vdec, "COM intialized succesfully"); + GST_INFO_OBJECT (vdec, "COM initialized successfully"); vdec->comInitialized = TRUE; @@ -457,12 +457,12 @@ gst_dshowvideodec_com_thread (GstDshowVideoDec * vdec) g_mutex_unlock (&vdec->com_init_lock); - /* Wait until the unitialize condition is met to leave the COM apartement */ + /* Wait until the uninitialize condition is met to leave the COM apartement */ g_mutex_lock (&vdec->com_deinit_lock); g_cond_wait (&vdec->com_uninitialize, &vdec->com_deinit_lock); CoUninitialize (); - GST_INFO_OBJECT (vdec, "COM unintialized succesfully"); + GST_INFO_OBJECT (vdec, "COM uninitialized successfully"); vdec->comInitialized = FALSE; g_cond_signal (&vdec->com_uninitialized); g_mutex_unlock (&vdec->com_deinit_lock); @@ -485,7 +485,7 @@ gst_dshowvideodec_init (GstDshowVideoDec * vdec) vdec->srcpad = gst_pad_new_from_template (gst_element_class_get_pad_template (element_class, "src"), "src"); -/* needed to implement caps negociation on our src pad */ +/* needed to implement caps negotiation on our src pad */ /* gst_pad_set_getcaps_function (vdec->srcpad, gst_dshowvideodec_src_getcaps); gst_pad_set_setcaps_function (vdec->srcpad, gst_dshowvideodec_src_setcaps);*/ gst_element_add_pad (GST_ELEMENT (vdec), vdec->srcpad); @@ -980,7 +980,7 @@ gst_dshowvideodec_src_getcaps (GstPad * pad) output_pin = gst_dshow_get_pin_from_filter (vdec->decfilter, PINDIR_OUTPUT); if (!output_pin) { GST_ELEMENT_ERROR (vdec, STREAM, FAILED, - ("failed getting ouput pin from the decoder"), (NULL)); + ("failed getting output pin from the decoder"), (NULL)); goto beach; } @@ -1074,7 +1074,7 @@ gst_dshowvideodec_get_filter_output_format (GstDshowVideoDec * vdec, output_pin = gst_dshow_get_pin_from_filter (vdec->decfilter, PINDIR_OUTPUT); if (!output_pin) { GST_ELEMENT_ERROR (vdec, CORE, NEGOTIATION, - ("failed getting ouput pin from the decoder"), (NULL)); + ("failed getting output pin from the decoder"), (NULL)); return FALSE; } diff --git a/sys/dshowdecwrapper/gstdshowvideodec.h b/sys/dshowdecwrapper/gstdshowvideodec.h index 885861fbc..14d1520bd 100644 --- a/sys/dshowdecwrapper/gstdshowvideodec.h +++ b/sys/dshowdecwrapper/gstdshowvideodec.h @@ -89,7 +89,7 @@ struct _GstDshowVideoDec GstFlowReturn last_ret; - /* list of dshow mediatypes coresponding to the caps list */ + /* list of dshow mediatypes corresponding to the caps list */ GList *mediatypes; /* filters interfaces */ diff --git a/sys/dshowsrcwrapper/gstdshow.cpp b/sys/dshowsrcwrapper/gstdshow.cpp index 2b41dcb08..2a457f7b6 100644 --- a/sys/dshowsrcwrapper/gstdshow.cpp +++ b/sys/dshowsrcwrapper/gstdshow.cpp @@ -49,7 +49,7 @@ gst_dshow_free_mediatype (AM_MEDIA_TYPE * pmt) pmt->pbFormat = NULL; } if (pmt->pUnk != NULL) { - /* Unecessary because pUnk should not be used, but safest. */ + /* Unnecessary because pUnk should not be used, but safest. */ pmt->pUnk->Release (); pmt->pUnk = NULL; } @@ -205,7 +205,7 @@ gst_dshow_find_filter (CLSID input_majortype, CLSID input_subtype, if (filter) *filter = NULL; - /* create a private copy of prefered filter substring in upper case */ + /* create a private copy of preferred filter substring in upper case */ if (prefered_filter_name) { prefered_filter_upper = g_strdup (prefered_filter_name); _strupr (prefered_filter_upper); diff --git a/sys/dshowsrcwrapper/gstdshowaudiosrc.cpp b/sys/dshowsrcwrapper/gstdshowaudiosrc.cpp index f7976315a..f69799f14 100644 --- a/sys/dshowsrcwrapper/gstdshowaudiosrc.cpp +++ b/sys/dshowsrcwrapper/gstdshowaudiosrc.cpp @@ -507,7 +507,7 @@ gst_dshowaudiosrc_prepare (GstAudioSrc * asrc, GstAudioRingBufferSpec * spec) src->is_running = FALSE; } - /* search the negociated caps in our caps list to get its index and the corresponding mediatype */ + /* search the negotiated caps in our caps list to get its index and the corresponding mediatype */ if (gst_caps_is_subset (spec->caps, src->caps)) { guint i = 0; gint res = -1; diff --git a/sys/dshowsrcwrapper/gstdshowvideosrc.cpp b/sys/dshowsrcwrapper/gstdshowvideosrc.cpp index 4127d537a..483c29d8d 100644 --- a/sys/dshowsrcwrapper/gstdshowvideosrc.cpp +++ b/sys/dshowsrcwrapper/gstdshowvideosrc.cpp @@ -196,7 +196,7 @@ gst_dshowvideosrc_init (GstDshowVideoSrc * src) static GstCaps * gst_dshowvideosrc_src_fixate (GstBaseSrc * bsrc, GstCaps * caps) { - /* If there is no desired video size, set default video size to device preffered video size */ + /* If there is no desired video size, set default video size to device preferred video size */ GstDshowVideoSrc *src = GST_DSHOWVIDEOSRC (bsrc); GstStructure *structure = gst_caps_get_structure (caps, 0); @@ -497,7 +497,7 @@ gst_dshowvideosrc_start (GstBaseSrc * bsrc) src->video_cap_filter, (GList**)&src->pins_mediatypes); if (gst_caps_is_empty (src->caps)) { GST_ELEMENT_ERROR (src, RESOURCE, FAILED, - ("Failed to get any caps from devce"), (NULL)); + ("Failed to get any caps from device"), (NULL)); return FALSE; } @@ -649,7 +649,7 @@ gst_dshowvideosrc_set_caps (GstBaseSrc * bsrc, GstCaps * caps) src->is_running = FALSE; } - /* search the negociated caps in our caps list to get its index and the corresponding mediatype */ + /* search the negotiated caps in our caps list to get its index and the corresponding mediatype */ if (gst_caps_is_subset (caps, src->caps)) { guint i = 0; gint res = -1; @@ -745,7 +745,7 @@ gst_dshowvideosrc_set_caps (GstBaseSrc * bsrc, GstCaps * caps) goto error; } - /* save width and height negociated */ + /* save width and height negotiated */ gst_structure_get_int (s, "width", &src->width); gst_structure_get_int (s, "height", &src->height); diff --git a/sys/dshowvideosink/dshowvideosink.cpp b/sys/dshowvideosink/dshowvideosink.cpp index cc9d332a8..f6e2d000e 100644 --- a/sys/dshowvideosink/dshowvideosink.cpp +++ b/sys/dshowvideosink/dshowvideosink.cpp @@ -369,7 +369,7 @@ gst_dshowvideosink_com_thread (GstDshowVideoSink * sink) else if (res == RPC_E_CHANGED_MODE) GST_WARNING_OBJECT (sink, "The concurrency model of COM has changed."); else - GST_INFO_OBJECT (sink, "COM intialized succesfully"); + GST_INFO_OBJECT (sink, "COM initialized successfully"); sink->comInitialized = TRUE; @@ -378,12 +378,12 @@ gst_dshowvideosink_com_thread (GstDshowVideoSink * sink) g_mutex_unlock (&sink->com_init_lock); - /* Wait until the unitialize condition is met to leave the COM apartement */ + /* Wait until the uninitialize condition is met to leave the COM apartement */ g_mutex_lock (&sink->com_deinit_lock); g_cond_wait (&sink->com_uninitialize, &sink->com_deinit_lock); CoUninitialize (); - GST_INFO_OBJECT (sink, "COM unintialized succesfully"); + GST_INFO_OBJECT (sink, "COM uninitialized successfully"); sink->comInitialized = FALSE; g_cond_signal (&sink->com_uninitialized); g_mutex_unlock (&sink->com_deinit_lock); @@ -1561,7 +1561,7 @@ gst_dshowvideosink_set_caps (GstBaseSink * bsink, GstCaps * caps) sink->fakesrc->GetOutputPin()->SetMediaType (&sink->mediatype); GST_DEBUG_OBJECT (sink, "Configured output pin media type"); - /* We have configured the ouput pin media type. + /* We have configured the output pin media type. * So, create a window (or start using an application-supplied * one, then connect the graph */ gst_dshowvideosink_prepare_window (sink); diff --git a/sys/dvb/camtransport.c b/sys/dvb/camtransport.c index 839c1fe96..50765c481 100644 --- a/sys/dvb/camtransport.c +++ b/sys/dvb/camtransport.c @@ -246,7 +246,7 @@ cam_tl_connection_write_tpdu (CamTLConnection * connection, tl->expected_tpdus += 1; - GST_DEBUG ("Sucess writing tpdu 0x%x (%s)", buffer[2], + GST_DEBUG ("Success writing tpdu 0x%x (%s)", buffer[2], tag_get_name (buffer[2])); return CAM_RETURN_OK; diff --git a/sys/dvb/dvbbasebin.c b/sys/dvb/dvbbasebin.c index 1a76e841f..f7e2fa547 100644 --- a/sys/dvb/dvbbasebin.c +++ b/sys/dvb/dvbbasebin.c @@ -422,7 +422,7 @@ dvb_base_bin_class_init (DvbBaseBinClass * klass) * DvbBaseBin::tuning-start: * @dvbbasebin: the element on which the signal is emitted * - * Signal emited when the element first attempts to tune the + * Signal emitted when the element first attempts to tune the * frontend tunner to a given frequency. */ dvb_base_bin_signals[SIGNAL_TUNING_START] = @@ -432,7 +432,7 @@ dvb_base_bin_class_init (DvbBaseBinClass * klass) * DvbBaseBin::tuning-done: * @dvbbasebin: the element on which the signal is emitted * - * Signal emited when the tunner has successfully got a lock on a signal. + * Signal emitted when the tunner has successfully got a lock on a signal. */ dvb_base_bin_signals[SIGNAL_TUNING_DONE] = g_signal_new ("tuning-done", G_TYPE_FROM_CLASS (klass), @@ -441,7 +441,7 @@ dvb_base_bin_class_init (DvbBaseBinClass * klass) * DvbBaseBin::tuning-fail: * @dvbbasebin: the element on which the signal is emitted * - * Signal emited when the tunner failed to get a lock on the + * Signal emitted when the tunner failed to get a lock on the * signal. */ dvb_base_bin_signals[SIGNAL_TUNING_FAIL] = @@ -452,7 +452,7 @@ dvb_base_bin_class_init (DvbBaseBinClass * klass) * DvbBaseBin::tune: * @dvbbasesink: the element on which the signal is emitted * - * Signal emited from the application to the element, instructing it + * Signal emitted from the application to the element, instructing it * to tune. */ dvb_base_bin_signals[SIGNAL_TUNE] = diff --git a/sys/dvb/gstdvbsrc.c b/sys/dvb/gstdvbsrc.c index d9bee26ea..4831fca9a 100644 --- a/sys/dvb/gstdvbsrc.c +++ b/sys/dvb/gstdvbsrc.c @@ -659,7 +659,7 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass) g_object_class_install_property (gobject_class, ARG_DVBSRC_FREQUENCY, g_param_spec_uint ("frequency", "Center frequency", "Center frequency to tune into. Measured in kHz for the satellite " - "distribution standars and Hz for all the rest", + "distribution standards and Hz for all the rest", 0, G_MAXUINT, DEFAULT_FREQUENCY, GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); @@ -973,7 +973,7 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass) * GstDvbSrc::tuning-start: * @gstdvbsrc: the element on which the signal is emitted * - * Signal emited when the element first attempts to tune the + * Signal emitted when the element first attempts to tune the * frontend tunner to a given frequency. */ gst_dvbsrc_signals[SIGNAL_TUNING_START] = @@ -983,7 +983,7 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass) * GstDvbSrc::tuning-done: * @gstdvbsrc: the element on which the signal is emitted * - * Signal emited when the tunner has successfully got a lock on a signal. + * Signal emitted when the tunner has successfully got a lock on a signal. */ gst_dvbsrc_signals[SIGNAL_TUNING_DONE] = g_signal_new ("tuning-done", G_TYPE_FROM_CLASS (klass), @@ -992,7 +992,7 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass) * GstDvbSrc::tuning-fail: * @gstdvbsrc: the element on which the signal is emitted * - * Signal emited when the tunner failed to get a lock on the + * Signal emitted when the tunner failed to get a lock on the * signal. */ gst_dvbsrc_signals[SIGNAL_TUNING_FAIL] = @@ -1003,7 +1003,7 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass) * GstDvbSrc::tune: * @gstdvbsrc: the element on which the signal is emitted * - * Signal emited from the application to the element, instructing it + * Signal emitted from the application to the element, instructing it * to tune. */ gst_dvbsrc_signals[SIGNAL_TUNE] = @@ -2332,7 +2332,7 @@ gst_dvbsrc_tune_fe (GstDvbSrc * object) return FALSE; } - /* If set, confirm the choosen delivery system is actually + /* If set, confirm the chosen delivery system is actually * supported by the hardware */ if (object->delsys != SYS_UNDEFINED) { GST_DEBUG_OBJECT (object, "Confirming delivery system '%u' is supported", diff --git a/sys/ipcpipeline/gstipcpipelinesink.c b/sys/ipcpipeline/gstipcpipelinesink.c index 5940d9740..30c0df479 100644 --- a/sys/ipcpipeline/gstipcpipelinesink.c +++ b/sys/ipcpipeline/gstipcpipelinesink.c @@ -57,7 +57,7 @@ * serialized in a "packet" and sent over the socket. The sender then * performs a blocking wait for a reply, if a return code is needed. * - * All objects that contan a GstStructure (messages, queries, events) are + * All objects that contain a GstStructure (messages, queries, events) are * serialized by serializing the GstStructure to a string * (gst_structure_to_string). This implies some limitations, of course. * All fields of this structures that are not serializable to strings (ex. @@ -644,7 +644,7 @@ gst_ipc_pipeline_sink_change_state (GstElement * element, /* change the state of the peer first */ /* If the fd out is -1, we do not actually call the peer. This will happen - when we explicitely disconnected, and in that case we want to be able + when we explicitly disconnected, and in that case we want to be able to bring the element down to NULL, so it can be restarted with a new slave pipeline. */ if (sink->comm.fdout >= 0) { @@ -714,7 +714,7 @@ gst_ipc_pipeline_sink_change_state (GstElement * element, } /* the parent's (GstElement) state change func won't return ASYNC or - * NO_PREROLL, so unless it has returned FAILURE, which we have catched above, + * NO_PREROLL, so unless it has returned FAILURE, which we have caught above, * we are not interested in its return code... just return the peer's */ return peer_ret; } diff --git a/sys/ipcpipeline/gstipcslavepipeline.c b/sys/ipcpipeline/gstipcslavepipeline.c index 2c9dd1516..3ec512ef8 100644 --- a/sys/ipcpipeline/gstipcslavepipeline.c +++ b/sys/ipcpipeline/gstipcslavepipeline.c @@ -92,7 +92,7 @@ send_message_if_ipcpipelinesrc (const GValue * v, GValue * r, if (et == GST_TYPE_IPC_PIPELINE_SRC) { g_signal_emit_by_name (G_OBJECT (e), "forward-message", message, &ret); - /* if we succesfully sent this to the master and it's not ASYNC_DONE or EOS, + /* if we successfully sent this to the master and it's not ASYNC_DONE or EOS, * we can skip sending it again through the other ipcpipelinesrcs */ if (ret && GST_MESSAGE_TYPE (message) != GST_MESSAGE_ASYNC_DONE && GST_MESSAGE_TYPE (message) != GST_MESSAGE_EOS) diff --git a/sys/kms/gstkmssink.c b/sys/kms/gstkmssink.c index 488c5bcbf..b5815a9c9 100644 --- a/sys/kms/gstkmssink.c +++ b/sys/kms/gstkmssink.c @@ -1122,7 +1122,7 @@ gst_kms_sink_set_caps (GstBaseSink * bsink, GstCaps * caps) self = GST_KMS_SINK (bsink); /* We are going to change the internal buffer pool, which means it will no - * longer be compatbile with the last_buffer size. Drain now, as we won't be + * longer be compatible with the last_buffer size. Drain now, as we won't be * able to do that later on. */ gst_kms_sink_drain (self); @@ -2006,7 +2006,7 @@ gst_kms_sink_class_init (GstKMSSinkClass * klass) */ g_properties[PROP_CONNECTOR_PROPS] = g_param_spec_boxed ("connector-properties", "Connector Properties", - "Additionnal properties for the connector", + "Additional properties for the connector", GST_TYPE_STRUCTURE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); /** @@ -2019,7 +2019,7 @@ gst_kms_sink_class_init (GstKMSSinkClass * klass) */ g_properties[PROP_PLANE_PROPS] = g_param_spec_boxed ("plane-properties", "Connector Plane", - "Additionnal properties for the plane", + "Additional properties for the plane", GST_TYPE_STRUCTURE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); g_object_class_install_properties (gobject_class, PROP_N, g_properties); diff --git a/sys/msdk/gstmsdkallocator_libva.c b/sys/msdk/gstmsdkallocator_libva.c index 05ffa5928..6aedf47c5 100644 --- a/sys/msdk/gstmsdkallocator_libva.c +++ b/sys/msdk/gstmsdkallocator_libva.c @@ -651,7 +651,7 @@ gst_msdk_replace_mfx_memid (GstMsdkContext * context, msdk_mid = (GstMsdkMemoryID *) mfx_surface->Data.MemId; dpy = gst_msdk_context_get_handle (context); - /* Destory the underlined VAImage if already mapped */ + /* Destroy the underlined VAImage if already mapped */ if (msdk_mid->image.image_id != VA_INVALID_ID && msdk_mid->image.buf != VA_INVALID_ID) { status = diff --git a/sys/msdk/gstmsdkbufferpool.c b/sys/msdk/gstmsdkbufferpool.c index c8c6157dc..4d8ad3bac 100644 --- a/sys/msdk/gstmsdkbufferpool.c +++ b/sys/msdk/gstmsdkbufferpool.c @@ -297,7 +297,7 @@ gst_msdk_buffer_pool_acquire_buffer (GstBufferPool * pool, } } #ifndef _WIN32 - /* When using dmabuf, we should confirm that the fd of memeory and + /* When using dmabuf, we should confirm that the fd of memory and * the fd of surface match, since there is no guarantee that fd matches * between surface and memory. */ diff --git a/sys/msdk/gstmsdkenc.c b/sys/msdk/gstmsdkenc.c index 64dea7513..62187364e 100644 --- a/sys/msdk/gstmsdkenc.c +++ b/sys/msdk/gstmsdkenc.c @@ -148,7 +148,7 @@ ensure_bitrate_control (GstMsdkEnc * thiz) GST_DEBUG_OBJECT (thiz, "set target bitrate: %u kbit/sec", thiz->bitrate); mfx->RateControlMethod = thiz->rate_control; - /* No effect in CQP varient algorithms */ + /* No effect in CQP variant algorithms */ if ((mfx->RateControlMethod != MFX_RATECONTROL_CQP) && (thiz->bitrate > G_MAXUINT16 || thiz->max_vbv_bitrate > G_MAXUINT16)) { mfxU32 max_val = MAX (thiz->max_vbv_bitrate, thiz->bitrate); diff --git a/sys/msdk/gstmsdkh264enc.c b/sys/msdk/gstmsdkh264enc.c index a47489be1..b77d15c29 100644 --- a/sys/msdk/gstmsdkh264enc.c +++ b/sys/msdk/gstmsdkh264enc.c @@ -539,7 +539,7 @@ gst_msdkh264enc_class_init (GstMsdkH264EncClass * klass) g_object_class_install_property (gobject_class, PROP_B_PYRAMID, g_param_spec_boolean ("b-pyramid", "B-pyramid", - "Enable B-Pyramid Referene structure", FALSE, + "Enable B-Pyramid Reference structure", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); gst_element_class_set_static_metadata (element_class, diff --git a/sys/msdk/gstmsdksystemmemory.c b/sys/msdk/gstmsdksystemmemory.c index 74bac7262..95217dd58 100644 --- a/sys/msdk/gstmsdksystemmemory.c +++ b/sys/msdk/gstmsdksystemmemory.c @@ -234,7 +234,7 @@ gst_msdk_system_memory_map_full (GstMemory * base_mem, GstMapInfo * info, if ((info->flags & GST_MAP_WRITE) && mem->surface && mem->surface->Data.Locked) { - GST_WARNING ("The surface in memory %p is not still avaliable", mem); + GST_WARNING ("The surface in memory %p is not still available", mem); return NULL; } diff --git a/sys/msdk/gstmsdkvc1dec.c b/sys/msdk/gstmsdkvc1dec.c index 89e73a42a..5438ed1ba 100644 --- a/sys/msdk/gstmsdkvc1dec.c +++ b/sys/msdk/gstmsdkvc1dec.c @@ -93,7 +93,7 @@ gst_msdkvc1dec_configure (GstMsdkDec * decoder) decoder->param.mfx.CodecProfile = MFX_PROFILE_VC1_MAIN; else { decoder->param.mfx.CodecProfile = MFX_PROFILE_VC1_ADVANCED; - /* asf advanced profile codec-data has 1 byte in the begining + /* asf advanced profile codec-data has 1 byte in the beginning * which is the ASF binding byte. MediaSDK can't recognize this * byte, so discard it */ if (decoder->input_state->codec_data) { diff --git a/sys/msdk/gstmsdkvideomemory.c b/sys/msdk/gstmsdkvideomemory.c index 5fc536988..8db07652a 100644 --- a/sys/msdk/gstmsdkvideomemory.c +++ b/sys/msdk/gstmsdkvideomemory.c @@ -107,7 +107,7 @@ gst_msdk_video_memory_get_surface_available (GstMemory * mem) /* * Every time releasing a gst buffer, we need to check the status of surface's lock, - * so that we could manage locked surfaces seperatedly in the context. + * so that we could manage locked surfaces separately in the context. * Otherwise, we put the surface to the available list. */ void @@ -209,7 +209,7 @@ gst_video_meta_map_msdk_memory (GstVideoMeta * meta, guint plane, } if ((flags & GST_MAP_WRITE) && mem->surface && mem->surface->Data.Locked) { - GST_WARNING ("The surface in memory %p is not still avaliable", mem); + GST_WARNING ("The surface in memory %p is not still available", mem); return FALSE; } @@ -305,7 +305,7 @@ gst_msdk_video_memory_map_full (GstMemory * base_mem, GstMapInfo * info, if ((info->flags & GST_MAP_WRITE) && mem->surface && mem->surface->Data.Locked) { - GST_WARNING ("The surface in memory %p is not still avaliable", mem); + GST_WARNING ("The surface in memory %p is not still available", mem); return NULL; } diff --git a/sys/msdk/gstmsdkvpp.c b/sys/msdk/gstmsdkvpp.c index fb8ed163d..66b32e082 100644 --- a/sys/msdk/gstmsdkvpp.c +++ b/sys/msdk/gstmsdkvpp.c @@ -352,7 +352,7 @@ gst_msdkvpp_create_buffer_pool (GstMsdkVPP * thiz, GstPadDirection direction, if (!gst_buffer_pool_set_config (pool, config)) goto error_pool_config; - /* Updating pool_info with algined info of allocator */ + /* Updating pool_info with aligned info of allocator */ *pool_info = info; return pool; @@ -445,7 +445,7 @@ gst_msdkvpp_decide_allocation (GstBaseTransform * trans, GstQuery * query) gst_object_unref (thiz->srcpad_buffer_pool); /* Always create a pool for vpp out buffers. Each of the msdk element - * has to create it's own mfxsurfacepool which is an msdk contraint. + * has to create it's own mfxsurfacepool which is an msdk constraint. * For eg: Each Msdk component (vpp, dec and enc) will invoke the external * Frame allocator for video-memory usage.So sharing the pool between * gst-msdk elements might not be a good idea, rather each element @@ -534,7 +534,7 @@ gst_msdkvpp_propose_allocation (GstBaseTransform * trans, gst_query_add_allocation_param (query, allocator, ¶ms); gst_structure_free (config); - /* if upstream does't have a pool requirement, set only + /* if upstream doesn't have a pool requirement, set only * size, min_buffers and max_buffers in query */ gst_query_add_allocation_pool (query, need_pool ? pool : NULL, size, min_buffers, 0); @@ -808,7 +808,7 @@ vpp_error: error_more_data: GST_WARNING_OBJECT (thiz, - "MSDK Requries additional input for processing, " + "MSDK Requires additional input for processing, " "Retruning FLOW_DROPPED since no output buffer was generated"); ret = GST_BASE_TRANSFORM_FLOW_DROPPED; goto transform_end; @@ -1039,7 +1039,7 @@ gst_msdkvpp_initialize (GstMsdkVPP * thiz) /* Enable the required filters */ ensure_filters (thiz); - /* Add exteneded buffers */ + /* Add extended buffers */ if (thiz->num_extra_params) { thiz->param.NumExtParam = thiz->num_extra_params; thiz->param.ExtParam = thiz->extra_params; diff --git a/sys/msdk/gstmsdkvpputil.c b/sys/msdk/gstmsdkvpputil.c index 7980aa75d..7517bda89 100644 --- a/sys/msdk/gstmsdkvpputil.c +++ b/sys/msdk/gstmsdkvpputil.c @@ -333,7 +333,7 @@ fixate_output_frame_size (GstMsdkVPP * thiz, GstVideoInfo * vinfo, goto done; } - /* If all this failed, keep the height that was nearest to the orignal + /* If all this failed, keep the height that was nearest to the original * height and the nearest possible width. This changes the DAR but * there's not much else to do here. */ diff --git a/sys/msdk/msdk.c b/sys/msdk/msdk.c index 2f4903950..47d0384ab 100644 --- a/sys/msdk/msdk.c +++ b/sys/msdk/msdk.c @@ -141,7 +141,7 @@ msdk_status_to_string (mfxStatus status) default: break; } - return "undefiend error"; + return "undefined error"; } void diff --git a/sys/nvcodec/gstcudautils.c b/sys/nvcodec/gstcudautils.c index fbf5238a3..6510eda4f 100644 --- a/sys/nvcodec/gstcudautils.c +++ b/sys/nvcodec/gstcudautils.c @@ -164,7 +164,7 @@ context_set_cuda_context (GstContext * context, GstCudaContext * cuda_ctx) /** * gst_cuda_ensure_element_context: * @element: the #GstElement running the query - * @device_id: prefered device-id, pass device_id >=0 when + * @device_id: preferred device-id, pass device_id >=0 when * the device_id explicitly required. Otherwise, set -1. * @cuda_ctx: (inout): the resulting #GstCudaContext * @@ -224,7 +224,7 @@ gst_cuda_ensure_element_context (GstElement * element, gint device_id, * gst_cuda_handle_set_context: * @element: a #GstElement * @context: a #GstContext - * @device_id: prefered device-id, pass device_id >=0 when + * @device_id: preferred device-id, pass device_id >=0 when * the device_id explicitly required. Otherwise, set -1. * @cuda_ctx: (inout) (transfer full): location of a #GstCudaContext * @@ -388,7 +388,7 @@ gst_cuda_quark_from_id (GstCudaQuarkId id) /** * gst_cuda_graphics_resource_new: (skip) * @context: (transfer none): a #GstCudaContext - * @graphics_context: (transfer none) (nullable): a grapics API specific context object + * @graphics_context: (transfer none) (nullable): a graphics API specific context object * @type: a #GstCudaGraphicsResourceType of resource registration * * Create new #GstCudaGraphicsResource with given @context and @type diff --git a/sys/nvcodec/gstnvbaseenc.c b/sys/nvcodec/gstnvbaseenc.c index 7a97f7f61..e274bff07 100644 --- a/sys/nvcodec/gstnvbaseenc.c +++ b/sys/nvcodec/gstnvbaseenc.c @@ -978,9 +978,9 @@ gst_nv_base_enc_bitstream_thread (gpointer user_data) GstFlowReturn flow = GST_FLOW_OK; /* overview of operation: - * 1. retreive the next buffer submitted to the bitstream pool + * 1. retrieve the next buffer submitted to the bitstream pool * 2. wait for that buffer to be ready from nvenc (LockBitsream) - * 3. retreive the GstVideoCodecFrame associated with that buffer + * 3. retrieve the GstVideoCodecFrame associated with that buffer * 4. for each buffer in the frame * 4.1 (step 2): wait for that buffer to be ready from nvenc (LockBitsream) * 4.2 create an output GstBuffer from the nvenc buffers @@ -1749,13 +1749,13 @@ gst_nv_base_enc_set_format (GstVideoEncoder * enc, GstVideoCodecState * state) memset (&resource->nv_mapped_resource, 0, sizeof (resource->nv_mapped_resource)); - /* scratch buffer for non-contigious planer into a contigious buffer */ + /* scratch buffer for non-contiguous planer into a contiguous buffer */ cu_ret = CuMemAllocPitch (&resource->cuda_pointer, &resource->cuda_stride, _get_plane_width (info, 0), _get_frame_data_height (info), 16); if (!gst_cuda_result (cu_ret)) { - GST_ERROR_OBJECT (nvenc, "failed to alocate cuda scratch buffer " + GST_ERROR_OBJECT (nvenc, "failed to allocate cuda scratch buffer " "ret %d", cu_ret); g_assert_not_reached (); } diff --git a/sys/uvch264/gstuvch264_src.c b/sys/uvch264/gstuvch264_src.c index f4f153ff7..e370dc641 100644 --- a/sys/uvch264/gstuvch264_src.c +++ b/sys/uvch264/gstuvch264_src.c @@ -432,9 +432,10 @@ gst_uvc_h264_src_class_init (GstUvcH264SrcClass * klass) G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | GST_PARAM_MUTABLE_PLAYING)); g_object_class_install_property (gobject_class, PROP_LTR_ENCODER_CONTROL, - g_param_spec_int ("ltr-encoder-control", "LTR frames controled by device", - "Number of LTR frames the device can control (dynamic control)", - 0, G_MAXUINT8, DEFAULT_LTR_ENCODER_CONTROL, + g_param_spec_int ("ltr-encoder-control", + "LTR frames controlled by device", + "Number of LTR frames the device can control (dynamic control)", 0, + G_MAXUINT8, DEFAULT_LTR_ENCODER_CONTROL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | GST_PARAM_MUTABLE_PLAYING)); diff --git a/sys/uvch264/gstuvch264deviceprovider.c b/sys/uvch264/gstuvch264deviceprovider.c index f27a72b24..4e7e19b25 100644 --- a/sys/uvch264/gstuvch264deviceprovider.c +++ b/sys/uvch264/gstuvch264deviceprovider.c @@ -23,7 +23,7 @@ * SECTION:provider-uvch264deviceprovider * * Device provider for uvch264 devices, it basically contains - * the same informations as the v4l2 device provider but on top + * the same information as the v4l2 device provider but on top * set the following properties: * * ``` diff --git a/sys/wasapi/gstwasapisink.c b/sys/wasapi/gstwasapisink.c index d21c42f90..0068e7da2 100644 --- a/sys/wasapi/gstwasapisink.c +++ b/sys/wasapi/gstwasapisink.c @@ -614,7 +614,7 @@ gst_wasapi_sink_write (GstAudioSink * asink, gpointer data, guint length) have_frames = length / (self->mix_format->nBlockAlign); if (self->sharemode == AUDCLNT_SHAREMODE_EXCLUSIVE) { - /* In exlusive mode we have to wait always */ + /* In exclusive mode we have to wait always */ dwWaitResult = WaitForSingleObject (self->event_handle, INFINITE); if (dwWaitResult != WAIT_OBJECT_0) { GST_ERROR_OBJECT (self, "Error waiting for event handle: %x", diff --git a/sys/winks/gstksvideodevice.c b/sys/winks/gstksvideodevice.c index 964aed672..7a379b1ec 100644 --- a/sys/winks/gstksvideodevice.c +++ b/sys/winks/gstksvideodevice.c @@ -555,7 +555,7 @@ gst_ks_video_device_create_pin (GstKsVideoDevice * self, } /* - * Figure out how many simultanous requests it prefers. + * Figure out how many simultaneous requests it prefers. * * This is really important as it depends on the driver and the device. * Doing too few will result in poor capture performance, whilst doing too diff --git a/sys/winks/ksvideohelpers.c b/sys/winks/ksvideohelpers.c index 7c1facac3..a5b53c15b 100644 --- a/sys/winks/ksvideohelpers.c +++ b/sys/winks/ksvideohelpers.c @@ -212,7 +212,7 @@ static void guess_aspect (gint width, gint height, gint * par_width, gint * par_height) { /* - * As we dont have access to the actual pixel aspect, we will try to do a + * As we don't have access to the actual pixel aspect, we will try to do a * best-effort guess. The guess is based on most sensors being either 4/3 * or 16/9, and most pixel aspects being close to 1/1. */ diff --git a/sys/winscreencap/gstdx9screencapsrc.c b/sys/winscreencap/gstdx9screencapsrc.c index d3bb78b68..5b2c3ac77 100644 --- a/sys/winscreencap/gstdx9screencapsrc.c +++ b/sys/winscreencap/gstdx9screencapsrc.c @@ -158,7 +158,7 @@ gst_dx9screencapsrc_class_init (GstDX9ScreenCapSrcClass * klass) static void gst_dx9screencapsrc_init (GstDX9ScreenCapSrc * src) { - /* Set src element inital values... */ + /* Set src element initial values... */ src->surface = NULL; src->d3d9_device = NULL; src->capture_x = 0; @@ -549,7 +549,7 @@ gst_dx9screencapsrc_create (GstPushSrc * push_src, GstBuffer ** buf) new_buf_size, width, height); /* Do screen capture and put it into buffer... - * Aquire front buffer, and lock it + * Acquire front buffer, and lock it */ hres = IDirect3DDevice9_GetFrontBufferData (src->d3d9_device, 0, src->surface); diff --git a/sys/winscreencap/gstgdiscreencapsrc.c b/sys/winscreencap/gstgdiscreencapsrc.c index 1ee0400d2..786478eec 100644 --- a/sys/winscreencap/gstgdiscreencapsrc.c +++ b/sys/winscreencap/gstgdiscreencapsrc.c @@ -156,7 +156,7 @@ gst_gdiscreencapsrc_class_init (GstGDIScreenCapSrcClass * klass) static void gst_gdiscreencapsrc_init (GstGDIScreenCapSrc * src) { - /* Set src element inital values... */ + /* Set src element initial values... */ src->dibMem = NULL; src->hBitmap = (HBITMAP) INVALID_HANDLE_VALUE; src->memDC = (HDC) INVALID_HANDLE_VALUE; diff --git a/tests/check/elements/adaptive_demux_engine.h b/tests/check/elements/adaptive_demux_engine.h index b81161c91..8cb1390c8 100644 --- a/tests/check/elements/adaptive_demux_engine.h +++ b/tests/check/elements/adaptive_demux_engine.h @@ -71,7 +71,7 @@ typedef struct _GstAdaptiveDemuxTestCallbacks * appsink_received_data: called each time AppSink receives data * @engine: #GstAdaptiveDemuxTestEngine * @stream: #GstAdaptiveDemuxTestOutputStream - * @buffer: the #GstBuffer that was recevied by #GstAppSink + * @buffer: the #GstBuffer that was received by #GstAppSink * @user_data: the user_data passed to gst_adaptive_demux_test_run() * Returns: %TRUE to continue processing, %FALSE to cause EOS * diff --git a/tests/check/elements/avtpcvfpay.c b/tests/check/elements/avtpcvfpay.c index 9e6c13b25..f3f3c2a35 100644 --- a/tests/check/elements/avtpcvfpay.c +++ b/tests/check/elements/avtpcvfpay.c @@ -462,7 +462,7 @@ GST_START_TEST (test_payloader_single_and_fragment) gst_buffer_unref (out); /* For those wondering why DATA_LEN_4 is 55 and not 50 - or why - * comment above states that NAL units are broken "rougly" at 100 bytes: + * comment above states that NAL units are broken "roughly" at 100 bytes: * With mtu=128, there are only 100 bytes left for NAL units, so anything * bigger will be broken. But AVTP NAL units fragments have a header with * two bytes, so NAL units will use only 98 bytes. This leaves the last diff --git a/tests/check/elements/dash_mpd.c b/tests/check/elements/dash_mpd.c index d9d1432ad..7b88ce587 100644 --- a/tests/check/elements/dash_mpd.c +++ b/tests/check/elements/dash_mpd.c @@ -5813,7 +5813,7 @@ GST_START_TEST (dash_mpdparser_xlink_period) file_uri_double_period = gst_filename_to_uri (XLINK_DOUBLE_PERIOD_FILENAME, NULL); - /* constructs inital mpd using external xml uri */ + /* constructs initial mpd using external xml uri */ /* For invalid URI, mpdparser should be ignore it */ xml_joined = g_strjoin ("", xml_frag_start, xml_uri_front, "http://404/ERROR/XML.period", xml_uri_rear, diff --git a/tests/check/elements/hlsdemux_m3u8.c b/tests/check/elements/hlsdemux_m3u8.c index 7dd398ce2..a418fe9f1 100644 --- a/tests/check/elements/hlsdemux_m3u8.c +++ b/tests/check/elements/hlsdemux_m3u8.c @@ -798,16 +798,16 @@ GST_START_TEST (test_get_next_fragment) GstHLSMasterPlaylist *master; GstM3U8 *pl; GstM3U8MediaFile *mf; - gboolean discontinous; + gboolean discontinuous; GstClockTime timestamp; master = load_playlist (BYTE_RANGES_PLAYLIST); pl = master->default_variant->m3u8; /* Check the next fragment */ - mf = gst_m3u8_get_next_fragment (pl, TRUE, ×tamp, &discontinous); + mf = gst_m3u8_get_next_fragment (pl, TRUE, ×tamp, &discontinuous); fail_unless (mf != NULL); - assert_equals_int (discontinous, FALSE); + assert_equals_int (discontinuous, FALSE); assert_equals_string (mf->uri, "http://media.example.com/all.ts"); assert_equals_uint64 (timestamp, 0); assert_equals_uint64 (mf->duration, 10 * GST_SECOND); @@ -818,9 +818,9 @@ GST_START_TEST (test_get_next_fragment) gst_m3u8_advance_fragment (pl, TRUE); /* Check next media segments */ - mf = gst_m3u8_get_next_fragment (pl, TRUE, ×tamp, &discontinous); + mf = gst_m3u8_get_next_fragment (pl, TRUE, ×tamp, &discontinuous); fail_unless (mf != NULL); - assert_equals_int (discontinous, FALSE); + assert_equals_int (discontinuous, FALSE); assert_equals_string (mf->uri, "http://media.example.com/all.ts"); assert_equals_uint64 (timestamp, 10 * GST_SECOND); assert_equals_uint64 (mf->duration, 10 * GST_SECOND); @@ -831,8 +831,8 @@ GST_START_TEST (test_get_next_fragment) gst_m3u8_advance_fragment (pl, TRUE); /* Check next media segments */ - mf = gst_m3u8_get_next_fragment (pl, TRUE, ×tamp, &discontinous); - assert_equals_int (discontinous, FALSE); + mf = gst_m3u8_get_next_fragment (pl, TRUE, ×tamp, &discontinuous); + assert_equals_int (discontinuous, FALSE); assert_equals_string (mf->uri, "http://media.example.com/all.ts"); assert_equals_uint64 (timestamp, 20 * GST_SECOND); assert_equals_uint64 (mf->duration, 10 * GST_SECOND); diff --git a/tests/check/elements/jifmux.c b/tests/check/elements/jifmux.c index 87895543b..afcf6bfbe 100644 --- a/tests/check/elements/jifmux.c +++ b/tests/check/elements/jifmux.c @@ -991,7 +991,7 @@ libexif_check_tags_from_taglist (GstTagList * taglist, const gchar * filepath) /* iterate over our tag mapping */ for (i = 0; i < G_N_ELEMENTS (tag_map); i++) { if (gst_tag_list_get_value_index (taglist, tag_map[i].gst_tag, 0)) { - /* we have added this field to the taglist, check if it was writen in + /* we have added this field to the taglist, check if it was written in * exif */ libexif_check_tag_exists (taglist, i, exif_data); } diff --git a/tests/check/elements/nvdec.c b/tests/check/elements/nvdec.c index c2dbc296b..866958052 100644 --- a/tests/check/elements/nvdec.c +++ b/tests/check/elements/nvdec.c @@ -133,7 +133,7 @@ GST_START_TEST (test_downstream_reconfigure) GST_BUFFER_DURATION (in_buf) = GST_SECOND; - /* Push bufffers until get decoder output */ + /* Push buffers until get decoder output */ do { fail_if (i > MAX_PUSH_BUFFER); diff --git a/tests/check/libs/insertbin.c b/tests/check/libs/insertbin.c index 40ef3e854..51043b911 100644 --- a/tests/check/libs/insertbin.c +++ b/tests/check/libs/insertbin.c @@ -310,7 +310,7 @@ GST_START_TEST (test_insertbin_simple) /* when removing an element insertbin will look at the pending operations list * and check if that element is pending and remove it before adding. - * So we check that the callback count hapenned before the end, and it + * So we check that the callback count happened before the end, and it * also happens from this same main thread. So we need to store the * streaming thread to restore it after the check */ elem = gst_element_factory_make ("identity", NULL); diff --git a/tests/check/libs/player.c b/tests/check/libs/player.c index a0eae58ff..b7a6fbf9a 100644 --- a/tests/check/libs/player.c +++ b/tests/check/libs/player.c @@ -669,7 +669,7 @@ test_media_info_object (GstPlayer * player, GstPlayerMediaInfo * media_info) { GList *list; - /* gloabl tag */ + /* global tag */ fail_unless (gst_player_media_info_is_seekable (media_info) == TRUE); fail_unless (gst_player_media_info_get_tags (media_info) != NULL); fail_unless_equals_string (gst_player_media_info_get_title (media_info), diff --git a/tests/check/pipelines/ipcpipeline.c b/tests/check/pipelines/ipcpipeline.c index b44cdd6fa..c39126790 100644 --- a/tests/check/pipelines/ipcpipeline.c +++ b/tests/check/pipelines/ipcpipeline.c @@ -1406,7 +1406,7 @@ flushing_seek_probe (GstPad * pad, GstPadProbeInfo * info, gpointer user_data) } } else if (GST_EVENT_TYPE (info->data) == GST_EVENT_SEGMENT) { /* from the sink pipeline, we don't know whether the master issued a seek, - as the seek_sent memory location isn't directly accesible to us, so we + as the seek_sent memory location isn't directly accessible to us, so we look for a segment after a buffer to mean a seek was sent */ idx = pad2idx (pad, td->two_streams); if (d->got_buffer_before_seek[idx]) @@ -5949,7 +5949,7 @@ ipcpipeline_suite (void) /* state_change tests issue a number of state changes in (hopefully) all interesting configurations, and checks - the state changes occured on the slave pipeline. The links + the state changes occurred on the slave pipeline. The links are disconnected and reconnected to check it all still works after this. */ if (1) { diff --git a/tests/examples/ipcpipeline/ipc-play.c b/tests/examples/ipcpipeline/ipc-play.c index 8c817a2c9..33724d2f1 100644 --- a/tests/examples/ipcpipeline/ipc-play.c +++ b/tests/examples/ipcpipeline/ipc-play.c @@ -29,7 +29,7 @@ * while splitting the pipeline in two processes, running the source & demuxer * on the master process and the decoders & sinks on the slave. * See keyboard_cb() for the various keyboard shortcuts you can use to - * interract with it while the video window is focused. + * interact with it while the video window is focused. */ #define _GNU_SOURCE diff --git a/tests/examples/playout.c b/tests/examples/playout.c index 7dcadb6d4..bc6d26d1d 100644 --- a/tests/examples/playout.c +++ b/tests/examples/playout.c @@ -113,7 +113,7 @@ typedef struct gulong video_pad_probe_block_id; /* The current running time of this item; updated with every audio buffer if - * this item has audio; otherwise it's updated withe very video buffer */ + * this item has audio; otherwise it's updated with very video buffer */ guint64 running_time; } PlayoutItem; diff --git a/tools/gst-transcoder.c b/tools/gst-transcoder.c index 553aea210..1b5bbc570 100644 --- a/tools/gst-transcoder.c +++ b/tools/gst-transcoder.c @@ -42,8 +42,8 @@ static const gchar *HELP_SUMMARY = "GstEncodingProfile serialization format\n" "---------------------------------------\n" "\n" - "GStreamer encoding profiles can be descibed with a quite extensive\n" - "syntax which is descibed in the GstEncodingProfile documentation.\n" + "GStreamer encoding profiles can be described with a quite extensive\n" + "syntax which is described in the GstEncodingProfile documentation.\n" "\n" "The simple case looks like:\n" "\n" @@ -237,7 +237,7 @@ _error_cb (GstTranscoder * transcoder, GError * err, GstStructure * details) "msg-source-type", G_TYPE_GTYPE, &type, NULL) && type == g_type_from_name ("GstTranscodeBin")) { error ("\nCould not setup transcoding pipeline," - " make sure that you transcoding format parametters" + " make sure that your transcoding format parameters" " are compatible with the input stream."); return; diff --git a/tools/utils.c b/tools/utils.c index 4f855c565..1ef12adcb 100644 --- a/tools/utils.c +++ b/tools/utils.c @@ -167,7 +167,7 @@ get_profile_type (GstEncodingProfile * profile) else if (GST_IS_ENCODING_VIDEO_PROFILE (profile)) return "Video"; else - return "Unkonwn"; + return "Unknown"; } static void -- cgit v1.2.1