From 46989dca9665f5a1b28a83f68415c91fee7bc051 Mon Sep 17 00:00:00 2001 From: Aaron Boxer Date: Mon, 2 Sep 2019 08:27:35 -0400 Subject: [PATCH] documentation: fix a number of typos --- NEWS | 4 ++-- docs/gst_plugins_cache.json | 12 +++++----- ext/dv/gstdvdemux.c | 6 ++--- ext/flac/gstflactag.c | 2 +- ext/gdk_pixbuf/gstgdkpixbufdec.c | 3 ++- ext/gtk/gstgtkbasesink.c | 2 +- ext/jack/gstjackaudioclient.c | 2 +- ext/jpeg/Makefile.am | 2 +- ext/pulse/pulsesink.c | 10 ++++----- ext/qt/qtwindow.cc | 2 +- ext/raw1394/gstdv1394src.h | 2 +- ext/taglib/gstid3v2mux.cc | 2 +- ext/wavpack/gstwavpackenc.c | 4 ++-- gst/audiofx/audiodynamic.c | 2 +- gst/audiofx/audiofxbasefirfilter.c | 6 ++--- gst/audiofx/audiofxbasefirfilter.h | 2 +- gst/audiofx/gstscaletempo.c | 2 +- gst/audiofx/gstscaletempoplugin.c | 2 +- gst/autodetect/gstautodetect.c | 2 +- gst/avi/gstavidemux.c | 6 ++--- gst/avi/gstavimux.c | 2 +- gst/debugutils/progressreport.c | 2 +- gst/debugutils/rndbuffersize.c | 2 +- gst/deinterlace/gstdeinterlace.c | 4 ++-- gst/deinterlace/tvtime/sse.h | 4 ++-- .../tvtime/tomsmocomp/SearchLoopBottom.inc | 4 ++-- .../tvtime/tomsmocomp/StrangeBob.inc | 2 +- .../tvtime/tomsmocomp/WierdBob.inc | 2 +- gst/deinterlace/tvtime/vfir.c | 2 +- gst/dtmf/gstdtmfsrc.c | 2 +- gst/dtmf/gstrtpdtmfdepay.c | 2 +- gst/dtmf/gstrtpdtmfsrc.c | 2 +- gst/effectv/gstedge.c | 2 +- gst/effectv/gstquark.c | 2 +- gst/flv/gstflvdemux.c | 6 ++--- gst/flv/gstindex.c | 8 +++---- gst/interleave/deinterleave.c | 6 ++--- gst/isomp4/gstqtmux.c | 2 +- gst/isomp4/qtdemux.c | 16 +++++++------- gst/isomp4/qtdemux_lang.c | 2 +- gst/level/gstlevel.c | 2 +- gst/matroska/ebml-write.c | 2 +- gst/matroska/matroska-demux.c | 4 ++-- gst/matroska/matroska-mux.c | 6 ++--- gst/matroska/matroska-parse.c | 6 ++--- gst/matroska/matroska-read-common.c | 10 ++++----- gst/monoscope/monoscope.c | 2 +- gst/multifile/gstmultifilesrc.c | 2 +- gst/multifile/gstsplitmuxpartreader.c | 2 +- gst/multifile/gstsplitmuxsink.c | 2 +- gst/multifile/gstsplitmuxsrc.c | 2 +- gst/multifile/patternspec.c | 2 +- gst/replaygain/replaygain.h | 2 +- gst/rtp/README | 6 ++--- gst/rtp/gstrtpdvdepay.c | 2 +- gst/rtp/gstrtpg726pay.c | 2 +- gst/rtp/gstrtpgstpay.c | 2 +- gst/rtp/gstrtph261pay.c | 4 ++-- gst/rtp/gstrtph263pay.c | 2 +- gst/rtp/gstrtph263ppay.c | 2 +- gst/rtp/gstrtph264depay.c | 2 +- gst/rtp/gstrtph264pay.c | 2 +- gst/rtp/gstrtph265depay.c | 2 +- gst/rtp/gstrtpjpegdepay.c | 2 +- gst/rtp/gstrtpjpegpay.c | 2 +- gst/rtp/gstrtpmp4adepay.c | 2 +- gst/rtp/gstrtpmp4gdepay.c | 2 +- gst/rtp/gstrtpmp4gpay.c | 2 +- gst/rtp/gstrtpmp4vpay.c | 2 +- gst/rtp/gstrtpredenc.c | 6 ++--- gst/rtp/gstrtptheoradepay.c | 2 +- gst/rtp/gstrtpulpfecenc.c | 2 +- gst/rtp/gstrtpvorbisdepay.c | 2 +- gst/rtp/gstrtpvrawdepay.c | 2 +- gst/rtp/rtpstorage.c | 4 ++-- gst/rtp/rtpulpfeccommon.c | 2 +- gst/rtp/rtpulpfeccommon.h | 4 ++-- gst/rtpmanager/gstrtpbin.c | 22 +++++++++---------- gst/rtpmanager/gstrtpjitterbuffer.c | 12 +++++----- gst/rtpmanager/gstrtpptdemux.c | 4 ++-- gst/rtpmanager/gstrtpptdemux.h | 2 +- gst/rtpmanager/gstrtprtxreceive.c | 8 +++---- gst/rtpmanager/gstrtprtxsend.c | 2 +- gst/rtpmanager/gstrtpsession.c | 2 +- gst/rtpmanager/gstrtpssrcdemux.c | 4 ++-- gst/rtpmanager/rtpjitterbuffer.c | 2 +- gst/rtpmanager/rtpsession.c | 2 +- gst/rtpmanager/rtpsession.h | 2 +- gst/rtpmanager/rtpsource.c | 2 +- gst/rtsp/README | 4 ++-- gst/rtsp/gstrtspsrc.c | 8 +++---- gst/spectrum/gstspectrum.h | 2 +- gst/udp/gstmultiudpsink.c | 4 ++-- gst/udp/gstudpsrc.c | 6 ++--- gst/videobox/gstvideobox.c | 6 ++--- gst/videocrop/gstvideocrop.c | 4 ++-- gst/videofilter/gstvideoflip.c | 2 +- gst/videomixer/README | 2 +- gst/videomixer/videomixer2.c | 6 ++--- gst/wavenc/gstwavenc.c | 2 +- gst/wavparse/gstwavparse.c | 6 ++--- hooks/pre-commit.hook | 2 +- m4/aalib.m4 | 2 +- m4/freetype2.m4 | 2 +- m4/glib.m4 | 6 ++--- m4/gst-fionread.m4 | 2 +- m4/gst-matroska.m4 | 2 +- m4/gst-sdl.m4 | 2 +- m4/gst-shout2.m4 | 2 +- m4/gtk.m4 | 6 ++--- m4/libfame.m4 | 6 ++--- m4/ogg.m4 | 2 +- m4/vorbis.m4 | 2 +- sys/oss4/oss4-audio.c | 2 +- sys/oss4/oss4-soundcard.h | 10 ++++----- sys/osxaudio/gstosxcoreaudio.c | 4 ++-- sys/osxvideo/osxvideosink.m | 6 ++--- sys/v4l2/gstv4l2.c | 2 +- sys/v4l2/gstv4l2allocator.c | 4 ++-- sys/v4l2/gstv4l2bufferpool.c | 12 +++++----- sys/v4l2/gstv4l2bufferpool.h | 2 +- sys/v4l2/gstv4l2object.c | 16 +++++++------- sys/v4l2/gstv4l2src.c | 2 +- sys/v4l2/gstv4l2transform.c | 2 +- sys/v4l2/gstv4l2videodec.c | 10 ++++----- sys/v4l2/gstv4l2videoenc.c | 4 ++-- sys/v4l2/v4l2_calls.c | 4 ++-- sys/waveform/gstwaveformsink.c | 8 +++---- sys/ximage/gstximagesrc.c | 2 +- sys/ximage/ximageutil.h | 4 ++-- tests/check/elements/jpegdec.c | 2 +- tests/check/elements/level.c | 2 +- tests/check/elements/qtmux.c | 10 ++++----- tests/check/elements/rgvolume.c | 2 +- tests/check/elements/rtp-payloading.c | 6 ++--- tests/check/elements/rtpbin.c | 2 +- tests/check/elements/rtpjitterbuffer.c | 4 ++-- tests/check/elements/rtpred.c | 2 +- tests/check/elements/rtprtx.c | 6 ++--- tests/check/elements/rtpsession.c | 4 ++-- tests/check/elements/rtpstorage.c | 2 +- tests/check/elements/splitmux.c | 10 ++++----- tests/check/pipelines/simple-launch-lines.c | 2 +- tests/examples/cairo/cairo_overlay.c | 2 +- tests/examples/gtk/glliveshader.c | 2 +- tests/examples/rtp/client-rtpaux.c | 2 +- tests/examples/v4l2/camctrl.c | 2 +- 147 files changed, 282 insertions(+), 281 deletions(-) diff --git a/NEWS b/NEWS index 816a3aae85..817de13720 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/gst_plugins_cache.json b/docs/gst_plugins_cache.json index 7da2409f7f..8efa45201b 100644 --- a/docs/gst_plugins_cache.json +++ b/docs/gst_plugins_cache.json @@ -1700,7 +1700,7 @@ }, "properties": { "drain-on-changes": { - "blurb": "Drains the filter when its coeficients change", + "blurb": "Drains the filter when its coefficients change", "construct": false, "construct-only": false, "default": "true", @@ -2120,7 +2120,7 @@ }, "properties": { "drain-on-changes": { - "blurb": "Drains the filter when its coeficients change", + "blurb": "Drains the filter when its coefficients change", "construct": false, "construct-only": false, "default": "true", @@ -2289,7 +2289,7 @@ "writable": true }, "drain-on-changes": { - "blurb": "Drains the filter when its coeficients change", + "blurb": "Drains the filter when its coefficients change", "construct": false, "construct-only": false, "default": "true", @@ -4563,7 +4563,7 @@ "writable": true }, "min": { - "blurb": "mininum buffer size", + "blurb": "minimum buffer size", "construct": true, "construct-only": false, "default": "1", @@ -29808,7 +29808,7 @@ "writable": true }, "tls-interaction": { - "blurb": "A GTlsInteraction object to promt the user for password or certificate", + "blurb": "A GTlsInteraction object to prompt the user for password or certificate", "construct": false, "construct-only": false, "type-name": "GTlsInteraction", @@ -33823,7 +33823,7 @@ "writable": true }, "multicast-iface": { - "blurb": "The network interface on which to join the multicast group.This allows multiple interfaces seperated by comma. (\"eth0,eth1\")", + "blurb": "The network interface on which to join the multicast group.This allows multiple interfaces separated by comma. (\"eth0,eth1\")", "construct": false, "construct-only": false, "default": "NULL", diff --git a/ext/dv/gstdvdemux.c b/ext/dv/gstdvdemux.c index f0494e2694..f787fea361 100644 --- a/ext/dv/gstdvdemux.c +++ b/ext/dv/gstdvdemux.c @@ -1121,7 +1121,7 @@ gst_dvdemux_handle_pull_seek (GstDVDemux * demux, GstPad * pad, gst_dvdemux_push_event (demux, new_event); } - /* if successfull seek, we update our real segment and push + /* if successful seek, we update our real segment and push * out the new segment. */ if (res) { memcpy (&demux->time_segment, &seeksegment, sizeof (GstSegment)); @@ -1149,7 +1149,7 @@ gst_dvdemux_handle_pull_seek (GstDVDemux * demux, GstPad * pad, demux->need_segment = FALSE; } - /* and restart the task in case it got paused explicitely or by + /* and restart the task in case it got paused explicitly or by * the FLUSH_START event we pushed out. */ gst_pad_start_task (demux->sinkpad, (GstTaskFunction) gst_dvdemux_loop, demux->sinkpad, NULL); @@ -1800,7 +1800,7 @@ gst_dvdemux_loop (GstPad * pad) if (!gst_dvdemux_handle_pull_seek (dvdemux, dvdemux->videosrcpad, event)) { GST_ELEMENT_WARNING (dvdemux, STREAM, DECODE, (NULL), - ("Error perfoming initial seek")); + ("Error performing initial seek")); } gst_event_unref (event); diff --git a/ext/flac/gstflactag.c b/ext/flac/gstflactag.c index 12131cbb8b..1ae694a0c6 100644 --- a/ext/flac/gstflactag.c +++ b/ext/flac/gstflactag.c @@ -31,7 +31,7 @@ * of the FLAC stream. * * Applications can set the tags to write using the #GstTagSetter interface. - * Tags contained withing the FLAC bitstream will be picked up + * Tags contained within the FLAC bitstream will be picked up * automatically (and merged according to the merge mode set via the tag * setter interface). * diff --git a/ext/gdk_pixbuf/gstgdkpixbufdec.c b/ext/gdk_pixbuf/gstgdkpixbufdec.c index c119236a85..dbcac203e3 100644 --- a/ext/gdk_pixbuf/gstgdkpixbufdec.c +++ b/ext/gdk_pixbuf/gstgdkpixbufdec.c @@ -370,7 +370,8 @@ gst_gdk_pixbuf_dec_flush (GstGdkPixbufDec * filter) /* ERRORS */ no_pixbuf: { - GST_ELEMENT_ERROR (filter, STREAM, DECODE, (NULL), ("error geting pixbuf")); + GST_ELEMENT_ERROR (filter, STREAM, DECODE, (NULL), + ("error getting pixbuf")); return GST_FLOW_ERROR; } channels_not_supported: diff --git a/ext/gtk/gstgtkbasesink.c b/ext/gtk/gstgtkbasesink.c index 2f6734fc14..6d4d58edf0 100644 --- a/ext/gtk/gstgtkbasesink.c +++ b/ext/gtk/gstgtkbasesink.c @@ -200,7 +200,7 @@ gst_gtk_base_sink_get_widget (GstGtkBaseSink * gtk_sink) "ignore-alpha", G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE); /* Take the floating ref, other wise the destruction of the container will - * make this widget disapear possibly before we are done. */ + * make this widget disappear possibly before we are done. */ gst_object_ref_sink (gtk_sink->widget); gtk_sink->widget_destroy_id = g_signal_connect (gtk_sink->widget, "destroy", G_CALLBACK (widget_destroy_cb), gtk_sink); diff --git a/ext/jack/gstjackaudioclient.c b/ext/jack/gstjackaudioclient.c index bba2d7de61..98fce3287e 100644 --- a/ext/jack/gstjackaudioclient.c +++ b/ext/jack/gstjackaudioclient.c @@ -591,7 +591,7 @@ gst_jack_audio_client_get_client (GstJackAudioClient * client) * @client: a #GstJackAudioClient * @active: new mode for the client * - * Activate or deactive @client. When a client is activated it will receive + * Activate or deactivate @client. When a client is activated it will receive * callbacks when data should be processed. * * Returns: 0 if all ok. diff --git a/ext/jpeg/Makefile.am b/ext/jpeg/Makefile.am index 7975455400..b0ff322d56 100644 --- a/ext/jpeg/Makefile.am +++ b/ext/jpeg/Makefile.am @@ -4,7 +4,7 @@ libgstjpeg_la_SOURCES = \ gstjpeg.c \ gstjpegenc.c \ gstjpegdec.c -# deprected gstsmokeenc.c smokecodec.c gstsmokedec.c +# deprecated gstsmokeenc.c smokecodec.c gstsmokedec.c libgstjpeg_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) libgstjpeg_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(GST_LIBS) -lgstvideo-$(GST_API_VERSION) \ diff --git a/ext/pulse/pulsesink.c b/ext/pulse/pulsesink.c index e0f536bab6..b3a586608d 100644 --- a/ext/pulse/pulsesink.c +++ b/ext/pulse/pulsesink.c @@ -154,7 +154,7 @@ static guint mainloop_ref_ct = 0; static GMutex pa_shared_resource_mutex; /* We keep a custom ringbuffer that is backed up by data allocated by - * pulseaudio. We must also overide the commit function to write into + * pulseaudio. We must also override the commit function to write into * pulseaudio memory instead. */ struct _GstPulseRingBuffer { @@ -545,7 +545,7 @@ gst_pulseringbuffer_open_device (GstAudioRingBuffer * buf) gst_pulsering_context_subscribe_cb, pctx); /* try to connect to the server and wait for completion, we don't want to - * autospawn a deamon */ + * autospawn a daemon */ GST_LOG_OBJECT (psink, "connect to server %s", GST_STR_NULL (psink->server)); if (pa_context_connect (pctx->context, psink->server, @@ -685,7 +685,7 @@ gst_pulsering_stream_request_cb (pa_stream * s, size_t length, void *userdata) if (pbuf->in_commit && (length >= rbuf->spec.segsize)) { /* only signal when we are waiting in the commit thread - * and got request for atleast a segment */ + * and got request for at least a segment */ pa_threaded_mainloop_signal (mainloop, 0); } } @@ -2431,7 +2431,7 @@ gst_pulsesink_set_volume (GstPulseSink * psink, gdouble volume) if (pbuf->is_pcm) gst_pulse_cvolume_from_linear (&v, pbuf->channels, volume); else - /* FIXME: this will eventually be superceded by checks to see if the volume + /* FIXME: this will eventually be superseded by checks to see if the volume * is readable/writable */ goto unlock; @@ -3003,7 +3003,7 @@ gst_pulsesink_change_props (GstPulseSink * psink, GstTagList * l) static const gchar *const map[] = { GST_TAG_TITLE, PA_PROP_MEDIA_TITLE, - /* might get overriden in the next iteration by GST_TAG_ARTIST */ + /* might get overridden in the next iteration by GST_TAG_ARTIST */ GST_TAG_PERFORMER, PA_PROP_MEDIA_ARTIST, GST_TAG_ARTIST, PA_PROP_MEDIA_ARTIST, diff --git a/ext/qt/qtwindow.cc b/ext/qt/qtwindow.cc index 62d26b647b..2143ab57e7 100644 --- a/ext/qt/qtwindow.cc +++ b/ext/qt/qtwindow.cc @@ -36,7 +36,7 @@ #include #include -/* compatability definitions... */ +/* compatibility definitions... */ #ifndef GL_READ_FRAMEBUFFER #define GL_READ_FRAMEBUFFER 0x8CA8 #endif diff --git a/ext/raw1394/gstdv1394src.h b/ext/raw1394/gstdv1394src.h index e2f330817d..14a0178442 100644 --- a/ext/raw1394/gstdv1394src.h +++ b/ext/raw1394/gstdv1394src.h @@ -50,7 +50,7 @@ typedef struct _GstDV1394SrcClass GstDV1394SrcClass; struct _GstDV1394Src { GstPushSrc element; - // consecutive=2, skip=4 will skip 4 frames, then let 2 consecutive ones thru + // consecutive=2, skip=4 will skip 4 frames, then let 2 consecutive ones through gint consecutive; gint skip; gboolean drop_incomplete; diff --git a/ext/taglib/gstid3v2mux.cc b/ext/taglib/gstid3v2mux.cc index e342bccae0..bc0427c4e3 100644 --- a/ext/taglib/gstid3v2mux.cc +++ b/ext/taglib/gstid3v2mux.cc @@ -741,7 +741,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/ext/wavpack/gstwavpackenc.c b/ext/wavpack/gstwavpackenc.c index 21b6754455..3f05175726 100644 --- a/ext/wavpack/gstwavpackenc.c +++ b/ext/wavpack/gstwavpackenc.c @@ -436,7 +436,7 @@ static void gst_wavpack_enc_set_wp_config (GstWavpackEnc * enc) { enc->wp_config = g_new0 (WavpackConfig, 1); - /* set general stream informations in the WavpackConfig */ + /* set general stream information in the WavpackConfig */ enc->wp_config->bytes_per_sample = GST_ROUND_UP_8 (enc->depth) / 8; enc->wp_config->bits_per_sample = enc->depth; enc->wp_config->num_channels = enc->channels; @@ -708,7 +708,7 @@ gst_wavpack_enc_handle_frame (GstAudioEncoder * benc, GstBuffer * buf) WavpackCloseFile (enc->wp_context); goto config_failed; } - GST_DEBUG_OBJECT (enc, "setup of encoding context successfull"); + GST_DEBUG_OBJECT (enc, "setup of encoding context successful"); } if (enc->need_channel_remap) { diff --git a/gst/audiofx/audiodynamic.c b/gst/audiofx/audiodynamic.c index 215577cb99..99e43543cb 100644 --- a/gst/audiofx/audiodynamic.c +++ b/gst/audiofx/audiodynamic.c @@ -457,7 +457,7 @@ gst_audio_dynamic_transform_soft_knee_compressor_float (GstAudioDynamic * * f(x) = ax^2 + bx + c */ - /* FIXME: If treshold is the same as the maximum + /* FIXME: If threshold is the same as the maximum * we need to raise it a bit to prevent * division by zero. */ if (threshold == 1.0) diff --git a/gst/audiofx/audiofxbasefirfilter.c b/gst/audiofx/audiofxbasefirfilter.c index ccafb0a338..02ad61a956 100644 --- a/gst/audiofx/audiofxbasefirfilter.c +++ b/gst/audiofx/audiofxbasefirfilter.c @@ -267,7 +267,7 @@ process_fft_##channels##_##width (GstAudioFXBaseFIRFilter * self, const g##ctype * plus some more space for the inverse FFT below. \ * \ * The samples are put at offset kernel_length, the inverse FFT \ - * overwrites everthing from offset 0 to length-kernel_length+1, keeping \ + * overwrites everything from offset 0 to length-kernel_length+1, keeping \ * the last kernel_length-1 samples for copying to the next processing \ * step. \ */ \ @@ -558,14 +558,14 @@ gst_audio_fx_base_fir_filter_class_init (GstAudioFXBaseFIRFilterClass * klass) /** * GstAudioFXBaseFIRFilter:drain-on-changes: * - * Whether the filter should be drained when its coeficients change + * Whether the filter should be drained when its coefficients change * * Note: Currently this only works if the kernel size is not changed! * Support for drainless kernel size changes will be added in the future. */ g_object_class_install_property (gobject_class, PROP_DRAIN_ON_CHANGES, g_param_spec_boolean ("drain-on-changes", "Drain on changes", - "Drains the filter when its coeficients change", + "Drains the filter when its coefficients change", DEFAULT_DRAIN_ON_CHANGES, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); diff --git a/gst/audiofx/audiofxbasefirfilter.h b/gst/audiofx/audiofxbasefirfilter.h index 2bd5561df7..390ed8fd06 100644 --- a/gst/audiofx/audiofxbasefirfilter.h +++ b/gst/audiofx/audiofxbasefirfilter.h @@ -63,7 +63,7 @@ struct _GstAudioFXBaseFIRFilter { gboolean low_latency; /* work in slower low latency mode */ gboolean drain_on_changes; /* If the filter should be drained when - * coeficients change */ + * coefficients change */ /* < private > */ GstAudioFXBaseFIRFilterProcessFunc process; diff --git a/gst/audiofx/gstscaletempo.c b/gst/audiofx/gstscaletempo.c index f83e8a51ad..276ec07b1f 100644 --- a/gst/audiofx/gstscaletempo.c +++ b/gst/audiofx/gstscaletempo.c @@ -53,7 +53,7 @@ * for the best overlap position. Scaletempo uses a statistical cross * correlation (roughly a dot-product). Scaletempo consumes most of its CPU * cycles here. One can use the #GstScaletempo:search propery to tune how far - * the algoritm looks. + * the algorithm looks. * */ diff --git a/gst/audiofx/gstscaletempoplugin.c b/gst/audiofx/gstscaletempoplugin.c index 4c6f1f1dd9..3b45ef391e 100644 --- a/gst/audiofx/gstscaletempoplugin.c +++ b/gst/audiofx/gstscaletempoplugin.c @@ -53,7 +53,7 @@ * register the element factories and pad templates * register the features * - * exchange the string 'plugin' with your elemnt name + * exchange the string 'plugin' with your element name */ static gboolean diff --git a/gst/autodetect/gstautodetect.c b/gst/autodetect/gstautodetect.c index 3e302410a1..8c6da12780 100644 --- a/gst/autodetect/gstautodetect.c +++ b/gst/autodetect/gstautodetect.c @@ -154,7 +154,7 @@ gst_auto_detect_attach_ghost_pad (GstAutoDetect * self) return res; } -/* Hack to make initial linking work; ideally, this'd work even when +/* Hack to make initial linking work; ideally, this would work even when * no target has been assigned to the ghostpad yet. */ static void gst_auto_detect_reset (GstAutoDetect * self) diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c index ebd120ba09..712b436bfd 100644 --- a/gst/avi/gstavidemux.c +++ b/gst/avi/gstavidemux.c @@ -2864,7 +2864,7 @@ gst_avi_demux_stream_index (GstAviDemux * avi) if (map.size < 8) goto too_small; - /* check tag first before blindy trying to read 'size' bytes */ + /* check tag first before blindly trying to read 'size' bytes */ tag = GST_READ_UINT32_LE (map.data); size = GST_READ_UINT32_LE (map.data + 4); if (tag == GST_RIFF_TAG_LIST) { @@ -3377,7 +3377,7 @@ gst_avi_demux_stream_header_push (GstAviDemux * avi) if (!gst_avi_demux_parse_avih (avi, sub, &avi->avih)) goto header_wrong_avih; - GST_DEBUG_OBJECT (avi, "AVI header ok, reading elemnts from header"); + GST_DEBUG_OBJECT (avi, "AVI header ok, reading elements from header"); /* now, read the elements from the header until the end */ while (gst_riff_parse_chunk (GST_ELEMENT_CAST (avi), buf, &offset, &tag, @@ -5267,7 +5267,7 @@ gst_avi_demux_loop_data (GstAviDemux * avi) } if (avi->segment.rate > 0.0) { - /* only check this for fowards playback for now */ + /* only check this for forwards playback for now */ if (keyframe && GST_CLOCK_TIME_IS_VALID (avi->segment.stop) && (timestamp > avi->segment.stop)) { goto eos_stop; diff --git a/gst/avi/gstavimux.c b/gst/avi/gstavimux.c index b8d995a58a..ea92575cb6 100644 --- a/gst/avi/gstavimux.c +++ b/gst/avi/gstavimux.c @@ -1382,7 +1382,7 @@ gst_avi_mux_riff_get_avi_header (GstAviMux * avimux) gst_tag_list_foreach (tags, gst_avi_mux_write_tag, &bw); if (info + 8 == gst_byte_writer_get_pos (&bw)) { - /* no tags writen, remove the empty INFO LIST as it is useless + /* no tags written, remove the empty INFO LIST as it is useless * and prevents playback in vlc */ gst_byte_writer_set_pos (&bw, info - 4); } else { diff --git a/gst/debugutils/progressreport.c b/gst/debugutils/progressreport.c index a3be8adc88..2767f29404 100644 --- a/gst/debugutils/progressreport.c +++ b/gst/debugutils/progressreport.c @@ -26,7 +26,7 @@ * * The progressreport element can be put into a pipeline to report progress, * which is done by doing upstream duration and position queries in regular - * (real-time) intervals. Both the interval and the prefered query format + * (real-time) intervals. Both the interval and the preferred query format * can be specified via the #GstProgressReport:update-freq and the * #GstProgressReport:format property. * diff --git a/gst/debugutils/rndbuffersize.c b/gst/debugutils/rndbuffersize.c index c99cbdcb6a..8110ecc2fc 100644 --- a/gst/debugutils/rndbuffersize.c +++ b/gst/debugutils/rndbuffersize.c @@ -137,7 +137,7 @@ gst_rnd_buffer_size_class_init (GstRndBufferSizeClass * klass) 0, G_MAXUINT32, DEFAULT_SEED, G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_MINIMUM, - g_param_spec_int ("min", "mininum", "mininum buffer size", + g_param_spec_int ("min", "minimum", "minimum buffer size", 0, G_MAXINT32, DEFAULT_MIN, G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_MAXIMUM, diff --git a/gst/deinterlace/gstdeinterlace.c b/gst/deinterlace/gstdeinterlace.c index 8c218b87c4..653ecb759d 100644 --- a/gst/deinterlace/gstdeinterlace.c +++ b/gst/deinterlace/gstdeinterlace.c @@ -524,7 +524,7 @@ gst_deinterlace_class_init (GstDeinterlaceClass * klass) * * Some methods provide parameters which can be set by getting * the "method" child via the #GstChildProxy interface and - * setting the appropiate properties on it. + * setting the appropriate properties on it. * * * tomsmocomp Motion Adaptive: Motion Search * * greedyh Motion Adaptive: Advanced Detection @@ -1444,7 +1444,7 @@ gst_deinterlace_get_pattern_lock (GstDeinterlace * self, gboolean * flush_one) break; } - /* make complete matches more signficant */ + /* make complete matches more significant */ if (k == length) k += GST_DEINTERLACE_MAX_BUFFER_STATE_HISTORY; diff --git a/gst/deinterlace/tvtime/sse.h b/gst/deinterlace/tvtime/sse.h index 2e00ee0c4a..b3eaf61407 100644 --- a/gst/deinterlace/tvtime/sse.h +++ b/gst/deinterlace/tvtime/sse.h @@ -1,6 +1,6 @@ /* sse.h - Streaming SIMD Extenstions (a.k.a. Katmai New Instructions) + Streaming SIMD Extensions (a.k.a. Katmai New Instructions) GCC interface library for IA32. To use this library, simply include this header file @@ -954,7 +954,7 @@ sse_ok(void) /* Store FENCE - enforce ordering of stores before fence vs. stores - occuring after fence in source code. + occurring after fence in source code. */ #ifdef SSE_TRACE #define sfence() \ diff --git a/gst/deinterlace/tvtime/tomsmocomp/SearchLoopBottom.inc b/gst/deinterlace/tvtime/tomsmocomp/SearchLoopBottom.inc index e1560353e3..1f4155ed6e 100644 --- a/gst/deinterlace/tvtime/tomsmocomp/SearchLoopBottom.inc +++ b/gst/deinterlace/tvtime/tomsmocomp/SearchLoopBottom.inc @@ -5,7 +5,7 @@ #ifndef IS_C #ifdef SKIP_SEARCH - "movq %%mm6, %%mm0\n\t" // just use the results of our wierd bob + "movq %%mm6, %%mm0\n\t" // just use the results of our weird bob #else @@ -114,7 +114,7 @@ return 0; #else #ifdef SKIP_SEARCH - out[0] = best[0]; // just use the results of our wierd bob + out[0] = best[0]; // just use the results of our weird bob out[1] = best[1]; #else diff[0] = diff[0] - MIN (diff[0], 10) - 4; diff --git a/gst/deinterlace/tvtime/tomsmocomp/StrangeBob.inc b/gst/deinterlace/tvtime/tomsmocomp/StrangeBob.inc index 45b4c8652c..a61a0cd9e9 100644 --- a/gst/deinterlace/tvtime/tomsmocomp/StrangeBob.inc +++ b/gst/deinterlace/tvtime/tomsmocomp/StrangeBob.inc @@ -1,7 +1,7 @@ // -*- c++ -*- // First, get and save our possible Bob values - // Assume our pixels are layed out as follows with x the calc'd bob value + // Assume our pixels are laid out as follows with x the calc'd bob value // and the other pixels are from the current field // // j a b c k current field diff --git a/gst/deinterlace/tvtime/tomsmocomp/WierdBob.inc b/gst/deinterlace/tvtime/tomsmocomp/WierdBob.inc index f4bbb8307a..0c71db8124 100644 --- a/gst/deinterlace/tvtime/tomsmocomp/WierdBob.inc +++ b/gst/deinterlace/tvtime/tomsmocomp/WierdBob.inc @@ -1,7 +1,7 @@ // -*- c++ -*- // First, get and save our possible Bob values - // Assume our pixels are layed out as follows with x the calc'd bob value + // Assume our pixels are laid out as follows with x the calc'd bob value // and the other pixels are from the current field // // j a b c k current field diff --git a/gst/deinterlace/tvtime/vfir.c b/gst/deinterlace/tvtime/vfir.c index a0618952c1..f77178c861 100644 --- a/gst/deinterlace/tvtime/vfir.c +++ b/gst/deinterlace/tvtime/vfir.c @@ -57,7 +57,7 @@ typedef GstDeinterlaceSimpleMethodClass GstDeinterlaceMethodVFIRClass; /* * The MPEG2 spec uses a slightly harsher filter, they specify * [-1 8 2 8 -1]. ffmpeg uses a similar filter but with more of - * a tendancy to blur than to use the local information. The + * a tendency to blur than to use the local information. The * filter taps here are: [-1 4 2 4 -1]. */ diff --git a/gst/dtmf/gstdtmfsrc.c b/gst/dtmf/gstdtmfsrc.c index a5bcfcd444..500d6d3f92 100644 --- a/gst/dtmf/gstdtmfsrc.c +++ b/gst/dtmf/gstdtmfsrc.c @@ -39,7 +39,7 @@ * * * `type` (G_TYPE_INT, 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 specied + * named events. Tones are specified by their frequencies and events are specified * by their number. This element can only take events as input. Do not confuse * with "method" which specified the output. * diff --git a/gst/dtmf/gstrtpdtmfdepay.c b/gst/dtmf/gstrtpdtmfdepay.c index a3a057fb67..8fd6612696 100644 --- a/gst/dtmf/gstrtpdtmfdepay.c +++ b/gst/dtmf/gstrtpdtmfdepay.c @@ -31,7 +31,7 @@ * * * `type` (G_TYPE_INT, 0-1): 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 specied + * named events. Tones are specified by their frequencies and events are specified * by their number. This element currently only recognizes events. * Do not confuse with "method" which specified the output. * diff --git a/gst/dtmf/gstrtpdtmfsrc.c b/gst/dtmf/gstrtpdtmfsrc.c index 652dbdc01f..91e386f30e 100644 --- a/gst/dtmf/gstrtpdtmfsrc.c +++ b/gst/dtmf/gstrtpdtmfsrc.c @@ -37,7 +37,7 @@ * * * `type` (G_TYPE_INT, 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 specied + * named events. Tones are specified by their frequencies and events are specified * by their number. This element can only take events as input. Do not confuse * with "method" which specified the output. * diff --git a/gst/effectv/gstedge.c b/gst/effectv/gstedge.c index 79632a69b7..6bb1702f5b 100644 --- a/gst/effectv/gstedge.c +++ b/gst/effectv/gstedge.c @@ -132,7 +132,7 @@ gst_edgetv_transform_frame (GstVideoFilter * vfilter, GstVideoFrame * in_frame, g *= g; b *= b; r = r >> 5; /* To lack the lower bit for saturated addition, */ - g = g >> 5; /* devide the value with 32, instead of 16. It is */ + g = g >> 5; /* divide the value with 32, instead of 16. It is */ b = b >> 4; /* same as `v2 &= 0xfefeff' */ if (r > 127) r = 127; diff --git a/gst/effectv/gstquark.c b/gst/effectv/gstquark.c index ebbf4b1d76..930c355665 100644 --- a/gst/effectv/gstquark.c +++ b/gst/effectv/gstquark.c @@ -48,7 +48,7 @@ #include "gstquark.h" #include "gsteffectv.h" -/* number of frames of time-buffer. It should be as a configurable paramater */ +/* number of frames of time-buffer. It should be as a configurable parameter */ /* This number also must be 2^n just for the speed. */ #define PLANES 16 diff --git a/gst/flv/gstflvdemux.c b/gst/flv/gstflvdemux.c index 6612dc9114..5f94cc52d0 100644 --- a/gst/flv/gstflvdemux.c +++ b/gst/flv/gstflvdemux.c @@ -1003,7 +1003,7 @@ gst_flv_demux_update_resync (GstFlvDemux * demux, guint32 dts, gboolean discont, gboolean ret = FALSE; gint32 ddts = dts - *last; if (!discont && ddts <= -RESYNC_THRESHOLD) { - /* Theoretically, we should use substract the duration of the last buffer, + /* Theoretically, we should use subtract the duration of the last buffer, but this demuxer sends no durations on buffers, not sure if it cannot know, or just does not care to calculate. */ *offset -= ddts * GST_MSECOND; @@ -3047,7 +3047,7 @@ gst_flv_demux_handle_seek_pull (GstFlvDemux * demux, GstEvent * event, demux->seek_event = gst_event_ref (event); demux->seek_time = seeksegment.position; demux->state = FLV_STATE_SEEK; - /* do not know about succes yet, but we did care and handled it */ + /* do not know about success yet, but we did care and handled it */ ret = TRUE; goto exit; } @@ -3123,7 +3123,7 @@ wrong_format: } } -/* If we can pull that's prefered */ +/* If we can pull that's preferred */ static gboolean gst_flv_demux_sink_activate (GstPad * sinkpad, GstObject * parent) { diff --git a/gst/flv/gstindex.c b/gst/flv/gstindex.c index 8a2edfe280..79ceb0420f 100644 --- a/gst/flv/gstindex.c +++ b/gst/flv/gstindex.c @@ -39,7 +39,7 @@ * The application that wants to index the stream will create a new index object * using gst_index_new() or gst_index_factory_make(). The index is assigned to a * specific element, a bin or the whole pipeline. This will cause indexable - * elements to add entires to the index while playing. + * elements to add entries to the index while playing. */ /* FIXME: complete gobject annotations */ @@ -326,7 +326,7 @@ gst_index_new (void) /** * gst_index_commit: * @index: the index to commit - * @id: the writer that commited the index + * @id: the writer that committed the index * * Tell the index that the writer with the given id is done * with this index and is not going to write any more entries @@ -787,7 +787,7 @@ gst_index_add_entry (GstIndex * index, GstIndexEntry * entry) * gst_index_add_associationv: * @index: the index to add the entry to * @id: the id of the index writer - * @flags: optinal flags for this entry + * @flags: optional flags for this entry * @n: number of associations * @list: list of associations * @@ -826,7 +826,7 @@ gst_index_add_associationv (GstIndex * index, gint id, * gst_index_add_association: * @index: the index to add the entry to * @id: the id of the index writer - * @flags: optinal flags for this entry + * @flags: optional flags for this entry * @format: the format of the value * @value: the value * @...: other format/value pairs or 0 to end the list diff --git a/gst/interleave/deinterleave.c b/gst/interleave/deinterleave.c index 46245cf463..f4caff0021 100644 --- a/gst/interleave/deinterleave.c +++ b/gst/interleave/deinterleave.c @@ -493,7 +493,7 @@ set_caps_failed: } info_from_caps_failed: { - GST_ERROR_OBJECT (self, "coud not get info from caps"); + GST_ERROR_OBJECT (self, "could not get info from caps"); return FALSE; } } @@ -552,7 +552,7 @@ gst_deinterleave_sink_acceptcaps (GstPad * pad, GstObject * parent, info_from_caps_failed: { - GST_ERROR_OBJECT (self, "coud not get info from caps"); + GST_ERROR_OBJECT (self, "could not get info from caps"); return FALSE; } } @@ -583,7 +583,7 @@ gst_deinterleave_getcaps (GstPad * pad, GstObject * parent, GstCaps * filter) * to get all formats that are possible up- and downstream. * * For the pad for which the caps are requested we don't remove the channel - * informations as they must be in the returned caps and incompatibilities + * information as they must be in the returned caps and incompatibilities * will be detected here already */ ret = gst_caps_new_any (); diff --git a/gst/isomp4/gstqtmux.c b/gst/isomp4/gstqtmux.c index cd52bb647c..743fc9e38f 100644 --- a/gst/isomp4/gstqtmux.c +++ b/gst/isomp4/gstqtmux.c @@ -3209,7 +3209,7 @@ gst_qt_mux_start_file (GstQTMux * qtmux) atom_moov_get_trak_count (qtmux->moov)); GST_OBJECT_UNLOCK (qtmux); - /* Now that we know how much reserved space is targetted, + /* Now that we know how much reserved space is targeted, * output a free atom to fill the extra reserved */ ret = gst_qt_mux_send_free_atom (qtmux, &qtmux->header_size, qtmux->reserved_moov_size - qtmux->base_moov_size, FALSE); diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c index 8a6bf08c7c..2c24040d31 100644 --- a/gst/isomp4/qtdemux.c +++ b/gst/isomp4/qtdemux.c @@ -133,7 +133,7 @@ struct _QtDemuxSample #define QTSAMPLE_DTS(stream,sample) (QTSTREAMTIME_TO_GSTTIME((stream), (sample)->timestamp)) /* timestamp + offset + cslg_shift is the outgoing PTS */ #define QTSAMPLE_PTS(stream,sample) (QTSTREAMTIME_TO_GSTTIME((stream), (sample)->timestamp + (stream)->cslg_shift + (sample)->pts_offset)) -/* timestamp + offset is the PTS used for internal seek calcuations */ +/* timestamp + offset is the PTS used for internal seek calculations */ #define QTSAMPLE_PTS_NO_CSLG(stream,sample) (QTSTREAMTIME_TO_GSTTIME((stream), (sample)->timestamp + (sample)->pts_offset)) /* timestamp + duration - dts is the duration */ #define QTSAMPLE_DUR_DTS(stream, sample, dts) (QTSTREAMTIME_TO_GSTTIME ((stream), (sample)->timestamp + (sample)->duration) - (dts)) @@ -2231,7 +2231,7 @@ gst_qtdemux_reset (GstQTDemux * qtdemux, gboolean hard) /* Maps the @segment to the qt edts internal segments and pushes - * the correspnding segment event. + * the corresponding segment event. * * If it ends up being at a empty segment, a gap will be pushed and the next * edts segment will be activated in sequence. @@ -4270,7 +4270,7 @@ qtdemux_parse_moof (GstQTDemux * qtdemux, const guint8 * buffer, guint length, if (!qtdemux->upstream_format_is_time && !qtdemux->first_moof_already_parsed && !qtdemux->received_seek && GST_CLOCK_TIME_IS_VALID (min_dts) && min_dts != 0) { - /* Unless the user has explictly requested another seek, perform an + /* Unless the user has explicitly requested another seek, perform an * internal seek to the time specified in the tfdt. * * This way if the user opens a file where the first tfdt is 1 hour @@ -5690,7 +5690,7 @@ extract_cc_from_data (QtDemuxStream * stream, const guint8 * data, gsize size, GST_DEBUG_OBJECT (stream->pad, "here"); - /* Check if we have somethig compatible */ + /* Check if we have something compatible */ stsd_entry = CUR_STREAM (stream); switch (stsd_entry->fourcc) { case FOURCC_c608:{ @@ -7229,7 +7229,7 @@ gst_qtdemux_process_adapter (GstQTDemux * demux, gboolean force) * * To keep track of the current buffer timestamp and starting point * we use gst_adapter_prev_pts that gives us the PTS and the distance - * from the beggining of the buffer, with the distance and demux->offset + * from the beginning of the buffer, with the distance and demux->offset * we know if it is still the same buffer or not. */ prev_pts = gst_adapter_prev_pts (demux->adapter, &dist); @@ -8062,7 +8062,7 @@ qtdemux_parse_node (GstQTDemux * qtdemux, GNode * node, const guint8 * buffer, * the same format. */ /* video sample description size is 86 bytes without extension. * node_length have to be bigger than 86 bytes because video sample - * description can include extenstions such as esds, fiel, glbl, etc. */ + * description can include extensions such as esds, fiel, glbl, etc. */ if (node_length < 86) { GST_WARNING_OBJECT (qtdemux, "%" GST_FOURCC_FORMAT " sample description length too short (%u < 86)", @@ -9336,7 +9336,7 @@ qtdemux_stbl_init (GstQTDemux * qtdemux, QtDemuxStream * stream, GNode * stbl) } } else { /* Ensure the cslg_shift value is consistent so we can use it - * unconditionnally to produce TS and Segment */ + * unconditionally to produce TS and Segment */ stream->cslg_shift = 0; } @@ -13813,7 +13813,7 @@ qtdemux_tag_add_blob (GNode * node, GstQtDemuxTagList * qtdemuxtaglist) else style = "iso"; - /* santize the name for the caps. */ + /* sanitize the name for the caps. */ for (i = 0; i < 4; i++) { guint8 d = data[4 + i]; if (g_ascii_isalnum (d)) diff --git a/gst/isomp4/qtdemux_lang.c b/gst/isomp4/qtdemux_lang.c index c9646b2d65..1f5f3c35cd 100644 --- a/gst/isomp4/qtdemux_lang.c +++ b/gst/isomp4/qtdemux_lang.c @@ -63,7 +63,7 @@ static const gchar qt_lang_map[][4] = { * 026 Hungarian * 027 Estonian * 028 Latvian / Lettish - * 029 Lappish / Saamish (used code for Nothern Sami) + * 029 Lappish / Saamish (used code for Northern Sami) */ "urd", "hin", "tha", "kor", "lit", "pol", "hun", "est", "lav", "sme", diff --git a/gst/level/gstlevel.c b/gst/level/gstlevel.c index 892f4db667..a5125799b9 100644 --- a/gst/level/gstlevel.c +++ b/gst/level/gstlevel.c @@ -308,7 +308,7 @@ gst_level_get_property (GObject * object, guint prop_id, * input sample data enters in *in_data and is not modified * this filter only accepts signed audio data, so mid level is always 0 * - * for integers, this code considers the non-existant positive max value to be + * for integers, this code considers the non-existent positive max value to be * full-scale; so max-1 will not map to 1.0 */ diff --git a/gst/matroska/ebml-write.c b/gst/matroska/ebml-write.c index 2999f79e82..2395939a40 100644 --- a/gst/matroska/ebml-write.c +++ b/gst/matroska/ebml-write.c @@ -863,7 +863,7 @@ gst_ebml_write_buffer_header (GstEbmlWrite * ebml, guint32 id, guint64 length) /** * gst_ebml_write_buffer: * @ebml: #GstEbmlWrite - * @buf: #GstBuffer cointaining the data. + * @buf: #GstBuffer containing the data. * * Write binary element (see gst_ebml_write_buffer_header). */ diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c index d8fcf073ef..5a6b2487ee 100644 --- a/gst/matroska/matroska-demux.c +++ b/gst/matroska/matroska-demux.c @@ -4529,7 +4529,7 @@ gst_matroska_demux_parse_blockgroup_or_simpleblock (GstMatroskaDemux * demux, /* QoS for video track with an index. the assumption is that index entries point to keyframes, but if that is not true we - will instad skip until the next keyframe. */ + will instead skip until the next keyframe. */ if (GST_CLOCK_TIME_IS_VALID (lace_time) && stream->type == GST_MATROSKA_TRACK_TYPE_VIDEO && stream->index_table && demux->common.segment.rate > 0.0) { @@ -5091,7 +5091,7 @@ gst_matroska_demux_check_read_size (GstMatroskaDemux * demux, guint64 bytes) } } -/* returns TRUE if we truely are in error state, and should give up */ +/* returns TRUE if we truly are in error state, and should give up */ static inline GstFlowReturn gst_matroska_demux_check_parse_error (GstMatroskaDemux * demux) { diff --git a/gst/matroska/matroska-mux.c b/gst/matroska/matroska-mux.c index 4476b7d5bf..1a5d5ca1b2 100644 --- a/gst/matroska/matroska-mux.c +++ b/gst/matroska/matroska-mux.c @@ -644,7 +644,7 @@ gst_matroska_pad_free (GstPad * collect_pad) /** * gst_matroska_mux_reset: - * @element: #GstMatroskaMux that should be reseted. + * @element: #GstMatroskaMux that should be reset. * * Reset matroska muxer back to initial state. */ @@ -2494,7 +2494,7 @@ gst_matroska_mux_release_pad (GstElement * element, GstPad * pad) if (cdata->pad == pad) { /* * observed duration, this will remain GST_CLOCK_TIME_NONE - * only if the pad is resetted + * only if the pad is reset */ GstClockTime collected_duration = GST_CLOCK_TIME_NONE; @@ -3581,7 +3581,7 @@ gst_matroska_mux_finish (GstMatroskaMux * mux) GstMatroskaPad *collect_pad; /* * observed duration, this will never remain GST_CLOCK_TIME_NONE - * since this means buffer without timestamps that is not possibile + * since this means buffer without timestamps that is not possible */ GstClockTime collected_duration = GST_CLOCK_TIME_NONE; diff --git a/gst/matroska/matroska-parse.c b/gst/matroska/matroska-parse.c index 594cd9a137..19a1f77146 100644 --- a/gst/matroska/matroska-parse.c +++ b/gst/matroska/matroska-parse.c @@ -27,7 +27,7 @@ * chained oggs. Fixes #334082 * TODO: Test samples: http://www.matroska.org/samples/matrix/index.html * http://samples.mplayerhq.hu/Matroska/ - * TODO: check if parseing is done correct for all codecs according to spec + * TODO: check if parsing is done correct for all codecs according to spec * TODO: seeking with incomplete or without CUE */ @@ -1870,7 +1870,7 @@ gst_matroska_parse_parse_blockgroup_or_simpleblock (GstMatroskaParse * parse, /* QoS for video track with an index. the assumption is that index entries point to keyframes, but if that is not true we - will instad skip until the next keyframe. */ + will instead skip until the next keyframe. */ if (GST_CLOCK_TIME_IS_VALID (lace_time) && stream->type == GST_MATROSKA_TRACK_TYPE_VIDEO && stream->index_table && parse->common.segment.rate > 0.0) { @@ -2301,7 +2301,7 @@ gst_matroska_parse_check_read_size (GstMatroskaParse * parse, guint64 bytes) } #if 0 -/* returns TRUE if we truely are in error state, and should give up */ +/* returns TRUE if we truly are in error state, and should give up */ static inline gboolean gst_matroska_parse_check_parse_error (GstMatroskaParse * parse) { diff --git a/gst/matroska/matroska-read-common.c b/gst/matroska/matroska-read-common.c index a952e740da..3228a1080d 100644 --- a/gst/matroska/matroska-read-common.c +++ b/gst/matroska/matroska-read-common.c @@ -1441,7 +1441,7 @@ gst_matroska_read_common_parse_header (GstMatroskaReadCommon * common, goto exit_error; switch (id) { - /* is our read version uptodate? */ + /* is our read version up-to-date? */ case GST_EBML_ID_EBMLREADVERSION:{ guint64 num; @@ -2125,18 +2125,18 @@ gst_matroska_read_common_parse_metadata_id_simple_tag (GstMatroskaReadCommon * /* ICRA The ICRA content rating for parental control. (Previously RSACi) */ /* Temporal Information */ - GST_MATROSKA_TAG_ID_DATE_RELEASED, GST_TAG_DATE}, { /* The time that the item was originaly released. This is akin to the TDRL tag in ID3. */ + GST_MATROSKA_TAG_ID_DATE_RELEASED, GST_TAG_DATE}, { /* The time that the item was originally released. This is akin to the TDRL tag in ID3. */ GST_MATROSKA_TAG_ID_DATE_RECORDED, GST_TAG_DATE}, { /* The time that the recording began. This is akin to the TDRC tag in ID3. */ GST_MATROSKA_TAG_ID_DATE_ENCODED, GST_TAG_DATE}, { /* The time that the encoding of this item was completed began. This is akin to the TDEN tag in ID3. */ GST_MATROSKA_TAG_ID_DATE_TAGGED, GST_TAG_DATE}, { /* The time that the tags were done for this item. This is akin to the TDTG tag in ID3. */ - GST_MATROSKA_TAG_ID_DATE_DIGITIZED, GST_TAG_DATE}, { /* The time that the item was tranfered to a digital medium. This is akin to the IDIT tag in RIFF. */ + GST_MATROSKA_TAG_ID_DATE_DIGITIZED, GST_TAG_DATE}, { /* The time that the item was transferred to a digital medium. This is akin to the IDIT tag in RIFF. */ GST_MATROSKA_TAG_ID_DATE_WRITTEN, GST_TAG_DATE}, { /* The time that the writing of the music/script began. */ GST_MATROSKA_TAG_ID_DATE_PURCHASED, GST_TAG_DATE}, { /* Information on when the file was purchased (see also purchase tags). */ GST_MATROSKA_TAG_ID_DATE, GST_TAG_DATE}, { /* Matroska spec does NOT have this tag! Dunno what it was doing here, probably for compatibility. */ /* Spacial Information */ GST_MATROSKA_TAG_ID_RECORDING_LOCATION, GST_TAG_GEO_LOCATION_NAME}, { /* The location where the item was recorded. The countries corresponding to the string, same 2 octets as in Internet domains, or possibly ISO-3166. This code is followed by a comma, then more detailed information such as state/province, another comma, and then city. For example, "US, Texas, Austin". This will allow for easy sorting. It is okay to only store the country, or the country and the state/province. More detailed information can be added after the city through the use of additional commas. In cases where the province/state is unknown, but you want to store the city, simply leave a space between the two commas. For example, "US, , Austin". */ - /* COMPOSITION_LOCATION Location that the item was originaly designed/written. The countries corresponding to the string, same 2 octets as in Internet domains, or possibly ISO-3166. This code is followed by a comma, then more detailed information such as state/province, another comma, and then city. For example, "US, Texas, Austin". This will allow for easy sorting. It is okay to only store the country, or the country and the state/province. More detailed information can be added after the city through the use of additional commas. In cases where the province/state is unknown, but you want to store the city, simply leave a space between the two commas. For example, "US, , Austin". */ + /* COMPOSITION_LOCATION Location that the item was originally designed/written. The countries corresponding to the string, same 2 octets as in Internet domains, or possibly ISO-3166. This code is followed by a comma, then more detailed information such as state/province, another comma, and then city. For example, "US, Texas, Austin". This will allow for easy sorting. It is okay to only store the country, or the country and the state/province. More detailed information can be added after the city through the use of additional commas. In cases where the province/state is unknown, but you want to store the city, simply leave a space between the two commas. For example, "US, , Austin". */ /* COMPOSER_NATIONALITY Nationality of the main composer of the item, mostly for classical music. The countries corresponding to the string, same 2 octets as in Internet domains, or possibly ISO-3166. */ /* Personal */ @@ -2150,7 +2150,7 @@ gst_matroska_read_common_parse_metadata_id_simple_tag (GstMatroskaReadCommon * /* ENCODER_SETTINGS A list of the settings used for encoding this item. No specific format. */ GST_MATROSKA_TAG_ID_BPS, GST_TAG_BITRATE}, { GST_MATROSKA_TAG_ID_BITSPS, GST_TAG_BITRATE}, { /* Matroska spec does NOT have this tag! Dunno what it was doing here, probably for compatibility. */ - /* WONTFIX (already handled in another way): FPS The average frames per second of the specified item. This is typically the average number of Blocks per second. In the event that lacing is used, each laced chunk is to be counted as a seperate frame. */ + /* WONTFIX (already handled in another way): FPS The average frames per second of the specified item. This is typically the average number of Blocks per second. In the event that lacing is used, each laced chunk is to be counted as a separate frame. */ GST_MATROSKA_TAG_ID_BPM, GST_TAG_BEATS_PER_MINUTE}, { /* MEASURE In music, a measure is a unit of time in Western music like "4/4". It represents a regular grouping of beats, a meter, as indicated in musical notation by the time signature.. The majority of the contemporary rock and pop music you hear on the radio these days is written in the 4/4 time signature. */ /* TUNING It is saved as a frequency in hertz to allow near-perfect tuning of instruments to the same tone as the musical piece (e.g. "441.34" in Hertz). The default value is 440.0 Hz. */ diff --git a/gst/monoscope/monoscope.c b/gst/monoscope/monoscope.c index 3500879c1a..69ad0b0033 100644 --- a/gst/monoscope/monoscope.c +++ b/gst/monoscope/monoscope.c @@ -3,7 +3,7 @@ * Copyright (C) 1998-2001 Andy Lo A Foe * Original code by Tinic Uro * - * This code is copied from Alsaplayer. The orginal code was by Tinic Uro and under + * This code is copied from Alsaplayer. The original code was by Tinic Uro and under * the BSD license without a advertisig clause. Andy Lo A Foe then relicensed the * code when he used it for Alsaplayer to GPL with Tinic's permission. Richard Boulton * then took this code and made a GPL plugin out of it. diff --git a/gst/multifile/gstmultifilesrc.c b/gst/multifile/gstmultifilesrc.c index 2ade0a6458..d25f8bf737 100644 --- a/gst/multifile/gstmultifilesrc.c +++ b/gst/multifile/gstmultifilesrc.c @@ -336,7 +336,7 @@ gst_multi_file_src_set_property (GObject * object, guint prop_id, (st = gst_caps_get_structure (new_caps, 0)) && gst_structure_get_fraction (st, "framerate", &src->fps_n, &src->fps_d)) { - GST_INFO_OBJECT (src, "Seting framerate to %d/%d", src->fps_n, + GST_INFO_OBJECT (src, "Setting framerate to %d/%d", src->fps_n, src->fps_d); } else { src->fps_n = -1; diff --git a/gst/multifile/gstsplitmuxpartreader.c b/gst/multifile/gstsplitmuxpartreader.c index 2400a50dbd..4859dd8f5a 100644 --- a/gst/multifile/gstsplitmuxpartreader.c +++ b/gst/multifile/gstsplitmuxpartreader.c @@ -136,7 +136,7 @@ handle_buffer_measuring (GstSplitMuxPartReader * reader, if (reader->prep_state == PART_STATE_PREPARING_COLLECT_STREAMS && !part_pad->seen_buffer) { /* If this is the first buffer on the pad in the collect_streams state, - * then calculate inital offset based on running time of this segment */ + * then calculate initial offset based on running time of this segment */ part_pad->initial_ts_offset = part_pad->orig_segment.start + part_pad->orig_segment.base - part_pad->orig_segment.time; diff --git a/gst/multifile/gstsplitmuxsink.c b/gst/multifile/gstsplitmuxsink.c index 71ee742db4..def34f7d0e 100644 --- a/gst/multifile/gstsplitmuxsink.c +++ b/gst/multifile/gstsplitmuxsink.c @@ -2181,7 +2181,7 @@ check_completed_gop (GstSplitMuxSink * splitmux, MqStreamCtx * ctx) /* On ENDING_FILE, the reference stream sends a command to start a new * fragment, then releases the GOP for output in the new fragment. - * If somes streams received no buffer during the last GOP that overran, + * If some streams received no buffer during the last GOP that overran, * because its next buffer has a timestamp bigger than * ctx->max_in_running_time, its queue is empty. In that case the only * way to wakeup the output thread is by injecting an event in the diff --git a/gst/multifile/gstsplitmuxsrc.c b/gst/multifile/gstsplitmuxsrc.c index d829bfa99b..a9cfa56296 100644 --- a/gst/multifile/gstsplitmuxsrc.c +++ b/gst/multifile/gstsplitmuxsrc.c @@ -1408,7 +1408,7 @@ splitmux_src_pad_event (GstPad * pad, GstObject * parent, GstEvent * event) SPLITMUX_SRC_UNLOCK (splitmux); } case GST_EVENT_RECONFIGURE:{ - GST_DEBUG_OBJECT (splitmux, "reconfigure evnet on pad %" GST_PTR_FORMAT, + GST_DEBUG_OBJECT (splitmux, "reconfigure event on pad %" GST_PTR_FORMAT, pad); SPLITMUX_SRC_PADS_RLOCK (splitmux); diff --git a/gst/multifile/patternspec.c b/gst/multifile/patternspec.c index 848aaba2d6..1833601620 100644 --- a/gst/multifile/patternspec.c +++ b/gst/multifile/patternspec.c @@ -107,7 +107,7 @@ pattern_ph_match (const gchar * match_pattern, MatchMode match_mode, return TRUE; if (next_wildcard_reached) /* the forthcoming pattern substring up to the next wildcard has - * been matched, but a mismatch occoured for the rest of the + * been matched, but a mismatch occurred for the rest of the * pattern, following the next wildcard. * there's no need to advance the current match position any * further if the rest pattern will not match. diff --git a/gst/replaygain/replaygain.h b/gst/replaygain/replaygain.h index 15be88857b..b7c5938112 100644 --- a/gst/replaygain/replaygain.h +++ b/gst/replaygain/replaygain.h @@ -26,7 +26,7 @@ G_BEGIN_DECLS /* Reference level (in dBSPL). The 2001 proposal specifies 83. This was - * changed later in all implementations to 89, which is the new, offical value: + * changed later in all implementations to 89, which is the new, official value: * David Robinson acknowledged the change but didn't update the website yet. */ #define RG_REFERENCE_LEVEL 89. diff --git a/gst/rtp/README b/gst/rtp/README index 11bd90db85..a518598d41 100644 --- a/gst/rtp/README +++ b/gst/rtp/README @@ -17,7 +17,7 @@ The following fields can or must (*) be specified in the structure: * payload: (int) [0, 127] For audio and video, these will normally be a media payload type as - defined in the RTP Audio/Video Profile. For dynamicaly allocated + defined in the RTP Audio/Video Profile. For dynamically allocated payload types, this value will be >= 96 and the encoding-name must be set. @@ -296,7 +296,7 @@ Some gst-launch-1.0 lines: The receiver now displays an h263 image. Since there is no jitterbuffer in the pipeline, frames will be displayed at the time when they are received. This can - result in jerky playback in the case of high network jitter or currupted video + result in jerky playback in the case of high network jitter or corrupted video when packets are dropped or reordered. Stream a quicktime file with mpeg4 video and AAC audio on port 5000 and port @@ -342,7 +342,7 @@ Some gst-launch-1.0 lines: recommended to use a gstrtpjitterbuffer after the udpsrc elements. Even when sync is enabled, the two different streams will not play synchronised - against eachother because the receiver does not have enough information to + against each other because the receiver does not have enough information to perform this task. For this you need to add the rtpbin element in both the sender and receiver pipeline and use additional sources and sinks to transmit RTCP packets used for inter-stream synchronisation. diff --git a/gst/rtp/gstrtpdvdepay.c b/gst/rtp/gstrtpdvdepay.c index 0235b7145d..12297f0045 100644 --- a/gst/rtp/gstrtpdvdepay.c +++ b/gst/rtp/gstrtpdvdepay.c @@ -288,7 +288,7 @@ foreach_metadata_drop (GstBuffer * inbuf, GstMeta ** meta, gpointer user_data) /* Process one RTP packet. Accumulate RTP payload in the proper place in a DV * frame, and return that frame if we detect a new frame, or NULL otherwise. - * We assume a DV frame is 144000 bytes. That should accomodate PAL as well as + * We assume a DV frame is 144000 bytes. That should accommodate PAL as well as * NTSC. */ static GstBuffer * diff --git a/gst/rtp/gstrtpg726pay.c b/gst/rtp/gstrtpg726pay.c index 0716e5119a..d251b49950 100644 --- a/gst/rtp/gstrtpg726pay.c +++ b/gst/rtp/gstrtpg726pay.c @@ -220,7 +220,7 @@ gst_rtp_g726_pay_setcaps (GstRTPBasePayload * payload, GstCaps * caps) encoding_name = g_strdup (gst_structure_get_string (structure, "encoding-name")); - /* if we managed to negotiate to AAL2, we definatly are going to do AAL2 + /* if we managed to negotiate to AAL2, we definitely are going to do AAL2 * encoding. Else we only encode AAL2 when explicitly set by the * property. */ if (g_str_has_prefix (encoding_name, "AAL2-")) diff --git a/gst/rtp/gstrtpgstpay.c b/gst/rtp/gstrtpgstpay.c index b8c39324a7..a0f42e32e1 100644 --- a/gst/rtp/gstrtpgstpay.c +++ b/gst/rtp/gstrtpgstpay.c @@ -289,7 +289,7 @@ gst_rtp_gst_pay_create_from_adapter (GstRtpGSTPay * rtpgstpay, GstBuffer *paybuf; - /* this will be the total lenght of the packet */ + /* this will be the total length of the packet */ packet_len = gst_rtp_buffer_calc_packet_len (8 + avail, 0, 0); /* fill one MTU or all available bytes */ diff --git a/gst/rtp/gstrtph261pay.c b/gst/rtp/gstrtph261pay.c index 94f75f35a2..9b8c0d9226 100644 --- a/gst/rtp/gstrtph261pay.c +++ b/gst/rtp/gstrtph261pay.c @@ -773,7 +773,7 @@ find_gob (GstRtpH261Pay * pay, const guint8 * data, guint size, guint pos) return ret; } -/* Scans after all GOB start codes and initalizes the GOB structure with start +/* Scans after all GOB start codes and initializes the GOB structure with start * and end positions. */ static ParseReturn gst_rtp_h261_pay_init_gobs (GstRtpH261Pay * pay, Gob * gobs, gint num_gobs, @@ -947,7 +947,7 @@ gst_rtp_h261_pay_shift_buffer (GstRtpH261Pay * pay, const guint8 * data, gsize size, gint offset, gsize * newsize) { /* In order to read variable length codes at the very end of the buffer - * wihout peeking into possibly unallocated data, we pad with extra 0's + * without peeking into possibly unallocated data, we pad with extra 0's * which will generate an invalid code at the end of the buffer. */ guint pad = 4; gsize allocsize = size + pad; diff --git a/gst/rtp/gstrtph263pay.c b/gst/rtp/gstrtph263pay.c index 4163bcde85..a8def87aab 100644 --- a/gst/rtp/gstrtph263pay.c +++ b/gst/rtp/gstrtph263pay.c @@ -1708,7 +1708,7 @@ gst_rtp_h263_pay_flush (GstRtpH263Pay * rtph263pay) GST_DEBUG_OBJECT (rtph263pay, "Frame too large for MTU"); /* - * Let's go trough all the data and fragment it untill end is reached + * Let's go trough all the data and fragment it until end is reached */ gst_rtp_h263_pay_boundry_init (&bound, NULL, rtph263pay->data - 1, 0, 0); diff --git a/gst/rtp/gstrtph263ppay.c b/gst/rtp/gstrtph263ppay.c index a73f00e371..9b3ebb522c 100644 --- a/gst/rtp/gstrtph263ppay.c +++ b/gst/rtp/gstrtph263ppay.c @@ -680,7 +680,7 @@ gst_rtp_h263p_pay_flush (GstRtpH263PPay * rtph263ppay) * This algorithm separates large frames at synchronisation points (Segments) * (See RFC 4629 section 6). It would be interesting to have a property such as network * quality to select between both packetization methods */ - /* TODO Add VRC supprt (See RFC 4629 section 5.2) */ + /* TODO Add VRC support (See RFC 4629 section 5.2) */ while (avail > 0) { guint towrite; diff --git a/gst/rtp/gstrtph264depay.c b/gst/rtp/gstrtph264depay.c index 254d12215b..854cb7cf4c 100644 --- a/gst/rtp/gstrtph264depay.c +++ b/gst/rtp/gstrtph264depay.c @@ -1114,7 +1114,7 @@ gst_rtp_h264_depay_process (GstRTPBaseDepayload * depayload, GstRTPBuffer * rtp) */ nalu_size = (payload[0] << 8) | payload[1]; - /* dont include nalu_size */ + /* don't include nalu_size */ if (nalu_size > (payload_len - 2)) nalu_size = payload_len - 2; diff --git a/gst/rtp/gstrtph264pay.c b/gst/rtp/gstrtph264pay.c index 93f44c7111..b5d3e6ab71 100644 --- a/gst/rtp/gstrtph264pay.c +++ b/gst/rtp/gstrtph264pay.c @@ -1361,7 +1361,7 @@ gst_rtp_h264_pay_handle_buffer (GstRTPBasePayload * basepayload, avc = rtph264pay->stream_format == GST_H264_STREAM_FORMAT_AVC; if (avc) { - /* In AVC mode, there is no adapter, so nothign to drain */ + /* In AVC mode, there is no adapter, so nothing to drain */ if (draining) return GST_FLOW_OK; gst_buffer_map (buffer, &map, GST_MAP_READ); diff --git a/gst/rtp/gstrtph265depay.c b/gst/rtp/gstrtph265depay.c index f39ff94512..384c6bf65f 100644 --- a/gst/rtp/gstrtph265depay.c +++ b/gst/rtp/gstrtph265depay.c @@ -1367,7 +1367,7 @@ gst_rtp_h265_depay_process (GstRTPBaseDepayload * depayload, GstRTPBuffer * rtp) nalu_size = (payload[0] << 8) | payload[1]; - /* dont include nalu_size */ + /* don't include nalu_size */ if (nalu_size > (payload_len - 2)) nalu_size = payload_len - 2; diff --git a/gst/rtp/gstrtpjpegdepay.c b/gst/rtp/gstrtpjpegdepay.c index 59274f1112..f37fe1ed35 100644 --- a/gst/rtp/gstrtpjpegdepay.c +++ b/gst/rtp/gstrtpjpegdepay.c @@ -418,7 +418,7 @@ MakeHeaders (guint8 * p, int type, int width, int height, guint8 * qt, *p++ = 0x11; /* huffman table 1 */ *p++ = 0; /* first DCT coeff */ *p++ = 63; /* last DCT coeff */ - *p++ = 0; /* sucessive approx. */ + *p++ = 0; /* successive approx. */ return (p - start); }; diff --git a/gst/rtp/gstrtpjpegpay.c b/gst/rtp/gstrtpjpegpay.c index 7af04ecb6f..1b5aecffd0 100644 --- a/gst/rtp/gstrtpjpegpay.c +++ b/gst/rtp/gstrtpjpegpay.c @@ -97,7 +97,7 @@ typedef enum _RtpJpegMarker RtpJpegMarker; * @JPEG_MARKER_DRI: Define Restart Interval marker * @JPEG_MARKER_H264: H264 marker * - * Identifers for markers in JPEG header + * Identifiers for markers in JPEG header */ enum _RtpJpegMarker { diff --git a/gst/rtp/gstrtpmp4adepay.c b/gst/rtp/gstrtpmp4adepay.c index e537d25096..9177d7c3d2 100644 --- a/gst/rtp/gstrtpmp4adepay.c +++ b/gst/rtp/gstrtpmp4adepay.c @@ -389,7 +389,7 @@ gst_rtp_mp4a_depay_process (GstRTPBaseDepayload * depayload, GstRTPBuffer * rtp) skip += data_len; pos += data_len; - /* update our pointers whith what we consumed */ + /* update our pointers with what we consumed */ data += skip; avail -= skip; diff --git a/gst/rtp/gstrtpmp4gdepay.c b/gst/rtp/gstrtpmp4gdepay.c index df6c1c34d8..5c4b454080 100644 --- a/gst/rtp/gstrtpmp4gdepay.c +++ b/gst/rtp/gstrtpmp4gdepay.c @@ -598,7 +598,7 @@ gst_rtp_mp4g_depay_process (GstRTPBaseDepayload * depayload, GstRTPBuffer * rtp) rtpmp4gdepay->last_AU_index = AU_index; } - /* keep track of the higest AU_index */ + /* keep track of the highest AU_index */ if (rtpmp4gdepay->max_AU_index != -1 && rtpmp4gdepay->max_AU_index <= AU_index) { GST_DEBUG_OBJECT (rtpmp4gdepay, "new interleave group, flushing"); diff --git a/gst/rtp/gstrtpmp4gpay.c b/gst/rtp/gstrtpmp4gpay.c index 5b7f98b7f4..1f64b24c35 100644 --- a/gst/rtp/gstrtpmp4gpay.c +++ b/gst/rtp/gstrtpmp4gpay.c @@ -472,7 +472,7 @@ gst_rtp_mp4g_pay_flush (GstRtpMP4GPay * rtpmp4gpay) GstRTPBuffer rtp = { NULL }; GstBuffer *paybuf; - /* this will be the total lenght of the packet */ + /* this will be the total length of the packet */ packet_len = gst_rtp_buffer_calc_packet_len (avail, 0, 0); /* fill one MTU or all available bytes, we need 4 spare bytes for diff --git a/gst/rtp/gstrtpmp4vpay.c b/gst/rtp/gstrtpmp4vpay.c index e990131c60..29803392ad 100644 --- a/gst/rtp/gstrtpmp4vpay.c +++ b/gst/rtp/gstrtpmp4vpay.c @@ -267,7 +267,7 @@ gst_rtp_mp4v_pay_flush (GstRtpMP4VPay * rtpmp4vpay) guint packet_len; GstRTPBuffer rtp = { NULL }; - /* this will be the total lenght of the packet */ + /* this will be the total length of the packet */ packet_len = gst_rtp_buffer_calc_packet_len (avail, 0, 0); /* fill one MTU or all available bytes */ diff --git a/gst/rtp/gstrtpredenc.c b/gst/rtp/gstrtpredenc.c index dba10261e7..f192b7862f 100644 --- a/gst/rtp/gstrtpredenc.c +++ b/gst/rtp/gstrtpredenc.c @@ -144,7 +144,7 @@ _alloc_red_packet_and_fill_headers (GstRtpRedEnc * self, guint red_header_size = rtp_red_block_header_get_length (FALSE) + (redundant_block ? rtp_red_block_header_get_length (TRUE) : 0); - guint32 timestmap = gst_rtp_buffer_get_timestamp (inp_rtp); + guint32 timestamp = gst_rtp_buffer_get_timestamp (inp_rtp); guint csrc_count = gst_rtp_buffer_get_csrc_count (inp_rtp); GstBuffer *red = gst_rtp_buffer_new_allocate (red_header_size, 0, csrc_count); guint8 *red_block_header; @@ -161,7 +161,7 @@ _alloc_red_packet_and_fill_headers (GstRtpRedEnc * self, gst_rtp_buffer_set_marker (&red_rtp, gst_rtp_buffer_get_marker (inp_rtp)); gst_rtp_buffer_set_payload_type (&red_rtp, self->pt); gst_rtp_buffer_set_seq (&red_rtp, gst_rtp_buffer_get_seq (inp_rtp)); - gst_rtp_buffer_set_timestamp (&red_rtp, timestmap); + gst_rtp_buffer_set_timestamp (&red_rtp, timestamp); gst_rtp_buffer_set_ssrc (&red_rtp, gst_rtp_buffer_get_ssrc (inp_rtp)); for (i = 0; i != csrc_count; ++i) gst_rtp_buffer_set_csrc (&red_rtp, i, @@ -173,7 +173,7 @@ _alloc_red_packet_and_fill_headers (GstRtpRedEnc * self, rtp_red_block_set_is_redundant (red_block_header, TRUE); rtp_red_block_set_payload_type (red_block_header, redundant_block->pt); rtp_red_block_set_timestamp_offset (red_block_header, - timestmap - redundant_block->timestamp); + timestamp - redundant_block->timestamp); rtp_red_block_set_payload_length (red_block_header, gst_buffer_get_size (redundant_block->payload)); diff --git a/gst/rtp/gstrtptheoradepay.c b/gst/rtp/gstrtptheoradepay.c index edc50cfff9..c8af974956 100644 --- a/gst/rtp/gstrtptheoradepay.c +++ b/gst/rtp/gstrtptheoradepay.c @@ -599,7 +599,7 @@ no_output: return NULL; - /* ERORRS */ + /* ERRORS */ switch_failed: { GST_ELEMENT_WARNING (rtptheoradepay, STREAM, DECODE, diff --git a/gst/rtp/gstrtpulpfecenc.c b/gst/rtp/gstrtpulpfecenc.c index c16907531e..bd2df23bb3 100644 --- a/gst/rtp/gstrtpulpfecenc.c +++ b/gst/rtp/gstrtpulpfecenc.c @@ -557,7 +557,7 @@ gst_rtp_ulpfec_enc_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer) ret = gst_rtp_ulpfec_enc_stream_ctx_process (ctx, buffer); - /* FIXME: does not work for mulitple ssrcs */ + /* FIXME: does not work for multiple ssrcs */ fec->num_packets_protected = ctx->num_packets_protected; return ret; diff --git a/gst/rtp/gstrtpvorbisdepay.c b/gst/rtp/gstrtpvorbisdepay.c index d3618b975a..556bd76c00 100644 --- a/gst/rtp/gstrtpvorbisdepay.c +++ b/gst/rtp/gstrtpvorbisdepay.c @@ -630,7 +630,7 @@ no_output: } return NULL; } - /* ERORRS */ + /* ERRORS */ switch_failed: { GST_ELEMENT_WARNING (rtpvorbisdepay, STREAM, DECODE, diff --git a/gst/rtp/gstrtpvrawdepay.c b/gst/rtp/gstrtpvrawdepay.c index d6906dcb36..d679f68794 100644 --- a/gst/rtp/gstrtpvrawdepay.c +++ b/gst/rtp/gstrtpvrawdepay.c @@ -456,7 +456,7 @@ gst_rtp_vraw_depay_process_packet (GstRTPBaseDepayload * depayload, goto next; } - /* calculate the maximim amount of bytes we can use per line */ + /* calculate the maximum amount of bytes we can use per line */ if (offs + ((length / pgroup) * xinc) > width) { plen = ((width - offs) * pgroup) / xinc; GST_WARNING_OBJECT (depayload, "clipping length %d, offset %d, plen %d", diff --git a/gst/rtp/rtpstorage.c b/gst/rtp/rtpstorage.c index ecabffced6..129bc863d5 100644 --- a/gst/rtp/rtpstorage.c +++ b/gst/rtp/rtpstorage.c @@ -92,7 +92,7 @@ rtp_storage_get_packets_for_recovery (RtpStorage * self, gint fec_pt, STORAGE_UNLOCK (self); if (NULL == stream) { - GST_ERROR_OBJECT (self, "Cant find ssrc = 0x08%x", ssrc); + GST_ERROR_OBJECT (self, "Can't find ssrc = 0x08%x", ssrc); } else { STREAM_LOCK (stream); if (stream->queue.length > 0) { @@ -128,7 +128,7 @@ rtp_storage_get_redundant_packet (RtpStorage * self, guint32 ssrc, STORAGE_UNLOCK (self); if (NULL == stream) { - GST_ERROR_OBJECT (self, "Cant find ssrc = 0x%x", ssrc); + GST_ERROR_OBJECT (self, "Can't find ssrc = 0x%x", ssrc); } else { STREAM_LOCK (stream); if (stream->queue.length > 0) { diff --git a/gst/rtp/rtpulpfeccommon.c b/gst/rtp/rtpulpfeccommon.c index 326b5ffd47..7c6bf5876b 100644 --- a/gst/rtp/rtpulpfeccommon.c +++ b/gst/rtp/rtpulpfeccommon.c @@ -358,7 +358,7 @@ rtp_ulpfec_map_info_map (GstBuffer * buffer, RtpUlpFecMapInfo * info) * @info: #RtpUlpFecMapInfo * * Unmap @info previously mapped with rtp_ulpfec_map_info_map() and unrefs the - * buffer. For convinience can even be called even if rtp_ulpfec_map_info_map + * buffer. For convenience can even be called even if rtp_ulpfec_map_info_map * returned FALSE **/ void diff --git a/gst/rtp/rtpulpfeccommon.h b/gst/rtp/rtpulpfeccommon.h index 2c9d798cce..f44174a952 100644 --- a/gst/rtp/rtpulpfeccommon.h +++ b/gst/rtp/rtpulpfeccommon.h @@ -38,12 +38,12 @@ G_BEGIN_DECLS #define RTP_ULPFEC_SEQ_BASE_OFFSET_MAX(L) (RTP_ULPFEC_PROTECTED_PACKETS_MAX(L) - 1) /** - * RtpUlpFecMapInfo: Helper wraper around GstRTPBuffer + * RtpUlpFecMapInfo: Helper wrapper around GstRTPBuffer * * @rtp: mapped RTP buffer **/ typedef struct { - // FIXME: it used to contain more fileds now we are left with only GstRTPBuffer. + // FIXME: it used to contain more fields now we are left with only GstRTPBuffer. // it will be nice to use it directly GstRTPBuffer rtp; } RtpUlpFecMapInfo; diff --git a/gst/rtpmanager/gstrtpbin.c b/gst/rtpmanager/gstrtpbin.c index 013a0ab8d2..d7d5ef3044 100644 --- a/gst/rtpmanager/gstrtpbin.c +++ b/gst/rtpmanager/gstrtpbin.c @@ -51,7 +51,7 @@ * To use #GstRtpBin as a sender, request a send_rtp_sink_\%u pad, which will * automatically create a send_rtp_src_\%u pad. If the session number is not provided, * the pad from the lowest available session will be returned. The session manager will modify the - * SSRC in the RTP packets to its own SSRC and wil forward the packets on the + * SSRC in the RTP packets to its own SSRC and will forward the packets on the * send_rtp_src_\%u pad after updating its internal state. * * The session manager needs the clock-rate of the payload types it is handling @@ -394,7 +394,7 @@ static GstElement *session_request_element (GstRtpBinSession * session, /* Manages the RTP stream for one SSRC. * - * We pipe the stream (comming from the SSRC demuxer) into a jitterbuffer. + * We pipe the stream (coming from the SSRC demuxer) into a jitterbuffer. * If we see an SDES RTCP packet that links multiple SSRCs together based on a * common CNAME, we create a GstRtpBinClient structure to group the SSRCs * together (see below). @@ -890,7 +890,7 @@ get_pt_map (GstRtpBinSession * session, guint pt) bin = session->bin; - GST_DEBUG ("emiting signal for pt %u in session %u", pt, session->id); + GST_DEBUG ("emitting signal for pt %u in session %u", pt, session->id); /* not in cache, send signal to request caps */ g_value_init (&args[0], GST_TYPE_ELEMENT); @@ -1413,7 +1413,7 @@ gst_rtp_bin_associate (GstRtpBin * bin, GstRtpBinStream * stream, guint8 len, /* For NTP sync we need to first get a snapshot of running_time and NTP * time. We know at what running_time we play a certain RTP time, we also * calculated when we would play the RTP time in the SR packet. Now we need - * to know how the running_time and the NTP time relate to eachother. */ + * to know how the running_time and the NTP time relate to each other. */ get_current_times (bin, &local_running_time, &local_ntpnstime); /* see how far away the NTP time is. This is the difference between the @@ -1454,9 +1454,9 @@ gst_rtp_bin_associate (GstRtpBin * bin, GstRtpBinStream * stream, guint8 len, /* calculate the min of all deltas, ignoring streams that did not yet have a * valid rt_delta because we did not yet receive an SR packet for those * streams. - * We calculate the mininum because we would like to only apply positive + * We calculate the minimum because we would like to only apply positive * offsets to streams, delaying their playback instead of trying to speed up - * other streams (which might be imposible when we have to create negative + * other streams (which might be impossible when we have to create negative * latencies). * The stream that has the smallest diff is selected as the reference stream, * all other streams will have a positive offset to this difference. */ @@ -1469,7 +1469,7 @@ gst_rtp_bin_associate (GstRtpBin * bin, GstRtpBinStream * stream, guint8 len, guint64 ext_base; use_rtp = TRUE; - /* signed version for convienience */ + /* signed version for convenience */ clock_base = base_rtptime; /* deal with possible wrap-around */ ext_base = base_rtptime; @@ -1837,7 +1837,7 @@ create_stream (GstRtpBinSession * session, guint32 ssrc) /* ERRORS */ max_streams: { - GST_WARNING_OBJECT (rtpbin, "stream exeeds maximum (%d)", + GST_WARNING_OBJECT (rtpbin, "stream exceeds maximum (%d)", rtpbin->max_streams); return NULL; } @@ -3452,7 +3452,7 @@ fec_decoder_link_failed: } } -/* a new pad (SSRC) was created in @session. This signal is emited from the +/* a new pad (SSRC) was created in @session. This signal is emitted from the * payload demuxer. */ static void new_payload_found (GstElement * element, guint pt, GstPad * pad, @@ -3547,7 +3547,7 @@ static void payload_type_change (GstElement * element, guint pt, GstRtpBinSession * session) { GST_DEBUG_OBJECT (session->bin, - "emiting signal for pt type changed to %u in session %u", pt, + "emitting signal for pt type changed to %u in session %u", pt, session->id); g_signal_emit (session->bin, gst_rtp_bin_signals[SIGNAL_PAYLOAD_TYPE_CHANGE], @@ -4617,7 +4617,7 @@ remove_rtcp (GstRtpBin * rtpbin, GstRtpBinSession * session) } /* If the requested name is NULL we should create a name with - * the session number assuming we want the lowest posible session + * the session number assuming we want the lowest possible session * with a free pad like the template */ static gchar * gst_rtp_bin_get_free_pad_name (GstElement * element, GstPadTemplate * templ) diff --git a/gst/rtpmanager/gstrtpjitterbuffer.c b/gst/rtpmanager/gstrtpjitterbuffer.c index ba49e830b9..54feee9c95 100644 --- a/gst/rtpmanager/gstrtpjitterbuffer.c +++ b/gst/rtpmanager/gstrtpjitterbuffer.c @@ -1039,7 +1039,7 @@ gst_rtp_jitter_buffer_init (GstRtpJitterBuffer * jitterbuffer) g_queue_init (&priv->gap_packets); gst_segment_init (&priv->segment, GST_FORMAT_TIME); - /* reset skew detection initialy */ + /* reset skew detection initially */ rtp_jitter_buffer_reset_skew (priv->jbuf); rtp_jitter_buffer_set_delay (priv->jbuf, priv->latency_ns); rtp_jitter_buffer_set_buffering (priv->jbuf, FALSE); @@ -1931,7 +1931,7 @@ gst_rtp_jitter_buffer_sink_rtcp_event (GstPad * pad, GstObject * parent, } /* - * Must be called with JBUF_LOCK held, will release the LOCK when emiting the + * Must be called with JBUF_LOCK held, will release the LOCK when emitting the * signal. The function returns GST_FLOW_ERROR when a parsing error happened and * GST_FLOW_FLUSHING when the element is shutting down. On success * GST_FLOW_OK is returned. @@ -2198,7 +2198,7 @@ get_rtx_delay (GstRtpJitterBufferPrivate * priv) if (priv->rtx_delay == -1) { /* the maximum delay for any RTX-packet is given by the latency, since anything after that is considered lost. For various calulcations, - (given large avg_jitter and/or packet_spacing), the resuling delay + (given large avg_jitter and/or packet_spacing), the resulting delay could exceed the configured latency, ending up issuing an RTX-request that would never arrive in time. To help this we cap the delay for any RTX with the last possible time it could still arrive in time. */ @@ -3889,7 +3889,7 @@ do_lost_timeout (GstRtpJitterBuffer * jitterbuffer, RtpTimer * timer, * lost items (so that we can set discont flags and such) */ if (priv->do_lost) { GstClockTime duration, timestamp; - /* create paket lost event */ + /* create packet lost event */ timestamp = apply_offset (jitterbuffer, get_pts_timeout (timer)); duration = timer->duration; if (duration == GST_CLOCK_TIME_NONE && priv->packet_spacing > 0) @@ -4130,7 +4130,7 @@ stopping: } /* - * This funcion implements the main pushing loop on the source pad. + * This function implements the main pushing loop on the source pad. * * It first tries to push as many buffers as possible. If there is a seqnum * mismatch, we wait for the next timeouts. @@ -4184,7 +4184,7 @@ pause: } } -/* collect the info from the lastest RTCP packet and the jitterbuffer sync, do +/* collect the info from the latest RTCP packet and the jitterbuffer sync, do * some sanity checks and then emit the handle-sync signal with the parameters. * This function must be called with the LOCK */ static void diff --git a/gst/rtpmanager/gstrtpptdemux.c b/gst/rtpmanager/gstrtpptdemux.c index 9921777983..b657556c63 100644 --- a/gst/rtpmanager/gstrtpptdemux.c +++ b/gst/rtpmanager/gstrtpptdemux.c @@ -203,7 +203,7 @@ gst_rtp_pt_demux_class_init (GstRtpPtDemuxClass * klass) * @pt: the payload type * @pad: the pad with the new payload * - * Emited when a new payload type pad has been created in @demux. + * Emitted when a new payload type pad has been created in @demux. */ gst_rtp_pt_demux_signals[SIGNAL_NEW_PAYLOAD_TYPE] = g_signal_new ("new-payload-type", G_TYPE_FROM_CLASS (klass), @@ -216,7 +216,7 @@ gst_rtp_pt_demux_class_init (GstRtpPtDemuxClass * klass) * @demux: the object which received the signal * @pt: the new payload type * - * Emited when the payload type changed. + * Emitted when the payload type changed. */ gst_rtp_pt_demux_signals[SIGNAL_PAYLOAD_TYPE_CHANGE] = g_signal_new ("payload-type-change", G_TYPE_FROM_CLASS (klass), diff --git a/gst/rtpmanager/gstrtpptdemux.h b/gst/rtpmanager/gstrtpptdemux.h index 95d374e60b..4beae863bd 100644 --- a/gst/rtpmanager/gstrtpptdemux.h +++ b/gst/rtpmanager/gstrtpptdemux.h @@ -49,7 +49,7 @@ struct _GstRtpPtDemuxClass /* get the caps for pt */ GstCaps* (*request_pt_map) (GstRtpPtDemux *demux, guint pt); - /* signal emmited when a new PT is found from the incoming stream */ + /* signal emitted when a new PT is found from the incoming stream */ void (*new_payload_type) (GstRtpPtDemux *demux, guint pt, GstPad * pad); /* signal emitted when the payload type changes */ diff --git a/gst/rtpmanager/gstrtprtxreceive.c b/gst/rtpmanager/gstrtprtxreceive.c index 4c97691cf5..77fe78493c 100644 --- a/gst/rtpmanager/gstrtprtxreceive.c +++ b/gst/rtpmanager/gstrtprtxreceive.c @@ -137,7 +137,7 @@ * It is an error, according to RFC4588 to have two retransmission requests for * packets belonging to two different streams but with the same sequence number. * Note that the default seqnum-offset value (-1, which means random) would - * work just fine, but it is overriden here for illustration purposes. + * work just fine, but it is overridden here for illustration purposes. */ #ifdef HAVE_CONFIG_H @@ -361,7 +361,7 @@ gst_rtp_rtx_receive_src_event (GstPad * pad, GstObject * parent, if (g_hash_table_lookup_extended (rtx->ssrc2_ssrc1_map, GUINT_TO_POINTER (ssrc), NULL, &ssrc2) && GPOINTER_TO_UINT (ssrc2) != GPOINTER_TO_UINT (ssrc)) { - GST_TRACE_OBJECT (rtx, "Retransmited stream %X already associated " + GST_TRACE_OBJECT (rtx, "Retransmitted stream %X already associated " "to its master, %X", GPOINTER_TO_UINT (ssrc2), ssrc); } else { SsrcAssoc *assoc; @@ -378,7 +378,7 @@ gst_rtp_rtx_receive_src_event (GstPad * pad, GstObject * parent, * The jitter may be too impatient of the rtx packet has been * lost too. * It does not mean we reject the event, we still want to forward - * the request to the gstrtpsession to be translater into a FB NACK + * the request to the gstrtpsession to be translator into a FB NACK */ GST_LOG_OBJECT (rtx, "Duplicate request: seqnum: %u, ssrc: %X", seqnum, ssrc); @@ -430,7 +430,7 @@ gst_rtp_rtx_receive_src_event (GstPad * pad, GstObject * parent, GST_OBJECT_UNLOCK (rtx); } - /* Transfer event upstream so that the request can acutally by translated + /* Transfer event upstream so that the request can actually by translated * through gstrtpsession through the network */ res = gst_pad_event_default (pad, parent, event); break; diff --git a/gst/rtpmanager/gstrtprtxsend.c b/gst/rtpmanager/gstrtprtxsend.c index bf35f257ed..3303ca5cac 100644 --- a/gst/rtpmanager/gstrtprtxsend.c +++ b/gst/rtpmanager/gstrtprtxsend.c @@ -535,7 +535,7 @@ gst_rtp_rtx_send_src_event (GstPad * pad, GstObject * parent, GstEvent * event) GST_OBJECT_LOCK (rtx); - /* choose another ssrc for our retransmited stream */ + /* choose another ssrc for our retransmitted stream */ if (g_hash_table_contains (rtx->rtx_ssrcs, GUINT_TO_POINTER (ssrc))) { guint master_ssrc; SSRCRtxData *data; diff --git a/gst/rtpmanager/gstrtpsession.c b/gst/rtpmanager/gstrtpsession.c index 8f6c3cfc65..b8b2b73a35 100644 --- a/gst/rtpmanager/gstrtpsession.c +++ b/gst/rtpmanager/gstrtpsession.c @@ -31,7 +31,7 @@ * * * RTP packet validation based on consecutive sequence numbers. * - * * Maintainance of the SSRC participant database. + * * Maintenance of the SSRC participant database. * * * Keeping per participant statistics based on received RTCP packets. * diff --git a/gst/rtpmanager/gstrtpssrcdemux.c b/gst/rtpmanager/gstrtpssrcdemux.c index 6ed3f73c76..b88fef5243 100644 --- a/gst/rtpmanager/gstrtpssrcdemux.c +++ b/gst/rtpmanager/gstrtpssrcdemux.c @@ -367,7 +367,7 @@ gst_rtp_ssrc_demux_class_init (GstRtpSsrcDemuxClass * klass) * @ssrc: the SSRC of the pad * @pad: the new pad. * - * Emited when a new SSRC pad has been created. + * Emitted when a new SSRC pad has been created. */ gst_rtp_ssrc_demux_signals[SIGNAL_NEW_SSRC_PAD] = g_signal_new ("new-ssrc-pad", @@ -382,7 +382,7 @@ gst_rtp_ssrc_demux_class_init (GstRtpSsrcDemuxClass * klass) * @ssrc: the SSRC of the pad * @pad: the removed pad. * - * Emited when a SSRC pad has been removed. + * Emitted when a SSRC pad has been removed. */ gst_rtp_ssrc_demux_signals[SIGNAL_REMOVED_SSRC_PAD] = g_signal_new ("removed-ssrc-pad", diff --git a/gst/rtpmanager/rtpjitterbuffer.c b/gst/rtpmanager/rtpjitterbuffer.c index 85dfc44f25..185f111dd8 100644 --- a/gst/rtpmanager/rtpjitterbuffer.c +++ b/gst/rtpmanager/rtpjitterbuffer.c @@ -504,7 +504,7 @@ update_buffer_level (RTPJitterBuffer * jbuf, gint * percent) * 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)) * diff --git a/gst/rtpmanager/rtpsession.c b/gst/rtpmanager/rtpsession.c index 0ddb2b584f..d80b43fab6 100644 --- a/gst/rtpmanager/rtpsession.c +++ b/gst/rtpmanager/rtpsession.c @@ -4337,7 +4337,7 @@ rtp_session_on_timeout (RTPSession * sess, GstClockTime current_time, if (!is_rtcp_time (sess, current_time, &data)) goto done; - /* check if all the buffers are empty afer generation */ + /* check if all the buffers are empty after generation */ all_empty = TRUE; GST_DEBUG diff --git a/gst/rtpmanager/rtpsession.h b/gst/rtpmanager/rtpsession.h index 7ab229ad56..6aa28ca2e0 100644 --- a/gst/rtpmanager/rtpsession.h +++ b/gst/rtpmanager/rtpsession.h @@ -404,7 +404,7 @@ GstClockTime rtp_session_next_timeout (RTPSession *sess, GstClockTi GstFlowReturn rtp_session_on_timeout (RTPSession *sess, GstClockTime current_time, guint64 ntpnstime, GstClockTime running_time); -/* request the transmittion of an early RTCP packet */ +/* request the transmission of an early RTCP packet */ gboolean rtp_session_request_early_rtcp (RTPSession * sess, GstClockTime current_time, GstClockTime max_delay); diff --git a/gst/rtpmanager/rtpsource.c b/gst/rtpmanager/rtpsource.c index 1f9ffb102b..ac4b89d1ce 100644 --- a/gst/rtpmanager/rtpsource.c +++ b/gst/rtpmanager/rtpsource.c @@ -1288,7 +1288,7 @@ rtp_source_process_rtp (RTPSource * src, RTPPacketInfo * pinfo) * @reason: the reason for leaving * * Mark @src in the BYE state. This can happen when the source wants to - * leave the sesssion or when a BYE packets has been received. + * leave the session or when a BYE packets has been received. * * This will make the source inactive. */ diff --git a/gst/rtsp/README b/gst/rtsp/README index 3c6f3a00b0..845086341a 100644 --- a/gst/rtsp/README +++ b/gst/rtsp/README @@ -83,8 +83,8 @@ An RTSP session is created as follows: Transport header field. The server also includes its ports where RTP and RTCP messages can be sent to. - In the above example UDP was choosen as a transport. At this point the RTSPSrc element - will furter configure its elements to process this stream. + In the above example UDP was chosen as a transport. At this point the RTSPSrc element + will further configure its elements to process this stream. The RTSPSrc will create and connect an RTP session manager element and will connect it to the src pads of the udp element. The data pad from the RTP session diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 5ca9c00672..56c777a452 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -812,7 +812,7 @@ gst_rtspsrc_class_init (GstRTSPSrcClass * klass) */ g_object_class_install_property (gobject_class, PROP_TLS_INTERACTION, g_param_spec_object ("tls-interaction", "TLS interaction", - "A GTlsInteraction object to promt the user for password or certificate", + "A GTlsInteraction object to prompt the user for password or certificate", G_TYPE_TLS_INTERACTION, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); /** @@ -5701,7 +5701,7 @@ gst_rtspsrc_loop_udp (GstRTSPSrc * src) } continue; case GST_RTSP_ENET: - GST_DEBUG_OBJECT (src, "An ethernet problem occured."); + GST_DEBUG_OBJECT (src, "An ethernet problem occurred."); default: GST_ELEMENT_WARNING (src, RESOURCE, READ, (NULL), ("Unhandled return value %d.", res)); @@ -6554,7 +6554,7 @@ gst_rtspsrc_send (GstRTSPSrc * src, GstRTSPConnInfo * conninfo, version_retry++; break; } - /* falltrough */ + /* fallthrough */ default: break; } @@ -8805,7 +8805,7 @@ gst_rtspsrc_pause (GstRTSPSrc * src, gboolean async) gst_rtsp_message_unset (&request); gst_rtsp_message_unset (&response); - /* exit early when we did agregate control */ + /* exit early when we did aggregate control */ if (control) break; } diff --git a/gst/spectrum/gstspectrum.h b/gst/spectrum/gstspectrum.h index c6e7e8a92a..df8d7300fb 100644 --- a/gst/spectrum/gstspectrum.h +++ b/gst/spectrum/gstspectrum.h @@ -62,7 +62,7 @@ struct _GstSpectrum guint64 frames_per_interval; /* how many frames per interval */ guint64 frames_todo; guint bands; /* number of spectrum bands */ - gint threshold; /* energy level treshold */ + gint threshold; /* energy level threshold */ gboolean multi_channel; /* send separate channel results */ guint64 num_frames; /* frame count (1 sample per channel) diff --git a/gst/udp/gstmultiudpsink.c b/gst/udp/gstmultiudpsink.c index 321d69af76..f7aa31165d 100644 --- a/gst/udp/gstmultiudpsink.c +++ b/gst/udp/gstmultiudpsink.c @@ -326,7 +326,7 @@ gst_multiudpsink_class_init (GstMultiUDPSinkClass * klass) /** * GstMultiUDPSink::send-duplicates: * - * When a host/port pair is added mutliple times, send the packet to the host + * When a host/port pair is added multiple times, send the packet to the host * multiple times as well. */ g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_SEND_DUPLICATES, @@ -795,7 +795,7 @@ gst_multiudpsink_render_buffers (GstMultiUDPSink * sink, GstBuffer ** buffers, sink->bytes_to_serve += size; /* now copy the pre-filled num_buffer messages over to the next num_buffer - * messages for the next client, where we also change the target adddress */ + * messages for the next client, where we also change the target address */ for (i = 1; i < num_addr; ++i) { for (j = 0; j < num_buffers; ++j) { msgs[i * num_buffers + j] = msgs[j]; diff --git a/gst/udp/gstudpsrc.c b/gst/udp/gstudpsrc.c index a8871915b9..6aab24a692 100644 --- a/gst/udp/gstudpsrc.c +++ b/gst/udp/gstudpsrc.c @@ -43,7 +43,7 @@ * * The #GstUDPSrc:caps property is mainly used to give a type to the UDP packet * so that they can be autoplugged in GStreamer pipelines. This is very useful - * for RTP implementations where the contents of the UDP packets is transfered + * for RTP implementations where the contents of the UDP packets is transferred * out-of-bounds using SDP or other means. * * The #GstUDPSrc:buffer-size property is used to change the default kernel @@ -78,7 +78,7 @@ * * A custom file descriptor can be configured with the * #GstUDPSrc:socket property. The socket will be closed when setting - * the element to READY by default. This behaviour can be overriden + * the element to READY by default. This behaviour can be overridden * with the #GstUDPSrc:close-socket property, in which case the * application is responsible for closing the file descriptor. * @@ -555,7 +555,7 @@ gst_udpsrc_class_init (GstUDPSrcClass * klass) g_object_class_install_property (gobject_class, PROP_MULTICAST_IFACE, g_param_spec_string ("multicast-iface", "Multicast Interface", "The network interface on which to join the multicast group." - "This allows multiple interfaces seperated by comma. (\"eth0,eth1\")", + "This allows multiple interfaces separated by comma. (\"eth0,eth1\")", UDP_DEFAULT_MULTICAST_IFACE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_URI, diff --git a/gst/videobox/gstvideobox.c b/gst/videobox/gstvideobox.c index d657e64cd3..58df1ee507 100644 --- a/gst/videobox/gstvideobox.c +++ b/gst/videobox/gstvideobox.c @@ -45,7 +45,7 @@ * involves either cropping or padding. * * If you use autocrop there is little point in setting the other - * properties manually because they will be overriden if the caps change, + * properties manually because they will be overridden if the caps change, * but nothing stops you from doing so. * * Sample pipeline: @@ -2829,7 +2829,7 @@ gst_video_box_transform_caps (GstBaseTransform * trans, v = gst_structure_get_value (structure, "width"); if (!gst_video_box_transform_dimension_value (v, dw, &w_val)) { GST_WARNING_OBJECT (video_box, - "could not tranform width value with dw=%d" ", caps structure=%" + "could not transform width value with dw=%d" ", caps structure=%" GST_PTR_FORMAT, dw, structure); goto bail; } @@ -2839,7 +2839,7 @@ gst_video_box_transform_caps (GstBaseTransform * trans, if (!gst_video_box_transform_dimension_value (v, dh, &h_val)) { g_value_unset (&w_val); GST_WARNING_OBJECT (video_box, - "could not tranform height value with dh=%d" ", caps structure=%" + "could not transform height value with dh=%d" ", caps structure=%" GST_PTR_FORMAT, dh, structure); goto bail; } diff --git a/gst/videocrop/gstvideocrop.c b/gst/videocrop/gstvideocrop.c index 03f6e292fe..9c0e1a831d 100644 --- a/gst/videocrop/gstvideocrop.c +++ b/gst/videocrop/gstvideocrop.c @@ -677,7 +677,7 @@ gst_video_crop_transform_caps (GstBaseTransform * trans, v = gst_structure_get_value (structure, "width"); if (!gst_video_crop_transform_dimension_value (v, dx, &w_val, direction, w_dynamic)) { - GST_WARNING_OBJECT (vcrop, "could not tranform width value with dx=%d" + GST_WARNING_OBJECT (vcrop, "could not transform width value with dx=%d" ", caps structure=%" GST_PTR_FORMAT, dx, structure); continue; } @@ -686,7 +686,7 @@ gst_video_crop_transform_caps (GstBaseTransform * trans, if (!gst_video_crop_transform_dimension_value (v, dy, &h_val, direction, h_dynamic)) { g_value_unset (&w_val); - GST_WARNING_OBJECT (vcrop, "could not tranform height value with dy=%d" + GST_WARNING_OBJECT (vcrop, "could not transform height value with dy=%d" ", caps structure=%" GST_PTR_FORMAT, dy, structure); continue; } diff --git a/gst/videofilter/gstvideoflip.c b/gst/videofilter/gstvideoflip.c index f5afffe7a5..1c2612662f 100644 --- a/gst/videofilter/gstvideoflip.c +++ b/gst/videofilter/gstvideoflip.c @@ -169,7 +169,7 @@ gst_video_flip_transform_caps (GstBaseTransform * trans, "height", G_TYPE_INT, height, NULL); break; case GST_VIDEO_ORIENTATION_CUSTOM: - GST_WARNING_OBJECT (videoflip, "unsuported custom orientation"); + GST_WARNING_OBJECT (videoflip, "unsupported custom orientation"); break; default: g_assert_not_reached (); diff --git a/gst/videomixer/README b/gst/videomixer/README index 6794a4810d..3a66145e8d 100644 --- a/gst/videomixer/README +++ b/gst/videomixer/README @@ -6,7 +6,7 @@ a new buffer. The new buffer has by default a checkerboard pattern but its color can be changed with a property. The mixer can mix streams with different framerates and video sizes. It uses the duration value of the buffer to schedule the rendering of the -buffers. For streams with a different resoltion than the final output +buffers. For streams with a different resolution than the final output resolution one can specify the position of the top left corner where this image should be placed with the pad properties xpos and ypos. The overall alpha value of a stream can also be specified with a pad diff --git a/gst/videomixer/videomixer2.c b/gst/videomixer/videomixer2.c index da1a8fdf7b..69a0a0fb3b 100644 --- a/gst/videomixer/videomixer2.c +++ b/gst/videomixer/videomixer2.c @@ -55,7 +55,7 @@ * videomixer name=mix ! videoconvert ! ximagesink \ * videotestsrc ! \ * video/x-raw, framerate=\(fraction\)5/1, width=320, height=240 ! mix. - * ]| A pipeline to demostrate bgra mixing. (This does not demonstrate alpha blending). + * ]| A pipeline to demonstrate bgra mixing. (This does not demonstrate alpha blending). * |[ * gst-launch-1.0 videotestsrc pattern=1 ! \ * video/x-raw,format =I420, framerate=\(fraction\)10/1, width=100, height=100 ! \ @@ -1354,7 +1354,7 @@ done_unlocked: * * We don't do synchronized mixing so this really depends on where the * streams where punched in and what their relative offsets are against - * eachother which we can get from the first timestamps we see. + * each other which we can get from the first timestamps we see. * * When we add a new stream (or remove a stream) the duration might * also become invalid again and we need to post a new DURATION @@ -2178,7 +2178,7 @@ gst_videomixer2_child_proxy_init (gpointer g_iface, gpointer iface_data) { GstChildProxyInterface *iface = g_iface; - GST_INFO ("intializing child proxy interface"); + GST_INFO ("initializing child proxy interface"); iface->get_child_by_index = gst_videomixer2_child_proxy_get_child_by_index; iface->get_children_count = gst_videomixer2_child_proxy_get_children_count; } diff --git a/gst/wavenc/gstwavenc.c b/gst/wavenc/gstwavenc.c index e7c95d66c2..48a6a2d038 100644 --- a/gst/wavenc/gstwavenc.c +++ b/gst/wavenc/gstwavenc.c @@ -1089,7 +1089,7 @@ gst_wavenc_change_state (GstElement * element, GstStateChange transition) wavenc->audio_length = 0x7FFF0000; wavenc->meta_length = 0; wavenc->sent_header = FALSE; - /* its true because we haven't writen anything */ + /* its true because we haven't written anything */ wavenc->finished_properly = TRUE; break; default: diff --git a/gst/wavparse/gstwavparse.c b/gst/wavparse/gstwavparse.c index 2f9b278f50..a09720658b 100644 --- a/gst/wavparse/gstwavparse.c +++ b/gst/wavparse/gstwavparse.c @@ -1777,7 +1777,7 @@ invalid_bps: no_bytes_per_sample: { GST_ELEMENT_ERROR (wav, STREAM, FAILED, (NULL), - ("Could not caluclate bytes per sample - invalid data")); + ("Could not calculate bytes per sample - invalid data")); goto fail; } unknown_format: @@ -1986,7 +1986,7 @@ iterate_adapter: G_GINT64_FORMAT, wav->offset, wav->end_offset, wav->dataleft); if ((wav->dataleft == 0 || wav->dataleft < wav->blockalign)) { - /* In case chunk size is not declared in the begining get size from the + /* In case chunk size is not declared in the beginning get size from the * file size directly */ if (wav->chunk_size == 0) { gint64 upstream_size = 0; @@ -1999,7 +1999,7 @@ iterate_adapter: if (upstream_size < wav->offset + wav->datastart) goto found_eos; - /* If file has updated since the beggining continue reading the file */ + /* If file has updated since the beginning continue reading the file */ wav->dataleft = upstream_size - wav->offset - wav->datastart; wav->end_offset = upstream_size; diff --git a/hooks/pre-commit.hook b/hooks/pre-commit.hook index 3c1062b9e0..6f177402b3 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/m4/aalib.m4 b/m4/aalib.m4 index 10e0a647b7..618ece00a3 100644 --- a/m4/aalib.m4 +++ b/m4/aalib.m4 @@ -161,7 +161,7 @@ int main (int argc, char *argv[]) echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occured. This usually means AALIB was incorrectly installed" + echo "*** exact error that occurred. This usually means AALIB was incorrectly installed" echo "*** or that you have moved AALIB since it was installed. In the latter case, you" echo "*** may want to edit the aalib-config script: $AALIB_CONFIG" ]) CFLAGS="$ac_save_CFLAGS" diff --git a/m4/freetype2.m4 b/m4/freetype2.m4 index 7199071fc6..f85cc47a3f 100644 --- a/m4/freetype2.m4 +++ b/m4/freetype2.m4 @@ -131,7 +131,7 @@ else echo "*** The FreeType test program failed to run. If your system uses" echo "*** shared libraries and they are installed outside the normal" echo "*** system library path, make sure the variable LD_LIBRARY_PATH" - echo "*** (or whatever is appropiate for your system) is correctly set." + echo "*** (or whatever is appropriate for your system) is correctly set." fi fi FT2_CFLAGS="" diff --git a/m4/glib.m4 b/m4/glib.m4 index b3c632b0e1..7338acb98f 100644 --- a/m4/glib.m4 +++ b/m4/glib.m4 @@ -95,7 +95,7 @@ main () glib_major_version, glib_minor_version, glib_micro_version); printf ("*** was found! If glib-config was correct, then it is best\n"); printf ("*** to remove the old version of GLIB. You may also be able to fix the error\n"); - printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); + printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n"); printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); printf("*** required on your system.\n"); printf("*** If glib-config was wrong, set the environment variable GLIB_CONFIG\n"); @@ -132,7 +132,7 @@ main () printf("*** being found. The easiest way to fix this is to remove the old version\n"); printf("*** of GLIB, but you can also set the GLIB_CONFIG environment to point to the\n"); printf("*** correct copy of glib-config. (In this case, you will have to\n"); - printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); + printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n"); printf("*** so that the correct libraries are found at run-time))\n"); } } @@ -179,7 +179,7 @@ main () echo "***" echo "*** rpm --erase --nodeps gtk gtk-devel" ], [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occured. This usually means GLIB was incorrectly installed" + echo "*** exact error that occurred. This usually means GLIB was incorrectly installed" echo "*** or that you have moved GLIB since it was installed. In the latter case, you" echo "*** may want to edit the glib-config script: $GLIB_CONFIG" ]) CFLAGS="$ac_save_CFLAGS" diff --git a/m4/gst-fionread.m4 b/m4/gst-fionread.m4 index 603aa4574f..98ba86afe0 100644 --- a/m4/gst-fionread.m4 +++ b/m4/gst-fionread.m4 @@ -15,7 +15,7 @@ if ( x ) AC_MSG_RESULT($_cv_gst_fionread_in_sys_ioctl) if test "$_cv_gst_fionread_in_sys_ioctl" = "yes"; then - AC_DEFINE([HAVE_FIONREAD_IN_SYS_IOCTL], 1, [FIONREAD ioctl found in sys/ioclt.h]) + AC_DEFINE([HAVE_FIONREAD_IN_SYS_IOCTL], 1, [FIONREAD ioctl found in sys/ioctl.h]) else diff --git a/m4/gst-matroska.m4 b/m4/gst-matroska.m4 index b50caaa27b..eb9a1ec71b 100644 --- a/m4/gst-matroska.m4 +++ b/m4/gst-matroska.m4 @@ -106,7 +106,7 @@ int main () echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occured. This usually means EBML was incorrectly installed" + echo "*** exact error that occurred. This usually means EBML was incorrectly installed" echo "*** or that you have moved EBML since it was installed." ]) CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" diff --git a/m4/gst-sdl.m4 b/m4/gst-sdl.m4 index cfc3196b50..da7142d237 100644 --- a/m4/gst-sdl.m4 +++ b/m4/gst-sdl.m4 @@ -166,7 +166,7 @@ int main(int argc, char *argv[]) echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occured. This usually means SDL was incorrectly installed" + echo "*** exact error that occurred. This usually means SDL was incorrectly installed" echo "*** or that you have moved SDL since it was installed. In the latter case, you" echo "*** may want to edit the sdl-config script: $SDL_CONFIG" ]) CFLAGS="$ac_save_CFLAGS" diff --git a/m4/gst-shout2.m4 b/m4/gst-shout2.m4 index e85a76711d..19d88cdf5b 100644 --- a/m4/gst-shout2.m4 +++ b/m4/gst-shout2.m4 @@ -86,7 +86,7 @@ int main () echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occured. This usually means Shout2 was incorrectly installed" + echo "*** exact error that occurred. This usually means Shout2 was incorrectly installed" echo "*** or that you have moved Shout2 since it was installed. In the latter case, you" echo "*** may want to edit the shout-config script: $SHOUT2_CONFIG" ]) CFLAGS="$ac_save_CFLAGS" diff --git a/m4/gtk.m4 b/m4/gtk.m4 index f2dd472197..6f6a4222f8 100644 --- a/m4/gtk.m4 +++ b/m4/gtk.m4 @@ -91,7 +91,7 @@ main () gtk_major_version, gtk_minor_version, gtk_micro_version); printf ("*** was found! If gtk-config was correct, then it is best\n"); printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n"); - printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); + printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n"); printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); printf("*** required on your system.\n"); printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n"); @@ -130,7 +130,7 @@ main () printf("*** being found. The easiest way to fix this is to remove the old version\n"); printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n"); printf("*** correct copy of gtk-config. (In this case, you will have to\n"); - printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); + printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n"); printf("*** so that the correct libraries are found at run-time))\n"); } } @@ -177,7 +177,7 @@ main () echo "***" echo "*** rpm --erase --nodeps gtk gtk-devel" ], [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occured. This usually means GTK was incorrectly installed" + echo "*** exact error that occurred. This usually means GTK was incorrectly installed" echo "*** or that you have moved GTK since it was installed. In the latter case, you" echo "*** may want to edit the gtk-config script: $GTK_CONFIG" ]) CFLAGS="$ac_save_CFLAGS" diff --git a/m4/libfame.m4 b/m4/libfame.m4 index b570584bfc..b5f6c971b0 100644 --- a/m4/libfame.m4 +++ b/m4/libfame.m4 @@ -82,7 +82,7 @@ main () libfame_major_version, libfame_minor_version, libfame_micro_version); printf ("*** was found! If libfame-config was correct, then it is best\n"); printf ("*** to remove the old version of libfame. You may also be able to fix the error\n"); - printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); + printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n"); printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); printf("*** required on your system.\n"); printf("*** If libfame-config was wrong, set the environment variable LIBFAME_CONFIG\n"); @@ -121,7 +121,7 @@ main () printf("*** being found. The easiest way to fix this is to remove the old version\n"); printf("*** of libfame, but you can also set the LIBFAME_CONFIG environment to point to the\n"); printf("*** correct copy of libfame-config. (In this case, you will have to\n"); - printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); + printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n"); printf("*** so that the correct libraries are found at run-time))\n"); } } @@ -164,7 +164,7 @@ main () echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" echo "***" ], [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occured. This usually means libfame was incorrectly installed" + echo "*** exact error that occurred. This usually means libfame was incorrectly installed" echo "*** or that you have moved libfame since it was installed. In the latter case, you" echo "*** may want to edit the libfame-config script: $LIBFAME_CONFIG" ]) CFLAGS="$ac_save_CFLAGS" diff --git a/m4/ogg.m4 b/m4/ogg.m4 index 0e1f1abf59..cd2a7487b5 100644 --- a/m4/ogg.m4 +++ b/m4/ogg.m4 @@ -87,7 +87,7 @@ int main () echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occured. This usually means Ogg was incorrectly installed" + echo "*** exact error that occurred. This usually means Ogg was incorrectly installed" echo "*** or that you have moved Ogg since it was installed." ]) CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" diff --git a/m4/vorbis.m4 b/m4/vorbis.m4 index 6a2889318c..063767c747 100644 --- a/m4/vorbis.m4 +++ b/m4/vorbis.m4 @@ -109,7 +109,7 @@ int main () echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occured. This usually means Vorbis was incorrectly installed" + echo "*** exact error that occurred. This usually means Vorbis was incorrectly installed" echo "*** or that you have moved Vorbis since it was installed." ]) CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" diff --git a/sys/oss4/oss4-audio.c b/sys/oss4/oss4-audio.c index 0896081d78..44d2f6db9f 100644 --- a/sys/oss4/oss4-audio.c +++ b/sys/oss4/oss4-audio.c @@ -58,7 +58,7 @@ typedef struct /* *INDENT-OFF* */ static const GstOss4AudioFormat fmt_map[] = { - /* note: keep sorted by preference, prefered formats first */ + /* note: keep sorted by preference, preferred formats first */ { GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MU_LAW, 0, AFMT_MU_LAW, "audio/x-mulaw"}, { diff --git a/sys/oss4/oss4-soundcard.h b/sys/oss4/oss4-soundcard.h index 8b124892b7..97ddd42eac 100644 --- a/sys/oss4/oss4-soundcard.h +++ b/sys/oss4/oss4-soundcard.h @@ -6,7 +6,7 @@ * use of the latest version is strongly recommended. * * {!notice This header file contains many obsolete definitions - * (for compatibility with older applications that still ned them). + * (for compatibility with older applications that still need them). * Do not use this file as a reference manual of OSS. * Please check the OSS Programmer's guide for descriptions * of the supported API details (http://manuals.opensound.com/developer).} @@ -301,7 +301,7 @@ struct sysex_info #define SEQ_MIDIPUTC 5 #define SEQ_DRUMON 6 /*** OBSOLETE ***/ #define SEQ_DRUMOFF 7 /*** OBSOLETE ***/ -#define SEQ_ECHO TMR_ECHO /* For synching programs with output */ +#define SEQ_ECHO TMR_ECHO /* For syncing programs with output */ #define SEQ_AFTERTOUCH 9 #define SEQ_CONTROLLER 10 #define SEQ_BALANCE 11 @@ -771,7 +771,7 @@ EXTERNC int OSS_write_patch2 (int fd, unsigned char *buf, int len); SEQ_CONTROL(dev, voice, CTL_PAN, (pos+128) / 2) /* - * Timing and syncronization macros + * Timing and synchronization macros */ #define _TIMER_EVENT(ev, parm) {_SEQ_NEEDBUF(8);\ @@ -1442,7 +1442,7 @@ typedef unsigned short oss_peaks_t[MAX_PEAK_CHANNELS]; * The SOUND_MIXER_READ_DEVMASK returns a bitmask which tells * the devices supported by the particular mixer. * - * {!notice This "legacy" mixer API is obsolete. It has been superceded + * {!notice This "legacy" mixer API is obsolete. It has been superseded * by a new one (see below). */ @@ -1723,7 +1723,7 @@ typedef struct oss_sysinfo int numaudios; /* # of audio/dsp devices */ int openedaudio[8]; /* Bit mask telling which audio devices are busy */ - int numsynths; /* # of availavle synth devices */ + int numsynths; /* # of available synth devices */ int nummidis; /* # of available MIDI ports */ int numtimers; /* # of available timer devices */ int nummixers; /* # of mixer devices */ diff --git a/sys/osxaudio/gstosxcoreaudio.c b/sys/osxaudio/gstosxcoreaudio.c index 19d349b6ab..c432ee630f 100644 --- a/sys/osxaudio/gstosxcoreaudio.c +++ b/sys/osxaudio/gstosxcoreaudio.c @@ -638,7 +638,7 @@ gst_core_audio_probe_caps (GstCoreAudio * core_audio, GstCaps * in_caps) got_outer_asbd = _core_audio_get_stream_format (core_audio, &outer_asbd, TRUE); - /* Collect info about the HW capabilites and preferences */ + /* Collect info about the HW capabilities and preferences */ spdif_allowed = gst_core_audio_audio_device_is_spdif_avail (core_audio->device_id); if (!core_audio->is_src) @@ -740,7 +740,7 @@ gst_core_audio_probe_caps (GstCoreAudio * core_audio, GstCaps * in_caps) gst_caps_append_structure (caps, out_s); gst_caps_append_structure (caps, mono); } else { - /* Otherwhise just add the caps */ + /* Otherwise just add the caps */ gst_caps_append_structure (caps, out_s); } } diff --git a/sys/osxvideo/osxvideosink.m b/sys/osxvideo/osxvideosink.m index a140d518d0..8cf4db798f 100644 --- a/sys/osxvideo/osxvideosink.m +++ b/sys/osxvideo/osxvideosink.m @@ -576,12 +576,12 @@ gst_osx_video_sink_class_init (GstOSXVideoSinkClass * klass) /** * GstOSXVideoSink:embed * - * For ABI comatibility onyl, do not use + * For ABI comatibility only, do not use * **/ g_object_class_install_property (gobject_class, ARG_EMBED, - g_param_spec_boolean ("embed", "embed", "For ABI compatiblity only, do not use", + g_param_spec_boolean ("embed", "embed", "For ABI compatibility only, do not use", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); /** @@ -748,7 +748,7 @@ gst_osx_video_sink_get_type (void) - (void)windowWillClose:(NSNotification *)notification { /* Only handle close events if the window was closed manually by the user - * and not becuase of a state change state to READY */ + * and not because of a state change state to READY */ if (osxvideosink->osxwindow == NULL) { return; } diff --git a/sys/v4l2/gstv4l2.c b/sys/v4l2/gstv4l2.c index e1888804d2..cd75ec5537 100644 --- a/sys/v4l2/gstv4l2.c +++ b/sys/v4l2/gstv4l2.c @@ -253,7 +253,7 @@ plugin_init (GstPlugin * plugin) GST_DEBUG_CATEGORY_INIT (v4l2_debug, "v4l2", 0, "V4L2 API calls"); - /* Add some depedency, so the dynamic features get updated upon changes in + /* Add some dependency, so the dynamic features get updated upon changes in * /dev/video* */ gst_plugin_add_dependency (plugin, NULL, paths, names, GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_PREFIX); diff --git a/sys/v4l2/gstv4l2allocator.c b/sys/v4l2/gstv4l2allocator.c index 05bde3d2a5..5d95e55296 100644 --- a/sys/v4l2/gstv4l2allocator.c +++ b/sys/v4l2/gstv4l2allocator.c @@ -640,7 +640,7 @@ gst_v4l2_allocator_new (GstObject * parent, GstV4l2Object * v4l2object) /* Save everything */ allocator->obj = v4l2object; - /* Keep a ref on the elemnt so obj does not disapear */ + /* Keep a ref on the element so obj does not disappear */ gst_object_ref (allocator->obj->element); flags |= GST_V4L2_ALLOCATOR_PROBE (allocator, MMAP); @@ -1172,7 +1172,7 @@ gst_v4l2_allocator_import_userptr (GstV4l2Allocator * allocator, for (i = 0; i < group->n_mem; i++) { gsize maxsize, psize; - /* TODO request used size and maxsize seperatly */ + /* TODO request used size and maxsize separately */ if (V4L2_TYPE_IS_MULTIPLANAR (obj->type)) maxsize = psize = size[i]; else diff --git a/sys/v4l2/gstv4l2bufferpool.c b/sys/v4l2/gstv4l2bufferpool.c index d7fa9fa2e3..a09e5b2c26 100644 --- a/sys/v4l2/gstv4l2bufferpool.c +++ b/sys/v4l2/gstv4l2bufferpool.c @@ -599,7 +599,7 @@ gst_v4l2_buffer_pool_set_config (GstBufferPool * bpool, GstStructure * config) done: ret = GST_BUFFER_POOL_CLASS (parent_class)->set_config (bpool, config); - /* If anything was changed documentation recommand to return FALSE */ + /* If anything was changed documentation recommend to return FALSE */ return !updated && ret; /* ERRORS */ @@ -651,7 +651,7 @@ gst_v4l2_buffer_pool_streamon (GstV4l2BufferPool * pool) case GST_V4L2_IO_DMABUF_IMPORT: if (!V4L2_TYPE_IS_OUTPUT (pool->obj->type)) { /* For captures, we need to enqueue buffers before we start streaming, - * so the driver don't underflow immediatly. As we have put then back + * so the driver don't underflow immediately. As we have put then back * into the base class queue, resurrect them, then releasing will queue * them back. */ while (gst_v4l2_buffer_pool_resurrect_buffer (pool) == GST_FLOW_OK) @@ -800,7 +800,7 @@ gst_v4l2_buffer_pool_start (GstBufferPool * bpool) /* V4L2 buffer pool are often very limited in the amount of buffers it * can offer. The copy_threshold will workaround this limitation by * falling back to copy if the pipeline needed more buffers. This also - * prevent having to do REQBUFS(N)/REQBUFS(0) everytime configure is + * prevent having to do REQBUFS(N)/REQBUFS(0) every time configure is * called. */ if (count != min_buffers || pool->enable_copy_threshold) { GST_WARNING_OBJECT (pool, @@ -1496,7 +1496,7 @@ gst_v4l2_buffer_pool_release_buffer (GstBufferPool * bpool, GstBuffer * buffer) gst_v4l2_buffer_pool_qbuf (pool, buffer, group) != GST_FLOW_OK) pclass->release_buffer (bpool, buffer); } else { - /* Simply release invalide/modified buffer, the allocator will + /* Simply release invalid/modified buffer, the allocator will * give it back later */ GST_BUFFER_FLAG_SET (buffer, GST_BUFFER_FLAG_TAG_MEMORY); pclass->release_buffer (bpool, buffer); @@ -1526,7 +1526,7 @@ gst_v4l2_buffer_pool_release_buffer (GstBufferPool * bpool, GstBuffer * buffer) guint index; if (!gst_v4l2_is_buffer_valid (buffer, &group)) { - /* Simply release invalide/modified buffer, the allocator will + /* Simply release invalid/modified buffer, the allocator will * give it back later */ GST_BUFFER_FLAG_SET (buffer, GST_BUFFER_FLAG_TAG_MEMORY); pclass->release_buffer (bpool, buffer); @@ -1988,7 +1988,7 @@ gst_v4l2_buffer_pool_process (GstV4l2BufferPool * pool, GstBuffer ** buf) goto prepare_failed; } - /* retreive the group */ + /* retrieve the group */ gst_v4l2_is_buffer_valid (to_queue, &group); } diff --git a/sys/v4l2/gstv4l2bufferpool.h b/sys/v4l2/gstv4l2bufferpool.h index 285703cdb7..5f3b0d4b1b 100644 --- a/sys/v4l2/gstv4l2bufferpool.h +++ b/sys/v4l2/gstv4l2bufferpool.h @@ -43,7 +43,7 @@ G_BEGIN_DECLS /* This flow return is used to indicated that the last buffer of a * drain or a resoltuion change has been found. This should normally - * only occure for mem-2-mem devices. */ + * only occur for mem-2-mem devices. */ #define GST_V4L2_FLOW_LAST_BUFFER GST_FLOW_CUSTOM_SUCCESS /* This flow return is used to indicated that the returned buffer was marked diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c index f2a0576a9c..9b0ed19337 100644 --- a/sys/v4l2/gstv4l2object.c +++ b/sys/v4l2/gstv4l2object.c @@ -1105,7 +1105,7 @@ gst_v4l2_object_format_get_rank (const struct v4l2_fmtdesc *fmt) rank = DV_BASE_RANK; break; - case V4L2_PIX_FMT_WNVA: /* Winnov hw compres */ + case V4L2_PIX_FMT_WNVA: /* Winnov hw compress */ rank = 0; break; @@ -1539,7 +1539,7 @@ gst_v4l2_object_v4l2fourcc_to_bare_struct (guint32 fourcc) structure = gst_structure_new ("video/mpegts", "systemstream", G_TYPE_BOOLEAN, TRUE, NULL); break; - case V4L2_PIX_FMT_WNVA: /* Winnov hw compres */ + case V4L2_PIX_FMT_WNVA: /* Winnov hw compress */ break; case V4L2_PIX_FMT_SBGGR8: case V4L2_PIX_FMT_SGBRG8: @@ -3314,7 +3314,7 @@ gst_v4l2_object_set_format_full (GstV4l2Object * v4l2object, GstCaps * caps, fps_d = GST_VIDEO_INFO_FPS_D (&info); /* if encoded format (GST_VIDEO_INFO_N_PLANES return 0) - * or if contiguous is prefered */ + * or if contiguous is preferred */ n_v4l_planes = GST_VIDEO_INFO_N_PLANES (&info); if (!n_v4l_planes || !v4l2object->prefered_non_contiguous) n_v4l_planes = 1; @@ -3442,7 +3442,7 @@ gst_v4l2_object_set_format_full (GstV4l2Object * v4l2object, GstCaps * caps, break; default: GST_WARNING_OBJECT (v4l2object->dbg_obj, - "Unknown colorimetry tranfer %d", info.colorimetry.transfer); + "Unknown colorimetry transfer %d", info.colorimetry.transfer); break; } @@ -3483,7 +3483,7 @@ gst_v4l2_object_set_format_full (GstV4l2Object * v4l2object, GstCaps * caps, format.fmt.pix_mp.field = field; format.fmt.pix_mp.num_planes = n_v4l_planes; - /* try to ask our prefered stride but it's not a failure if not + /* try to ask our preferred stride but it's not a failure if not * accepted */ for (i = 0; i < n_v4l_planes; i++) { gint stride = GST_VIDEO_INFO_PLANE_STRIDE (&info, i); @@ -3511,7 +3511,7 @@ gst_v4l2_object_set_format_full (GstV4l2Object * v4l2object, GstCaps * caps, stride = GST_VIDEO_TILE_X_TILES (stride) << GST_VIDEO_FORMAT_INFO_TILE_WS (info.finfo); - /* try to ask our prefered stride */ + /* try to ask our preferred stride */ format.fmt.pix.bytesperline = stride; if (GST_VIDEO_INFO_FORMAT (&info) == GST_VIDEO_FORMAT_ENCODED) @@ -3926,8 +3926,8 @@ gst_v4l2_object_try_format (GstV4l2Object * v4l2object, GstCaps * caps, * @v4l2object: the object * @info: a GstVideoInfo to be filled * - * Acquire the driver choosen format. This is useful in decoder or encoder elements where - * the output format is choosen by the HW. + * Acquire the driver chosen format. This is useful in decoder or encoder elements where + * the output format is chosen by the HW. * * Returns: %TRUE on success, %FALSE on failure. */ diff --git a/sys/v4l2/gstv4l2src.c b/sys/v4l2/gstv4l2src.c index 6155541698..aebb1839d0 100644 --- a/sys/v4l2/gstv4l2src.c +++ b/sys/v4l2/gstv4l2src.c @@ -416,7 +416,7 @@ gst_v4l2src_fixate (GstBaseSrc * basesrc, GstCaps * caps, GstStructure * pref_s) gst_structure_free (pref_s); } - GST_DEBUG_OBJECT (basesrc, "Prefered size %ix%i", pref.width, pref.height); + GST_DEBUG_OBJECT (basesrc, "Preferred size %ix%i", pref.width, pref.height); /* Sort the structures to get the caps that is nearest to our preferences, * first. Use single struct caps for sorting so we preserve the features. */ diff --git a/sys/v4l2/gstv4l2transform.c b/sys/v4l2/gstv4l2transform.c index 898ee19bfe..4134c87ded 100644 --- a/sys/v4l2/gstv4l2transform.c +++ b/sys/v4l2/gstv4l2transform.c @@ -754,7 +754,7 @@ gst_v4l2_transform_fixate_caps (GstBaseTransform * trans, 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/v4l2/gstv4l2videodec.c b/sys/v4l2/gstv4l2videodec.c index 4e50c841c9..0622b0625a 100644 --- a/sys/v4l2/gstv4l2videodec.c +++ b/sys/v4l2/gstv4l2videodec.c @@ -332,7 +332,7 @@ gst_v4l2_video_dec_negotiate (GstVideoDecoder * decoder) { GstV4l2VideoDec *self = GST_V4L2_VIDEO_DEC (decoder); - /* We don't allow renegotiation without carefull disabling the pool */ + /* We don't allow renegotiation without careful disabling the pool */ if (self->v4l2capture->pool && gst_buffer_pool_is_active (GST_BUFFER_POOL (self->v4l2capture->pool))) return TRUE; @@ -409,7 +409,7 @@ gst_v4l2_video_dec_finish (GstVideoDecoder * decoder) } /* and ensure the processing thread has stopped in case another error - * occured. */ + * occurred. */ gst_v4l2_object_unlock (self->v4l2capture); gst_pad_stop_task (decoder->srcpad); GST_VIDEO_DECODER_STREAM_LOCK (decoder); @@ -605,7 +605,7 @@ gst_v4l2_video_dec_handle_frame (GstVideoDecoder * decoder, /* We are running in byte-stream mode, so we don't know the headers, but * we need to send something, otherwise the decoder will refuse to - * intialize. + * initialize. */ if (codec_data) { gst_buffer_ref (codec_data); @@ -741,7 +741,7 @@ gst_v4l2_video_dec_handle_frame (GstVideoDecoder * decoder, } } - /* No need to keep input arround */ + /* No need to keep input around */ tmp = frame->input_buffer; frame->input_buffer = gst_buffer_new (); gst_buffer_copy_into (frame->input_buffer, tmp, @@ -1119,7 +1119,7 @@ G_STMT_START { \ SET_META ("PWC2"); } else { /* This code should be kept on sync with the exposed CODEC type of format - * from gstv4l2object.c. This warning will only occure in case we forget + * from gstv4l2object.c. This warning will only occur in case we forget * to also add a format here. */ gchar *s_str = gst_structure_to_string (s); g_warning ("Missing fixed name mapping for caps '%s', this is a GStreamer " diff --git a/sys/v4l2/gstv4l2videoenc.c b/sys/v4l2/gstv4l2videoenc.c index 880582f577..f5a28afd51 100644 --- a/sys/v4l2/gstv4l2videoenc.c +++ b/sys/v4l2/gstv4l2videoenc.c @@ -284,7 +284,7 @@ gst_v4l2_video_enc_finish (GstVideoEncoder * encoder) } /* and ensure the processing thread has stopped in case another error - * occured. */ + * occurred. */ gst_v4l2_object_unlock (self->v4l2capture); gst_pad_stop_task (encoder->srcpad); GST_VIDEO_ENCODER_STREAM_LOCK (encoder); @@ -856,7 +856,7 @@ gst_v4l2_video_enc_decide_allocation (GstVideoEncoder * } /* FIXME This may not be entirely correct, as encoder may keep some - * observation withouth delaying the encoding. Linux Media API need some + * observation without delaying the encoding. Linux Media API need some * more work to explicitly expressed the decoder / encoder latency. This * value will then become max latency, and the reported driver latency would * become the min latency. */ diff --git a/sys/v4l2/v4l2_calls.c b/sys/v4l2/v4l2_calls.c index 8909b6afbf..53e2e7d1d3 100644 --- a/sys/v4l2/v4l2_calls.c +++ b/sys/v4l2/v4l2_calls.c @@ -81,7 +81,7 @@ gst_v4l2_get_capabilities (GstV4l2Object * v4l2object) GST_LOG_OBJECT (e, "card: '%s'", v4l2object->vcap.card); GST_LOG_OBJECT (e, "bus_info: '%s'", v4l2object->vcap.bus_info); GST_LOG_OBJECT (e, "version: %08x", v4l2object->vcap.version); - GST_LOG_OBJECT (e, "capabilites: %08x", v4l2object->device_caps); + GST_LOG_OBJECT (e, "capabilities: %08x", v4l2object->device_caps); return TRUE; @@ -234,7 +234,7 @@ gst_v4l2_fill_lists (GstV4l2Object * v4l2object) GST_ELEMENT_ERROR (e, RESOURCE, SETTINGS, (_("Failed to query norm on device '%s'."), v4l2object->videodev), - ("Failed to get attributes for norm %d on devide '%s'. (%d - %s)", + ("Failed to get attributes for norm %d on divide '%s'. (%d - %s)", n, v4l2object->videodev, errno, strerror (errno))); return FALSE; } diff --git a/sys/waveform/gstwaveformsink.c b/sys/waveform/gstwaveformsink.c index 7fc6eb1215..6692c84e86 100644 --- a/sys/waveform/gstwaveformsink.c +++ b/sys/waveform/gstwaveformsink.c @@ -346,7 +346,7 @@ gst_waveform_sink_prepare (GstAudioSink * asink, GstAudioRingBufferSpec * spec) MMRESULT mmresult; guint index; - /* setup waveformex struture with the input ringbuffer specs */ + /* setup waveformex structure with the input ringbuffer specs */ memset (&wfx, 0, sizeof (wfx)); wfx.cbSize = 0; wfx.wFormatTag = WAVE_FORMAT_PCM; @@ -493,7 +493,7 @@ gst_waveform_sink_write (GstAudioSink * asink, gpointer data, guint length) if (mmresult != MMSYSERR_NOERROR) { waveOutGetErrorText (mmresult, wfsink->error_string, ERROR_LENGTH - 1); GST_CAT_WARNING_OBJECT (waveformsink_debug, wfsink, - "gst_waveform_sink_write: Error writting buffer to the device => %s", + "gst_waveform_sink_write: Error writing buffer to the device => %s", wfsink->error_string); } @@ -506,7 +506,7 @@ gst_waveform_sink_write (GstAudioSink * asink, gpointer data, guint length) waveheader->dwUser = 0; wfsink->bytes_in_queue = 0; GST_CAT_LOG_OBJECT (waveformsink_debug, wfsink, - "gst_waveform_sink_write: Writting a buffer to the device (free buffers remaining=%d, write buffer=%d)", + "gst_waveform_sink_write: Writing a buffer to the device (free buffers remaining=%d, write buffer=%d)", wfsink->free_buffers_count, wfsink->write_buffer); } } @@ -535,7 +535,7 @@ gst_waveform_sink_reset (GstAudioSink * asink) if (mmresult != MMSYSERR_NOERROR) { waveOutGetErrorText (mmresult, wfsink->error_string, ERROR_LENGTH - 1); GST_CAT_WARNING_OBJECT (waveformsink_debug, wfsink, - "gst_waveform_sink_reset: Error reseting waveform-audio device => %s", + "gst_waveform_sink_reset: Error resetting waveform-audio device => %s", wfsink->error_string); } } diff --git a/sys/ximage/gstximagesrc.c b/sys/ximage/gstximagesrc.c index 22bbb9de23..8113a2a5a8 100644 --- a/sys/ximage/gstximagesrc.c +++ b/sys/ximage/gstximagesrc.c @@ -1259,7 +1259,7 @@ gst_ximage_src_class_init (GstXImageSrcClass * klass) * known to work better with remote displays. */ g_object_class_install_property (gc, PROP_REMOTE, - g_param_spec_boolean ("remote", "Remote dispay", + g_param_spec_boolean ("remote", "Remote display", "Whether the display is remote", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); /** diff --git a/sys/ximage/ximageutil.h b/sys/ximage/ximageutil.h index 34768613bb..00f8174ae3 100644 --- a/sys/ximage/ximageutil.h +++ b/sys/ximage/ximageutil.h @@ -70,7 +70,7 @@ typedef struct _GstMetaXImage GstMetaXImage; * if the Extension is present * @caps: the #GstCaps that Display @disp can accept * - * Structure used to store various informations collected/calculated for a + * Structure used to store various information collected/calculated for a * Display. */ struct _GstXContext { @@ -113,7 +113,7 @@ struct _GstXContext { * through the #GstXOverlay interface * @gc: the Graphical Context of Window @win * - * Structure used to store informations about a Window. + * Structure used to store information about a Window. */ struct _GstXWindow { Window win; diff --git a/tests/check/elements/jpegdec.c b/tests/check/elements/jpegdec.c index bf7eb92fbf..faf998165b 100644 --- a/tests/check/elements/jpegdec.c +++ b/tests/check/elements/jpegdec.c @@ -26,7 +26,7 @@ #include #include -/* Verify jpegdec is working when explictly requested by a pipeline. */ +/* Verify jpegdec is working when explicitly requested by a pipeline. */ GST_START_TEST (test_jpegdec_explicit) { GstElement *pipeline, *source, *dec, *sink; diff --git a/tests/check/elements/level.c b/tests/check/elements/level.c index fbbae9f1a4..d816c1a5fa 100644 --- a/tests/check/elements/level.c +++ b/tests/check/elements/level.c @@ -566,7 +566,7 @@ GST_START_TEST (test_message_timestamps) fail_if ((outbuffer = (GstBuffer *) buffers->data) == NULL); fail_unless (inbuffer == outbuffer); - /* check that timestamp + duration is contigous to the next timestamp */ + /* check that timestamp + duration is contiguous to the next timestamp */ message = gst_bus_poll (bus, GST_MESSAGE_ELEMENT, -1); structure = gst_message_get_structure (message); gst_structure_get_clock_time (structure, "timestamp", &ts1); diff --git a/tests/check/elements/qtmux.c b/tests/check/elements/qtmux.c index 0dfcdb515c..54fb642e49 100644 --- a/tests/check/elements/qtmux.c +++ b/tests/check/elements/qtmux.c @@ -1271,7 +1271,7 @@ GST_START_TEST (test_muxing) test_input_data_init (&input2); /* Create the inputs, after calling the run below, all this data is - * transfered to it and we have no need to clean up */ + * transferred to it and we have no need to clean up */ input1.input = NULL; input1.input = g_list_append (input1.input, gst_event_new_stream_start ("test-1")); @@ -1328,7 +1328,7 @@ GST_START_TEST (test_muxing_non_zero_segment) test_input_data_init (&input2); /* Create the inputs, after calling the run below, all this data is - * transfered to it and we have no need to clean up */ + * transferred to it and we have no need to clean up */ input1.input = NULL; input1.input = g_list_append (input1.input, gst_event_new_stream_start ("test-1")); @@ -1390,7 +1390,7 @@ GST_START_TEST (test_muxing_non_zero_segment_different) test_input_data_init (&input2); /* Create the inputs, after calling the run below, all this data is - * transfered to it and we have no need to clean up */ + * transferred to it and we have no need to clean up */ input1.input = NULL; input1.input = g_list_append (input1.input, gst_event_new_stream_start ("test-1")); @@ -1451,7 +1451,7 @@ GST_START_TEST (test_muxing_dts_outside_segment) test_input_data_init (&input2); /* Create the inputs, after calling the run below, all this data is - * transfered to it and we have no need to clean up */ + * transferred to it and we have no need to clean up */ input1.input = NULL; input1.input = g_list_append (input1.input, gst_event_new_stream_start ("test-1")); @@ -1515,7 +1515,7 @@ GST_START_TEST (test_muxing_initial_gap) test_input_data_init (&input2); /* Create the inputs, after calling the run below, all this data is - * transfered to it and we have no need to clean up */ + * transferred to it and we have no need to clean up */ input1.input = NULL; input1.input = g_list_append (input1.input, gst_event_new_stream_start ("test-1")); diff --git a/tests/check/elements/rgvolume.c b/tests/check/elements/rgvolume.c index c8ae8bc2b5..3866d8738a 100644 --- a/tests/check/elements/rgvolume.c +++ b/tests/check/elements/rgvolume.c @@ -632,7 +632,7 @@ GST_START_TEST (test_reference_level) GST_TAG_TRACK_GAIN, 0.00, GST_TAG_TRACK_PEAK, 0.2, GST_TAG_REFERENCE_LEVEL, 83., NULL); fail_unless (send_tag_event (element, gst_event_new_tag (tag_list)) == NULL); - /* Because our authorative reference is 89 dB, we bump it up by +6 dB. */ + /* Because our authoritative reference is 89 dB, we bump it up by +6 dB. */ fail_unless_gain (element, +6.00); /* pre-amp + track gain */ send_eos_event (element); diff --git a/tests/check/elements/rtp-payloading.c b/tests/check/elements/rtp-payloading.c index f536c4d61e..8f99c7bb7b 100644 --- a/tests/check/elements/rtp-payloading.c +++ b/tests/check/elements/rtp-payloading.c @@ -1,5 +1,5 @@ /* GStreamer RTP payloader unit tests - * Copyright (C) 2008 Nokia Corporation and its subsidary(-ies) + * Copyright (C) 2008 Nokia Corporation and its subsidiary(-ies) * contact: * * This library is free software; you can redistribute it and/or @@ -144,7 +144,7 @@ rtp_bus_callback (GstBus * bus, GstMessage * message, gpointer data) /* * Creates a RTP pipeline for one test. - * @param frame_data Pointer to the frame data which is used to pass thru pay/depayloaders. + * @param frame_data Pointer to the frame data which is used to pass through pay/depayloaders. * @param frame_data_size Frame data size in bytes. * @param frame_count Frame count. * @param filtercaps Caps filters. @@ -380,7 +380,7 @@ rtp_pipeline_enable_lists (rtp_pipeline * p) /* * Creates the RTP pipeline and runs the test using the pipeline. - * @param frame_data Pointer to the frame data which is used to pass thru pay/depayloaders. + * @param frame_data Pointer to the frame data which is used to pass through pay/depayloaders. * @param frame_data_size Frame data size in bytes. * @param frame_count Frame count. * @param filtercaps Caps filters. diff --git a/tests/check/elements/rtpbin.c b/tests/check/elements/rtpbin.c index 747929fcee..e925fb3ec9 100644 --- a/tests/check/elements/rtpbin.c +++ b/tests/check/elements/rtpbin.c @@ -803,7 +803,7 @@ GST_START_TEST (test_sender_eos) fail_unless_equals_pointer (buffers->data, rtp_buffer); gst_check_drop_buffers (); - /* Advance clock twice and we shoudl have one RTCP packet at least */ + /* Advance clock twice and we should have one RTCP packet at least */ gst_test_clock_crank (tclock); gst_test_clock_crank (tclock); diff --git a/tests/check/elements/rtpjitterbuffer.c b/tests/check/elements/rtpjitterbuffer.c index 5d5344177c..cbb88ca341 100644 --- a/tests/check/elements/rtpjitterbuffer.c +++ b/tests/check/elements/rtpjitterbuffer.c @@ -1,6 +1,6 @@ /* GStreamer * - * Copyright (C) 2009 Nokia Corporation and its subsidary(-ies) + * Copyright (C) 2009 Nokia Corporation and its subsidiary(-ies) * contact: * Copyright (C) 2012 Cisco Systems, Inc * Authors: Kelley Rogers @@ -2716,7 +2716,7 @@ GST_START_TEST (test_rtx_does_not_affect_pts_calculation) gst_harness_push (h, buffer); /* now push in the next regular buffer at its ideal time, and verify the - rouge RTX-buffer did not mess things up */ + rogue RTX-buffer did not mess things up */ push_test_buffer (h, next_seqnum); now = gst_clock_get_time (GST_ELEMENT_CLOCK (h->element)); buffer = gst_harness_pull (h); diff --git a/tests/check/elements/rtpred.c b/tests/check/elements/rtpred.c index ff48389013..c6a68f5518 100644 --- a/tests/check/elements/rtpred.c +++ b/tests/check/elements/rtpred.c @@ -277,7 +277,7 @@ GST_START_TEST (rtpreddec_redundant_block_not_pushed) gst_rtp_buffer_unmap (&rtp); _push_and_check_cant_pull_twice (h, bufinp, 3); - /* Now we ts_offset points to the previous buffer we didnt loose */ + /* Now we ts_offset points to the previous buffer we didn't loose */ ts_offset = TIMESTAMP_DIFF; red_in[1] = ts_offset >> 6; red_in[2] = (ts_offset & 0x3f) << 2; diff --git a/tests/check/elements/rtprtx.c b/tests/check/elements/rtprtx.c index 45d41c63fa..c021f29b0f 100644 --- a/tests/check/elements/rtprtx.c +++ b/tests/check/elements/rtprtx.c @@ -243,7 +243,7 @@ GST_START_TEST (test_rtxsend_rtxreceive_with_packet_loss) gst_event_unref (gst_harness_pull_upstream_event (hrecv)); fail_unless_equals_int (gst_harness_upstream_events_in_queue (hrecv), 0); - /* Push 'packets_num' packets through rtxsend to rtxreceive loosing every + /* Push 'packets_num' packets through rtxsend to rtxreceive losing every 'drop_every_n_packets' packet. When we loose the packet we send RTX event through rtxreceive to rtxsend, and verify the packet was retransmitted */ for (drop_nth_packet = 2; drop_nth_packet < 10; ++drop_nth_packet) { @@ -539,14 +539,14 @@ test_rtxsender_packet_retention (gboolean test_with_time) gst_harness_push_upstream_event (h, create_rtx_event (master_ssrc, master_pt, rtx_seqnum)); - /* Pull only the ones supposed to be retransmited */ + /* Pull only the ones supposed to be retransmitted */ if (j >= i - half_buffers) pull_and_verify (h, TRUE, rtx_ssrc, rtx_pt, rtx_seqnum); } /* Check there no extra buffers in the harness queue */ fail_unless_equals_int (gst_harness_buffers_in_queue (h), 0); - /* We create RTP buffers with timestamps that will eventualy wrap around 0 + /* We create RTP buffers with timestamps that will eventually wrap around 0 to be sure, rtprtxsend can handle it properly */ push_pull_and_verify (h, create_rtp_buffer_with_timestamp (master_ssrc, master_pt, 0x100 + i, diff --git a/tests/check/elements/rtpsession.c b/tests/check/elements/rtpsession.c index 66a02d0bcc..28874b692f 100644 --- a/tests/check/elements/rtpsession.c +++ b/tests/check/elements/rtpsession.c @@ -2134,7 +2134,7 @@ GST_START_TEST (test_disable_probation) fail_unless_equals_int (GST_FLOW_OK, session_harness_recv_rtp (h, generate_test_buffer (0, 0x12345678))); - /* When probation is disable, the packet should be produced immediatly */ + /* When probation is disabled, the packet should be produced immediately */ fail_unless_equals_int (1, gst_harness_buffers_in_queue (h->recv_rtp_h)); session_harness_free (h); @@ -2162,7 +2162,7 @@ GST_START_TEST (test_request_late_nack) gst_buffer_unref (session_harness_pull_rtcp (h)); /* request NACK immediately, but also advance the clock, so the request is - * now late, but it should be kept to avoid sendign an early rtcp without + * now late, but it should be kept to avoid sending an early rtcp without * NACK. This would otherwise lead to a stall if the late packet was cause * by high RTT, we need to send some RTX in order to update that statistic. */ session_harness_rtp_retransmission_request (h, 0x12345678, 1234, 0, 0, 0); diff --git a/tests/check/elements/rtpstorage.c b/tests/check/elements/rtpstorage.c index 4c9589fa97..b4de873df0 100644 --- a/tests/check/elements/rtpstorage.c +++ b/tests/check/elements/rtpstorage.c @@ -299,7 +299,7 @@ _single_ssrc_test (GstHarness * h, guint32 ssrc, g_ptr_array_add (bufs_in, create_rtp_packet (96, ssrc, RTP_TSTAMP (6), seq_start + 11)); - /* Loosing one */ + /* Losing one */ g_ptr_array_remove_index (bufs_in, nth_to_loose); /* Push all of them through */ diff --git a/tests/check/elements/splitmux.c b/tests/check/elements/splitmux.c index 6f37bd1aeb..2919d4d7e5 100644 --- a/tests/check/elements/splitmux.c +++ b/tests/check/elements/splitmux.c @@ -346,7 +346,7 @@ GST_START_TEST (test_splitmuxsink) fail_unless (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_EOS); gst_message_unref (msg); - /* unlink manually and relase request pad to ensure that we *can* do that + /* unlink manually and release request pad to ensure that we *can* do that * - https://bugzilla.gnome.org/show_bug.cgi?id=753622 */ sink = gst_bin_get_by_name (GST_BIN (pipeline), "splitsink"); fail_if (sink == NULL); @@ -358,7 +358,7 @@ GST_START_TEST (test_splitmuxsink) gst_object_unref (enc_src_pad); gst_element_release_request_pad (sink, splitmux_sink_pad); gst_object_unref (splitmux_sink_pad); - /* at this point the pad must be releaased - try to find it again to verify */ + /* at this point the pad must be released - try to find it again to verify */ splitmux_sink_pad = gst_element_get_static_pad (sink, "video"); fail_if (splitmux_sink_pad != NULL); g_object_unref (sink); @@ -385,7 +385,7 @@ GST_START_TEST (test_splitmuxsink_multivid) gchar *in_pattern; /* This pipeline should start a new file every GOP, ie 1 second, - * driven by the primary video stream and with 2 auxilliary video streams */ + * driven by the primary video stream and with 2 auxiliary video streams */ pipeline = gst_parse_launch ("splitmuxsink name=splitsink " @@ -465,7 +465,7 @@ GST_START_TEST (test_splitmuxsink_async) fail_unless (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_EOS); gst_message_unref (msg); - /* unlink manually and relase request pad to ensure that we *can* do that + /* unlink manually and release request pad to ensure that we *can* do that * - https://bugzilla.gnome.org/show_bug.cgi?id=753622 */ sink = gst_bin_get_by_name (GST_BIN (pipeline), "splitsink"); fail_if (sink == NULL); @@ -477,7 +477,7 @@ GST_START_TEST (test_splitmuxsink_async) gst_object_unref (enc_src_pad); gst_element_release_request_pad (sink, splitmux_sink_pad); gst_object_unref (splitmux_sink_pad); - /* at this point the pad must be releaased - try to find it again to verify */ + /* at this point the pad must be released - try to find it again to verify */ splitmux_sink_pad = gst_element_get_static_pad (sink, "video"); fail_if (splitmux_sink_pad != NULL); g_object_unref (sink); diff --git a/tests/check/pipelines/simple-launch-lines.c b/tests/check/pipelines/simple-launch-lines.c index ed83511f44..6dc76c650e 100644 --- a/tests/check/pipelines/simple-launch-lines.c +++ b/tests/check/pipelines/simple-launch-lines.c @@ -193,7 +193,7 @@ GST_START_TEST (test_rtp_payloaders) GST_MESSAGE_ANY & ~(GST_MESSAGE_ERROR | GST_MESSAGE_WARNING), GST_MESSAGE_UNKNOWN, target_state); - /* Cannot be tested with fakesrc becouse speex payloader requires a valid header?! */ + /* Cannot be tested with fakesrc because speex payloader requires a valid header?! */ /* s = PIPELINE_STRING(DEFAULT_BUFCOUNT, DEFAULT_BUFSIZE, "rtpspeexpay", "rtpspeexdepay"); run_pipeline (setup_pipeline (s), s, diff --git a/tests/examples/cairo/cairo_overlay.c b/tests/examples/cairo/cairo_overlay.c index 9e9f71afa1..b344e21e41 100644 --- a/tests/examples/cairo/cairo_overlay.c +++ b/tests/examples/cairo/cairo_overlay.c @@ -133,7 +133,7 @@ setup_gst_pipeline (CairoOverlayState * overlay_state) /* If failing, the element could not be created */ g_assert (cairo_overlay); - /* Hook up the neccesary signals for cairooverlay */ + /* Hook up the necessary signals for cairooverlay */ g_signal_connect (cairo_overlay, "draw", G_CALLBACK (draw_overlay), overlay_state); g_signal_connect (cairo_overlay, "caps-changed", diff --git a/tests/examples/gtk/glliveshader.c b/tests/examples/gtk/glliveshader.c index 03e745ee36..825e09720e 100644 --- a/tests/examples/gtk/glliveshader.c +++ b/tests/examples/gtk/glliveshader.c @@ -152,7 +152,7 @@ _add_stage_to_shader (GstGLShader * shader, struct shader_state *state, return TRUE; if (!gst_glsl_string_get_version_profile (src, &version, &profile)) { - g_print ("Warning: failed to retreive GLSL version and profile for " + g_print ("Warning: failed to retrieve GLSL version and profile for " "shader type 0x%x\nsrc:\n%s\n", type, src); } diff --git a/tests/examples/rtp/client-rtpaux.c b/tests/examples/rtp/client-rtpaux.c index 890dc1af90..c7aa781d1d 100644 --- a/tests/examples/rtp/client-rtpaux.c +++ b/tests/examples/rtp/client-rtpaux.c @@ -370,7 +370,7 @@ main (int argc, char **argv) g_main_loop_run (loop); - g_print ("stoping client pipeline\n"); + g_print ("stopping client pipeline\n"); gst_element_set_state (GST_ELEMENT (pipe), GST_STATE_NULL); gst_object_unref (pipe); diff --git a/tests/examples/v4l2/camctrl.c b/tests/examples/v4l2/camctrl.c index bb61721568..3861203ab2 100644 --- a/tests/examples/v4l2/camctrl.c +++ b/tests/examples/v4l2/camctrl.c @@ -165,7 +165,7 @@ main (gint argc, gchar ** argv) return -1; } - /* programm a pattern of events */ + /* program a pattern of events */ #if 0 prog = gst_structure_from_string ("program" ", image00=(structure)\"image\\,contrast\\=0.0\\;\""