diff --git a/configure.ac b/configure.ac index 4cac68937a..d90fccffec 100644 --- a/configure.ac +++ b/configure.ac @@ -818,7 +818,7 @@ dnl GST_*: flags shared by built objects to link against GStreamer dnl GST_PLUGINS_BASE_CFLAGS: to link internally against the plugins base libs dnl (compare to other modules) or for i18n dnl GST_ALL_LDFLAGS: linker flags shared by all -dnl GST_LIB_LDFLAGS: additional linker flags for all libaries +dnl GST_LIB_LDFLAGS: additional linker flags for all libraries dnl GST_LT_LDFLAGS: library versioning of our libraries dnl GST_PLUGIN_LDFLAGS: flags to be used for all plugins diff --git a/ext/alsa/gstalsasrc.c b/ext/alsa/gstalsasrc.c index ee87877c44..89a922bcd2 100644 --- a/ext/alsa/gstalsasrc.c +++ b/ext/alsa/gstalsasrc.c @@ -933,7 +933,7 @@ gst_alsasrc_get_timestamp (GstAlsaSrc * asrc) return GST_CLOCK_TIME_NONE; } - /* in case an xrun condition has occured we need to handle this */ + /* in case an xrun condition has occurred we need to handle this */ if (snd_pcm_status_get_state (status) != SND_PCM_STATE_RUNNING) { if (xrun_recovery (asrc, asrc->handle, err) < 0) { GST_WARNING_OBJECT (asrc, "Could not recover from xrun condition !"); diff --git a/ext/gl/effects/gstgleffectxray.c b/ext/gl/effects/gstgleffectxray.c index a7c9b36a12..d6fce66544 100644 --- a/ext/gl/effects/gstgleffectxray.c +++ b/ext/gl/effects/gstgleffectxray.c @@ -75,7 +75,7 @@ gst_gl_effects_xray (GstGLEffects * effects) gst_gl_filter_render_to_target_with_shader (filter, effects->intexture, effects->midtexture[3], shader); - /* horizonal convolution */ + /* horizontal convolution */ shader = gst_gl_effects_get_fragment_shader (effects, "sobel_hconv3", sep_sobel_hconv3_fragment_source_gles2); gst_gl_shader_use (shader); diff --git a/ext/gl/gstglalpha.c b/ext/gl/gstglalpha.c index 8f7d003941..5975a00bd1 100644 --- a/ext/gl/gstglalpha.c +++ b/ext/gl/gstglalpha.c @@ -197,7 +197,7 @@ static const gchar *chroma_key_frag = "void main () {\n" " vec4 yuva;\n" /* operations translated from alpha and tested with glvideomixer - * with one pad's paremeters blend-equation-rgb={subtract,reverse-subtract}, + * with one pad's parameters blend-equation-rgb={subtract,reverse-subtract}, * blend-function-src-rgb=src-color and blend-function-dst-rgb=dst-color */ " vec4 rgba = texture2D (tex, v_texcoord);\n" " yuva.xyz = rgb_to_yuv (rgba.rgb);\n" diff --git a/ext/gl/gstglcolorbalance.c b/ext/gl/gstglcolorbalance.c index 983f104373..c277b9eb03 100644 --- a/ext/gl/gstglcolorbalance.c +++ b/ext/gl/gstglcolorbalance.c @@ -134,7 +134,7 @@ static const gchar color_balance_frag_templ[] = "void main () {\n" " vec3 yuv;\n" /* operations translated from videobalanceand tested with glvideomixer - * with one pad's paremeters blend-equation-rgb={subtract,reverse-subtract}, + * with one pad's parameters blend-equation-rgb={subtract,reverse-subtract}, * blend-function-src-rgb=src-color and blend-function-dst-rgb=dst-color */ " float hue_cos = cos (PI * hue);\n" " float hue_sin = sin (PI * hue);\n" diff --git a/ext/gl/gstglfilterreflectedscreen.c b/ext/gl/gstglfilterreflectedscreen.c index 2ca090c3aa..566b28cbf2 100644 --- a/ext/gl/gstglfilterreflectedscreen.c +++ b/ext/gl/gstglfilterreflectedscreen.c @@ -380,7 +380,7 @@ gst_gl_filter_reflected_screen_callback (gint width, gint height, guint texture, glClear (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT); - //load identity befor tracing + //load identity before tracing glLoadIdentity (); //camera translation glTranslatef (0.0f, 0.1f, -1.3f); diff --git a/ext/gl/gstglfiltershader.c b/ext/gl/gstglfiltershader.c index 10ce1cb12c..71a1a02318 100644 --- a/ext/gl/gstglfiltershader.c +++ b/ext/gl/gstglfiltershader.c @@ -387,7 +387,7 @@ _set_uniform (GQuark field_id, const GValue * value, gpointer user_data) #endif } else { /* FIXME: Add support for unsigned ints, non 4x4 matrices, etc */ - GST_FIXME ("Don't know how to set the \'%s\' paramater. Unknown type", + GST_FIXME ("Don't know how to set the \'%s\' parameter. Unknown type", field_name); return TRUE; } @@ -530,7 +530,7 @@ gst_gl_filtershader_hcallback (GstGLFilter * filter, GstGLMemory * in_tex, gst_gl_shader_use (shader); - /* FIXME: propertise these */ + /* FIXME: turn these into properties */ gst_gl_shader_set_uniform_1i (shader, "tex", 0); gst_gl_shader_set_uniform_1f (shader, "width", GST_VIDEO_INFO_WIDTH (&filter->out_info)); @@ -538,7 +538,7 @@ gst_gl_filtershader_hcallback (GstGLFilter * filter, GstGLMemory * in_tex, GST_VIDEO_INFO_HEIGHT (&filter->out_info)); gst_gl_shader_set_uniform_1f (shader, "time", filtershader->time); - /* FIXME: propertise these */ + /* FIXME: turn these into properties */ filter->draw_attr_position_loc = gst_gl_shader_get_attribute_location (shader, "a_position"); filter->draw_attr_texture_loc = diff --git a/ext/gl/gstglimagesink.c b/ext/gl/gstglimagesink.c index c06e29f775..3543150cdf 100644 --- a/ext/gl/gstglimagesink.c +++ b/ext/gl/gstglimagesink.c @@ -2029,7 +2029,7 @@ gst_glimage_sink_thread_init_redisplay (GstGLImageSink * gl_sink) frag_stage = gst_glsl_stage_new_default_fragment (gl_sink->context); } if (!vert_stage || !frag_stage) { - GST_ERROR_OBJECT (gl_sink, "Failed to retreive fragment shader for " + GST_ERROR_OBJECT (gl_sink, "Failed to retrieve fragment shader for " "texture target"); if (vert_stage) gst_object_unref (vert_stage); @@ -2240,7 +2240,7 @@ gst_glimage_sink_on_draw (GstGLImageSink * gl_sink) gst_gl_sync_meta_wait (gl_sink->stored_sync_meta, gst_gl_context_get_current ()); - /* make sure that the environnement is clean */ + /* make sure that the environment is clean */ gst_gl_context_clear_shader (gl_sink->context); gl->BindTexture (gl_target, 0); diff --git a/ext/gl/gstglstereomix.c b/ext/gl/gstglstereomix.c index 464fad1354..f7cc4d7c47 100644 --- a/ext/gl/gstglstereomix.c +++ b/ext/gl/gstglstereomix.c @@ -363,7 +363,7 @@ gst_gl_stereo_mix_aggregate_frames (GstVideoAggregator * vagg, GstGLStereoMix *mix = GST_GL_STEREO_MIX (vagg); /* If we're operating in frame-by-frame mode, push * the primary view now, and let the parent class - * push the remaining auxilliary view */ + * push the remaining auxiliary view */ if (GST_VIDEO_INFO_MULTIVIEW_MODE (&vagg->info) == GST_VIDEO_MULTIVIEW_MODE_FRAME_BY_FRAME) { /* Transfer the timestamps video-agg put on the aux buffer */ diff --git a/ext/ogg/gstoggaviparse.c b/ext/ogg/gstoggaviparse.c index 7a12a32775..69136e6cd2 100644 --- a/ext/ogg/gstoggaviparse.c +++ b/ext/ogg/gstoggaviparse.c @@ -25,7 +25,7 @@ * pages. * Before extracting the packets out of the ogg pages, we push the raw vorbis * header packets to the decoder. - * We don't use the incomming timestamps but use the ganulepos on the ogg pages + * We don't use the incoming timestamps but use the ganulepos on the ogg pages * directly. * This parser only does ogg/vorbis for now. */ diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c index 87dfae8c54..d09ab8bf29 100644 --- a/ext/ogg/gstoggdemux.c +++ b/ext/ogg/gstoggdemux.c @@ -632,7 +632,7 @@ gst_ogg_demux_chain_peer (GstOggPad * pad, ogg_packet * packet, beyond = ipad->map.n_index && ipad->map.index[ipad->map.n_index - 1].offset >= length; if (beyond) { - GST_WARNING_OBJECT (pad, "Index offsets beyong byte length"); + GST_WARNING_OBJECT (pad, "Index offsets beyond byte length"); if (ipad->discont) { /* hole - the index is most likely screwed up */ GST_WARNING_OBJECT (ogg, "Discarding entire index"); @@ -1511,7 +1511,7 @@ gst_ogg_demux_estimate_bisection_target (GstOggDemux * ogg, float seek_quality) GST_DEBUG_OBJECT (ogg, "Raw best guess: %" G_GINT64_FORMAT, best); /* offset the guess down as we need to capture the start of the - page we are targetting - but only do so if we did not undershoot + page we are targeting - but only do so if we did not undershoot last time, as we're likely to still do this time */ if (!ogg->seek_undershot) { /* very small packets are packed on pages, so offset by at least @@ -4026,7 +4026,7 @@ gst_ogg_demux_bisect_forward_serialno (GstOggDemux * ogg, "bisect begin: %" G_GINT64_FORMAT ", searched: %" G_GINT64_FORMAT ", end %" G_GINT64_FORMAT ", chain: %p", begin, searched, end, chain); - /* the below guards against garbage seperating the last and + /* the below guards against garbage separating the last and * first pages of two links. */ while (searched < endsearched) { gint64 bisect; diff --git a/ext/ogg/gstoggdemux.h b/ext/ogg/gstoggdemux.h index 016c14ac37..3fe7fff134 100644 --- a/ext/ogg/gstoggdemux.h +++ b/ext/ogg/gstoggdemux.h @@ -97,7 +97,7 @@ struct _GstOggPad gint64 first_granule; /* the granulepos of first page == first sample in next page */ GstClockTime first_time; /* the timestamp of the second page or granuletime of first page */ - GstClockTime position; /* position when last push occured; used to detect when we + GstClockTime position; /* position when last push occurred; used to detect when we * need to send a newsegment update event for sparse streams */ GList *continued; diff --git a/ext/pango/gstbasetextoverlay.c b/ext/pango/gstbasetextoverlay.c index 5fe627385d..4307654683 100644 --- a/ext/pango/gstbasetextoverlay.c +++ b/ext/pango/gstbasetextoverlay.c @@ -882,7 +882,7 @@ gst_base_text_overlay_negotiate (GstBaseTextOverlay * overlay, GstCaps * caps) } if (upstream_has_meta || caps_has_meta) { - /* Send caps immediatly, it's needed by GstBaseTransform to get a reply + /* Send caps immediately, it's needed by GstBaseTransform to get a reply * from allocation query */ ret = gst_pad_set_caps (overlay->srcpad, overlay_caps); @@ -1855,7 +1855,7 @@ gst_base_text_overlay_render_pangocairo (GstBaseTextOverlay * overlay, overlay->ink_rect.y = tmp.x; overlay->ink_rect.width = tmp.height; overlay->ink_rect.height = tmp.width; - /* We want the top left corect, but we now have the top right */ + /* We want the top left correct, but we now have the top right */ overlay->ink_rect.x += overlay->ink_rect.width; tmp = overlay->logical_rect; @@ -1901,7 +1901,7 @@ gst_base_text_overlay_render_pangocairo (GstBaseTextOverlay * overlay, if (overlay->use_vertical_render) { gint tmp; - /* tranlate to the center of the image, rotate, and tranlate the rotated + /* translate to the center of the image, rotate, and translate the rotated * image back to the right place */ cairo_matrix_translate (&cairo_matrix, unscaled_height / 2.0l, unscaled_width / 2.0l); diff --git a/ext/theora/gsttheoradec.h b/ext/theora/gsttheoradec.h index 97b77153b4..bc97178645 100644 --- a/ext/theora/gsttheoradec.h +++ b/ext/theora/gsttheoradec.h @@ -70,7 +70,7 @@ struct _GstTheoraDec GstVideoCodecState *input_state; GstVideoCodecState *output_state; - /* telemetry debuging options */ + /* telemetry debugging options */ gint telemetry_mv; gint telemetry_mbmode; gint telemetry_qi; diff --git a/ext/theora/gsttheoraenc.c b/ext/theora/gsttheoraenc.c index 6bbcc48341..85350da8cc 100644 --- a/ext/theora/gsttheoraenc.c +++ b/ext/theora/gsttheoraenc.c @@ -879,7 +879,7 @@ theora_enc_handle_frame (GstVideoEncoder * benc, GstVideoCodecFrame * frame) enc = GST_THEORA_ENC (benc); /* we keep track of two timelines. - * - The timestamps from the incomming buffers, which we copy to the outgoing + * - The timestamps from the incoming buffers, which we copy to the outgoing * encoded buffers as-is. We need to do this as we simply forward the * newsegment events. * - The running_time of the buffers, which we use to construct the granulepos diff --git a/ext/vorbis/gstvorbistag.c b/ext/vorbis/gstvorbistag.c index 4a8cdb2ca8..19ddb3ef9a 100644 --- a/ext/vorbis/gstvorbistag.c +++ b/ext/vorbis/gstvorbistag.c @@ -31,7 +31,7 @@ * elements. * * Applications can set the tags to write using the #GstTagSetter interface. - * Tags contained withing the vorbis bitstream will be picked up + * Tags contained within the vorbis bitstream will be picked up * automatically (and merged according to the merge mode set via the tag * setter interface). * diff --git a/gst-libs/gst/allocators/gstdmabuf.h b/gst-libs/gst/allocators/gstdmabuf.h index d6992b37b5..603331ae90 100644 --- a/gst-libs/gst/allocators/gstdmabuf.h +++ b/gst-libs/gst/allocators/gstdmabuf.h @@ -41,17 +41,17 @@ G_BEGIN_DECLS * * When the memory is mappable for read and write requests then it is assumes * to be a fast path and so this caps feature should not be used. Though - * according to the dma-buf protocal, while it is mapped it prevents the + * according to the dma-buf protocol, while it is mapped it prevents the * exporter to migrate the buffer. * * This caps feature should not serve at all the purpose of selecting the * @GST_ALLOCATOR_DMABUF allocator during caps negotiation. * When the exporter is the upstream element from the importer point of view, - * the exporter should try to map the dma buffer at runtime (preferrably during + * the exporter should try to map the dma buffer at runtime (preferably during * decide_allocation phase). When it succeeds for #GST_MAP_READWRITE this caps * feature should not be used. This allows scalers, color converts and any image * processing filters to work directly on the dma buffer. - * In this case the importer element should check all incomming memory using + * In this case the importer element should check all incoming memory using * gst_is_dmabuf_memory(). * * Since: 1.12 diff --git a/gst-libs/gst/app/gstappsink.c b/gst-libs/gst/app/gstappsink.c index f14032abb4..695d8717d0 100644 --- a/gst-libs/gst/app/gstappsink.c +++ b/gst-libs/gst/app/gstappsink.c @@ -1201,7 +1201,7 @@ gst_app_sink_set_emit_signals (GstAppSink * appsink, gboolean emit) * * Check if appsink will emit the "new-preroll" and "new-sample" signals. * - * Returns: %TRUE if @appsink is emiting the "new-preroll" and "new-sample" + * Returns: %TRUE if @appsink is emitting the "new-preroll" and "new-sample" * signals. */ gboolean diff --git a/gst-libs/gst/app/gstappsrc.c b/gst-libs/gst/app/gstappsrc.c index a36c97dc82..63395dbdc8 100644 --- a/gst-libs/gst/app/gstappsrc.c +++ b/gst-libs/gst/app/gstappsrc.c @@ -350,7 +350,7 @@ gst_app_src_class_init (GstAppSrcClass * klass) /** * GstAppSrc::max-latency: * - * The maximum latency of the source. A value of -1 means an unlimited amout + * The maximum latency of the source. A value of -1 means an unlimited amount * of latency. */ g_object_class_install_property (gobject_class, PROP_MAX_LATENCY, @@ -1937,9 +1937,9 @@ gst_app_src_push_sample_internal (GstAppSrc * appsrc, GstSample * sample) * When the block property is TRUE, this function can block until free * space becomes available in the queue. * - * Returns: #GST_FLOW_OK when the buffer was successfuly queued. + * Returns: #GST_FLOW_OK when the buffer was successfully queued. * #GST_FLOW_FLUSHING when @appsrc is not PAUSED or PLAYING. - * #GST_FLOW_EOS when EOS occured. + * #GST_FLOW_EOS when EOS occurred. */ GstFlowReturn gst_app_src_push_buffer (GstAppSrc * appsrc, GstBuffer * buffer) @@ -1959,9 +1959,9 @@ gst_app_src_push_buffer (GstAppSrc * appsrc, GstBuffer * buffer) * When the block property is TRUE, this function can block until free * space becomes available in the queue. * - * Returns: #GST_FLOW_OK when the buffer list was successfuly queued. + * Returns: #GST_FLOW_OK when the buffer list was successfully queued. * #GST_FLOW_FLUSHING when @appsrc is not PAUSED or PLAYING. - * #GST_FLOW_EOS when EOS occured. + * #GST_FLOW_EOS when EOS occurred. * * Since: 1.14 */ @@ -1988,9 +1988,9 @@ gst_app_src_push_buffer_list (GstAppSrc * appsrc, GstBufferList * buffer_list) * When the block property is TRUE, this function can block until free * space becomes available in the queue. * - * Returns: #GST_FLOW_OK when the buffer was successfuly queued. + * Returns: #GST_FLOW_OK when the buffer was successfully queued. * #GST_FLOW_FLUSHING when @appsrc is not PAUSED or PLAYING. - * #GST_FLOW_EOS when EOS occured. + * #GST_FLOW_EOS when EOS occurred. * * Since: 1.6 * @@ -2033,7 +2033,7 @@ gst_app_src_push_sample_action (GstAppSrc * appsrc, GstSample * sample) * Indicates to the appsrc element that the last buffer queued in the * element is the last buffer of the stream. * - * Returns: #GST_FLOW_OK when the EOS was successfuly queued. + * Returns: #GST_FLOW_OK when the EOS was successfully queued. * #GST_FLOW_FLUSHING when @appsrc is not PAUSED or PLAYING. */ GstFlowReturn diff --git a/gst-libs/gst/audio/audio-channels.h b/gst-libs/gst/audio/audio-channels.h index 18b6f88c2d..0089257b12 100644 --- a/gst-libs/gst/audio/audio-channels.h +++ b/gst-libs/gst/audio/audio-channels.h @@ -87,7 +87,7 @@ G_BEGIN_DECLS * This is expressed in caps by having a channel mask with no bits set. * * As another special case it is allowed to have two channels without a channel mask. - * This implicitely means that this is a stereo stream with a front left and front right + * This implicitly means that this is a stereo stream with a front left and front right * channel. */ typedef enum { diff --git a/gst-libs/gst/audio/audio-converter.c b/gst-libs/gst/audio/audio-converter.c index 8dc2ec4a72..51507f7ef6 100644 --- a/gst-libs/gst/audio/audio-converter.c +++ b/gst-libs/gst/audio/audio-converter.c @@ -420,7 +420,7 @@ get_temp_samples (AudioChain * chain, gsize num_samples, gpointer user_data) gint8 *s; gsize stride = GST_ROUND_UP_N (num_samples * chain->stride, ALIGN); /* first part contains the pointers, second part the data, add some extra bytes - * for alignement */ + * for alignment */ gsize needed = (stride + sizeof (gpointer)) * chain->blocks + ALIGN - 1; GST_DEBUG ("alloc samples %d %" G_GSIZE_FORMAT " %" G_GSIZE_FORMAT, diff --git a/gst-libs/gst/audio/audio-format.h b/gst-libs/gst/audio/audio-format.h index 8488157043..cb0b335ded 100644 --- a/gst-libs/gst/audio/audio-format.h +++ b/gst-libs/gst/audio/audio-format.h @@ -173,7 +173,7 @@ typedef enum * @GST_AUDIO_PACK_FLAG_NONE: No flag * @GST_AUDIO_PACK_FLAG_TRUNCATE_RANGE: When the source has a smaller depth * than the target format, set the least significant bits of the target - * to 0. This is likely sightly faster but less accurate. When this flag + * to 0. This is likely slightly faster but less accurate. When this flag * is not specified, the most significant bits of the source are duplicated * in the least significant bits of the destination. * diff --git a/gst-libs/gst/audio/audio-resampler.c b/gst-libs/gst/audio/audio-resampler.c index 901469ee28..8ecf77020a 100644 --- a/gst-libs/gst/audio/audio-resampler.c +++ b/gst-libs/gst/audio/audio-resampler.c @@ -1648,7 +1648,7 @@ gst_audio_resampler_free (GstAudioResampler * resampler) * Get the number of output frames that would be currently available when * @in_frames are given to @resampler. * - * Returns: The number of frames that would be availabe after giving + * Returns: The number of frames that would be available after giving * @in_frames as input to @resampler. */ gsize diff --git a/gst-libs/gst/audio/audio-resampler.h b/gst-libs/gst/audio/audio-resampler.h index 1f3045d543..1bf1066a96 100644 --- a/gst-libs/gst/audio/audio-resampler.h +++ b/gst-libs/gst/audio/audio-resampler.h @@ -117,9 +117,9 @@ typedef enum { * GstAudioResamplerFilterInterpolation: * @GST_AUDIO_RESAMPLER_FILTER_INTERPOLATION_NONE: no interpolation * @GST_AUDIO_RESAMPLER_FILTER_INTERPOLATION_LINEAR: linear interpolation of the - * filter coeficients. + * filter coefficients. * @GST_AUDIO_RESAMPLER_FILTER_INTERPOLATION_CUBIC: cubic interpolation of the - * filter coeficients. + * filter coefficients. * * The different filter interpolation methods. */ @@ -131,7 +131,7 @@ typedef enum { /** * GST_AUDIO_RESAMPLER_OPT_FILTER_INTERPOLATION: * - * GST_TYPE_AUDIO_RESAMPLER_INTERPOLATION: how the filter coeficients should be + * GST_TYPE_AUDIO_RESAMPLER_INTERPOLATION: how the filter coefficients should be * interpolated. * GST_AUDIO_RESAMPLER_FILTER_INTERPOLATION_CUBIC is default. */ diff --git a/gst-libs/gst/audio/gstaudioaggregator.c b/gst-libs/gst/audio/gstaudioaggregator.c index 5b430678e9..f83c61713c 100644 --- a/gst-libs/gst/audio/gstaudioaggregator.c +++ b/gst-libs/gst/audio/gstaudioaggregator.c @@ -1289,7 +1289,7 @@ gst_audio_aggregator_sink_query (GstAggregator * agg, GstAggregatorPad * aggpad, * * 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 @@ -1878,7 +1878,7 @@ gst_audio_aggregator_aggregate (GstAggregator * agg, gboolean timeout) * the running time. * * 2) If the current pad's offset/offset_end overlaps with the output - * offset/offset_end, mix it at the appropiate position in the output + * offset/offset_end, mix it at the appropriate position in the output * buffer and advance the pad's position. Remember if this pad needs * a new buffer to advance behind the output offset_end. * diff --git a/gst-libs/gst/audio/gstaudiobasesink.c b/gst-libs/gst/audio/gstaudiobasesink.c index c1ac674e60..649a5c7199 100644 --- a/gst-libs/gst/audio/gstaudiobasesink.c +++ b/gst-libs/gst/audio/gstaudiobasesink.c @@ -1284,7 +1284,7 @@ gst_audio_base_sink_custom_slaving (GstAudioBaseSink * sink, etime = etime > cexternal ? etime - cexternal : 0; itime = itime > cinternal ? itime - cinternal : 0; - /* don't do any skewing unless the callback explicitely requests one */ + /* don't do any skewing unless the callback explicitly requests one */ requested_skew = 0; if (sink->priv->custom_slaving_callback != NULL) { @@ -1358,7 +1358,7 @@ gst_audio_base_sink_resample_slaving (GstAudioBaseSink * sink, /* FIXME, we can sample and add observations here or use the timeouts on the * clock. No idea which one is better or more stable. The timeout seems more * arbitrary but this one seems more demanding and does not work when there is - * no data comming in to the sink. */ + * no data coming in to the sink. */ #if 0 GstClockTime etime, itime; gdouble r_squared; @@ -1640,7 +1640,7 @@ gst_audio_base_sink_sync_latency (GstBaseSink * bsink, GstMiniObject * obj) goto flushing; /* retry if we got unscheduled, which means we did not reach the timeout - * yet. if some other error occures, we continue. */ + * yet. if some other error occurs, we continue. */ } while (status == GST_CLOCK_UNSCHEDULED); GST_DEBUG_OBJECT (sink, "latency synced"); @@ -2421,7 +2421,7 @@ gst_audio_base_sink_change_state (GstElement * element, gst_audio_ring_buffer_may_start (sink->ringbuffer, FALSE); /* Only post clock-provide messages if this is the clock that - * we've created. If the subclass has overriden it the subclass + * we've created. If the subclass has overridden it the subclass * should post this messages whenever necessary */ if (gst_audio_base_sink_is_self_provided_clock (sink)) gst_element_post_message (element, @@ -2441,7 +2441,7 @@ gst_audio_base_sink_change_state (GstElement * element, gst_audio_ring_buffer_may_start (sink->ringbuffer, TRUE); if (GST_BASE_SINK_CAST (sink)->pad_mode == GST_PAD_MODE_PULL || g_atomic_int_get (&sink->eos_rendering) || eos) { - /* we always start the ringbuffer in pull mode immediatly */ + /* we always start the ringbuffer in pull mode immediately */ /* sync rendering on eos needs running clock, * and others need running clock when finished rendering eos */ gst_audio_ring_buffer_start (sink->ringbuffer); @@ -2459,7 +2459,7 @@ gst_audio_base_sink_change_state (GstElement * element, break; case GST_STATE_CHANGE_PAUSED_TO_READY: /* Only post clock-lost messages if this is the clock that - * we've created. If the subclass has overriden it the subclass + * we've created. If the subclass has overridden it the subclass * should post this messages whenever necessary */ if (gst_audio_base_sink_is_self_provided_clock (sink)) gst_element_post_message (element, diff --git a/gst-libs/gst/audio/gstaudiobasesrc.c b/gst-libs/gst/audio/gstaudiobasesrc.c index 9aaf75fdf5..9bfee07df3 100644 --- a/gst-libs/gst/audio/gstaudiobasesrc.c +++ b/gst-libs/gst/audio/gstaudiobasesrc.c @@ -1134,7 +1134,7 @@ gst_audio_base_src_change_state (GstElement * element, gst_audio_ring_buffer_set_flushing (src->ringbuffer, FALSE); gst_audio_ring_buffer_may_start (src->ringbuffer, FALSE); /* Only post clock-provide messages if this is the clock that - * we've created. If the subclass has overriden it the subclass + * we've created. If the subclass has overridden it the subclass * should post this messages whenever necessary */ if (src->clock && GST_IS_AUDIO_CLOCK (src->clock) && GST_AUDIO_CLOCK_CAST (src->clock)->func == @@ -1155,7 +1155,7 @@ gst_audio_base_src_change_state (GstElement * element, case GST_STATE_CHANGE_PAUSED_TO_READY: GST_DEBUG_OBJECT (src, "PAUSED->READY"); /* Only post clock-lost messages if this is the clock that - * we've created. If the subclass has overriden it the subclass + * we've created. If the subclass has overridden it the subclass * should post this messages whenever necessary */ if (src->clock && GST_IS_AUDIO_CLOCK (src->clock) && GST_AUDIO_CLOCK_CAST (src->clock)->func == diff --git a/gst-libs/gst/audio/gstaudiodecoder.c b/gst-libs/gst/audio/gstaudiodecoder.c index c3d445b24d..31a322e3f6 100644 --- a/gst-libs/gst/audio/gstaudiodecoder.c +++ b/gst-libs/gst/audio/gstaudiodecoder.c @@ -1350,7 +1350,7 @@ gst_audio_decoder_finish_frame_or_subframe (GstAudioDecoder * dec, /* sanity checking */ if (G_LIKELY (buf && ctx->info.bpf)) { if (!meta || meta->info.layout == GST_AUDIO_LAYOUT_INTERLEAVED) { - /* output shoud be whole number of sample frames */ + /* output should be whole number of sample frames */ if (size % ctx->info.bpf) goto wrong_buffer; /* output should have no additional padding */ @@ -1844,7 +1844,7 @@ gst_audio_decoder_clear_queues (GstAudioDecoder * dec) * arrives out of order. * * we first gather buffers in the gather queue until we get a DISCONT. We - * prepend each incomming buffer so that they are in reversed order. + * prepend each incoming buffer so that they are in reversed order. * * gather queue: 9 8 7 * decode queue: diff --git a/gst-libs/gst/audio/gstaudioencoder.c b/gst-libs/gst/audio/gstaudioencoder.c index c2f0382ae3..5d705f41a3 100644 --- a/gst-libs/gst/audio/gstaudioencoder.c +++ b/gst-libs/gst/audio/gstaudioencoder.c @@ -1224,7 +1224,7 @@ gst_audio_encoder_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer) GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buffer)), GST_TIME_ARGS (GST_BUFFER_DURATION (buffer))); - /* input shoud be whole number of sample frames */ + /* input should be whole number of sample frames */ if (size % ctx->info.bpf) goto wrong_buffer; diff --git a/gst-libs/gst/audio/gstaudioringbuffer.c b/gst-libs/gst/audio/gstaudioringbuffer.c index cd5197e1b6..2e9af680a0 100644 --- a/gst-libs/gst/audio/gstaudioringbuffer.c +++ b/gst-libs/gst/audio/gstaudioringbuffer.c @@ -1189,11 +1189,11 @@ done: * implementation uses another internal buffer between the audio * device. * - * For playback ringbuffers this is the amount of samples transfered from the + * For playback ringbuffers this is the amount of samples transferred from the * ringbuffer to the device but still not played. * * For capture ringbuffers this is the amount of samples in the device that are - * not yet transfered to the ringbuffer. + * not yet transferred to the ringbuffer. * * Returns: The number of samples queued in the audio device. * diff --git a/gst-libs/gst/audio/gstaudiosink.c b/gst-libs/gst/audio/gstaudiosink.c index 4325f71a30..3892432bfd 100644 --- a/gst-libs/gst/audio/gstaudiosink.c +++ b/gst-libs/gst/audio/gstaudiosink.c @@ -241,7 +241,7 @@ audioringbuffer_thread_func (GstAudioRingBuffer * buf) left = len; do { written = writefunc (sink, readptr, left); - GST_LOG_OBJECT (sink, "transfered %d bytes of %d from segment %d", + GST_LOG_OBJECT (sink, "transferred %d bytes of %d from segment %d", written, left, readseg); if (written < 0 || written > left) { /* might not be critical, it e.g. happens when aborting playback */ diff --git a/gst-libs/gst/audio/gstaudiosrc.c b/gst-libs/gst/audio/gstaudiosrc.c index 16b090c209..77843f46bc 100644 --- a/gst-libs/gst/audio/gstaudiosrc.c +++ b/gst-libs/gst/audio/gstaudiosrc.c @@ -220,7 +220,7 @@ audioringbuffer_thread_func (GstAudioRingBuffer * buf) left = len; do { read = readfunc (src, readptr, left, ×tamp); - GST_LOG_OBJECT (src, "transfered %d bytes of %d to segment %d", read, + GST_LOG_OBJECT (src, "transferred %d bytes of %d to segment %d", read, left, readseg); if (read < 0 || read > left) { GST_WARNING_OBJECT (src, @@ -463,7 +463,7 @@ gst_audio_src_ring_buffer_stop (GstAudioRingBuffer * buf) #if 0 GST_DEBUG ("stop, waiting..."); GST_AUDIO_SRC_RING_BUFFER_WAIT (buf); - GST_DEBUG ("stoped"); + GST_DEBUG ("stopped"); #endif return TRUE; diff --git a/gst-libs/gst/audio/gstaudiostreamalign.c b/gst-libs/gst/audio/gstaudiostreamalign.c index ff56cf6f13..3eaa74bc97 100644 --- a/gst-libs/gst/audio/gstaudiostreamalign.c +++ b/gst-libs/gst/audio/gstaudiostreamalign.c @@ -144,7 +144,7 @@ gst_audio_stream_align_free (GstAudioStreamAlign * align) * @rate: a new sample rate * * Sets @rate as new sample rate for the following processing. If the sample - * rate differs this implicitely marks the next data as discontinuous. + * rate differs this implicitly marks the next data as discontinuous. * * Since: 1.14 */ diff --git a/gst-libs/gst/fft/kiss_fft_f32.c b/gst-libs/gst/fft/kiss_fft_f32.c index 45bdeb6803..8182b567a0 100644 --- a/gst-libs/gst/fft/kiss_fft_f32.c +++ b/gst-libs/gst/fft/kiss_fft_f32.c @@ -17,7 +17,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND #include "_kiss_fft_guts_f32.h" /* The guts header contains all the multiplication and addition macros that are defined for - fixed or floating point complex numbers. It also delares the kf_ internal functions. + fixed or floating point complex numbers. It also declares the kf_ internal functions. */ static kiss_fft_f32_cpx *scratchbuf = NULL; diff --git a/gst-libs/gst/fft/kiss_fft_f64.c b/gst-libs/gst/fft/kiss_fft_f64.c index da42aab94d..fbb5dc455e 100644 --- a/gst-libs/gst/fft/kiss_fft_f64.c +++ b/gst-libs/gst/fft/kiss_fft_f64.c @@ -17,7 +17,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND #include "_kiss_fft_guts_f64.h" /* The guts header contains all the multiplication and addition macros that are defined for - fixed or floating point complex numbers. It also delares the kf_ internal functions. + fixed or floating point complex numbers. It also declares the kf_ internal functions. */ static kiss_fft_f64_cpx *scratchbuf = NULL; diff --git a/gst-libs/gst/fft/kiss_fft_s16.c b/gst-libs/gst/fft/kiss_fft_s16.c index 7334141a09..f6df12f311 100644 --- a/gst-libs/gst/fft/kiss_fft_s16.c +++ b/gst-libs/gst/fft/kiss_fft_s16.c @@ -17,7 +17,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND #include "_kiss_fft_guts_s16.h" /* The guts header contains all the multiplication and addition macros that are defined for - fixed or floating point complex numbers. It also delares the kf_ internal functions. + fixed or floating point complex numbers. It also declares the kf_ internal functions. */ static kiss_fft_s16_cpx *scratchbuf = NULL; diff --git a/gst-libs/gst/fft/kiss_fft_s32.c b/gst-libs/gst/fft/kiss_fft_s32.c index ed8d69ee24..a2750d50b9 100644 --- a/gst-libs/gst/fft/kiss_fft_s32.c +++ b/gst-libs/gst/fft/kiss_fft_s32.c @@ -17,7 +17,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND #include "_kiss_fft_guts_s32.h" /* The guts header contains all the multiplication and addition macros that are defined for - fixed or floating point complex numbers. It also delares the kf_ internal functions. + fixed or floating point complex numbers. It also declares the kf_ internal functions. */ static kiss_fft_s32_cpx *scratchbuf = NULL; diff --git a/gst-libs/gst/gl/egl/gstglcontext_egl.c b/gst-libs/gst/gl/egl/gstglcontext_egl.c index 899bb250bd..5988170a3e 100644 --- a/gst-libs/gst/gl/egl/gstglcontext_egl.c +++ b/gst-libs/gst/gl/egl/gstglcontext_egl.c @@ -839,7 +839,7 @@ gst_gl_context_egl_create_context (GstGLContext * context, egl->egl_surface = eglCreateWindowSurface (egl->egl_display, egl->egl_config, (EGLNativeWindowType) window_handle, attrs); - /* Store window handle for later comparision */ + /* Store window handle for later comparison */ egl->window_handle = window_handle; } else if (!gst_gl_check_extension ("EGL_KHR_surfaceless_context", egl->egl_exts)) { diff --git a/gst-libs/gst/gl/gbm/gstgl_gbm_utils.c b/gst-libs/gst/gl/gbm/gstgl_gbm_utils.c index 0f9259185c..5f667b8d4f 100644 --- a/gst-libs/gst/gl/gbm/gstgl_gbm_utils.c +++ b/gst-libs/gst/gl/gbm/gstgl_gbm_utils.c @@ -467,7 +467,7 @@ gst_gl_gbm_find_and_open_drm_node (void) * unclear how to do that. By trying to create an EGL context? */ g_udev_enumerator_add_match_subsystem (gudev_enum, "drm"); devlist = g_udev_enumerator_execute (gudev_enum); - GST_DEBUG ("Scanned for udev devices with a drm subsytem"); + GST_DEBUG ("Scanned for udev devices with a drm subsystem"); if (devlist == NULL) { GST_WARNING ("Found no matching DRM devices"); diff --git a/gst-libs/gst/gl/gstglapi.c b/gst-libs/gst/gl/gstglapi.c index 383f9a76fc..1129a32fd2 100644 --- a/gst-libs/gst/gl/gstglapi.c +++ b/gst-libs/gst/gl/gstglapi.c @@ -46,7 +46,7 @@ * gst_gl_api_to_string: * @api: a #GstGLAPI to stringify * - * Returns: A space seperated string of the OpenGL api's enabled in @api + * Returns: A space separated string of the OpenGL api's enabled in @api */ gchar * gst_gl_api_to_string (GstGLAPI api) @@ -97,7 +97,7 @@ out: /** * gst_gl_api_from_string: - * @api_s: a space seperated string of OpenGL apis + * @api_s: a space separated string of OpenGL apis * * Returns: The #GstGLAPI represented by @api_s */ @@ -141,7 +141,7 @@ gst_gl_api_from_string (const gchar * apis_s) * gst_gl_platform_to_string: * @platform: a #GstGLPlatform to stringify * - * Returns: A space seperated string of the OpenGL platforms enabled in @platform + * Returns: A space separated string of the OpenGL platforms enabled in @platform */ gchar * gst_gl_platform_to_string (GstGLPlatform platform) @@ -182,7 +182,7 @@ out: /** * gst_gl_platform_from_string: - * @platform_s: a space seperated string of OpenGL platformss + * @platform_s: a space separated string of OpenGL platformss * * Returns: The #GstGLPlatform represented by @platform_s */ diff --git a/gst-libs/gst/gl/gstglbasememory.c b/gst-libs/gst/gl/gstglbasememory.c index 94a803238a..534b3133c4 100644 --- a/gst-libs/gst/gl/gstglbasememory.c +++ b/gst-libs/gst/gl/gstglbasememory.c @@ -209,7 +209,7 @@ _align_data (gpointer data, gsize align) * gst_gl_base_memory_alloc_data: * @gl_mem: a #GstGLBaseMemory * - * Note: only intended for subclass usage to allocate the sytem memory buffer + * Note: only intended for subclass usage to allocate the system memory buffer * on demand. If there is already a non-NULL data pointer in @gl_mem->data, * then this function imply returns TRUE. * @@ -567,7 +567,7 @@ gst_is_gl_base_memory (GstMemory * mem) * @offset: the offset to start at * @size: the number of bytes to copy * - * Returns: whether the copy suceeded. + * Returns: whether the copy succeeded. * * Since: 1.8 */ @@ -623,7 +623,7 @@ gst_gl_base_memory_memcpy (GstGLBaseMemory * src, GstGLBaseMemory * dest, * @notify will be called once for each allocated memory using these @params * when freeing the memory. * - * Returns: whether the paramaters could be initialized + * Returns: whether the parameters could be initialized * * Since: 1.8 */ @@ -704,7 +704,7 @@ gst_gl_allocation_params_free (GstGLAllocationParams * params) * @params: the source #GstGLAllocationParams * * Frees the dynamically allocated data in @params. Direct subclasses - * should call this function in their own overriden free function. + * should call this function in their own overridden free function. * * Since: 1.8 */ @@ -723,7 +723,7 @@ gst_gl_allocation_params_free_data (GstGLAllocationParams * params) * @dest: the destination #GstGLAllocationParams * * Copies the dynamically allocated data from @src to @dest. Direct subclasses - * should call this function in their own overriden copy function. + * should call this function in their own overridden copy function. * * Since: 1.8 */ diff --git a/gst-libs/gst/gl/gstglbasememory.h b/gst-libs/gst/gl/gstglbasememory.h index 82745025eb..8165839d8e 100644 --- a/gst-libs/gst/gl/gstglbasememory.h +++ b/gst-libs/gst/gl/gstglbasememory.h @@ -58,7 +58,7 @@ GQuark gst_gl_base_memory_error_quark (void); /** * GstGLBaseMemoryError: - * @GST_GL_BASE_MEMORY_ERROR_FAILED: generic faliure + * @GST_GL_BASE_MEMORY_ERROR_FAILED: generic failure * @GST_GL_BASE_MEMORY_ERROR_OLD_LIBS: the implementation is too old and doesn't * implement enough features * @GST_GL_BASE_MEMORY_ERROR_RESOURCE_UNAVAILABLE: a resource could not be found diff --git a/gst-libs/gst/gl/gstglbufferpool.c b/gst-libs/gst/gl/gstglbufferpool.c index e8327defb5..15adab40cc 100644 --- a/gst-libs/gst/gl/gstglbufferpool.c +++ b/gst-libs/gst/gl/gstglbufferpool.c @@ -219,7 +219,7 @@ gst_gl_buffer_pool_set_config (GstBufferPool * pool, GstStructure * config) priv->gl_params->target = tex_target; } - /* Recalulate the size and offset as we don't add padding between planes. */ + /* Recalculate the size and offset as we don't add padding between planes. */ priv->gl_params->v_info->size = 0; for (p = 0; p < GST_VIDEO_INFO_N_PLANES (priv->gl_params->v_info); p++) { priv->gl_params->v_info->offset[p] = priv->gl_params->v_info->size; diff --git a/gst-libs/gst/gl/gstglcolorconvert.c b/gst-libs/gst/gl/gstglcolorconvert.c index 99b5483fad..fae0811260 100644 --- a/gst-libs/gst/gl/gstglcolorconvert.c +++ b/gst-libs/gst/gl/gstglcolorconvert.c @@ -117,7 +117,7 @@ static const gfloat from_rgb_bt709_ucoeff[] = {-0.100640f, -0.338688f, 0.439327f static const gfloat from_rgb_bt709_vcoeff[] = {0.440654f, -0.400285f, -0.040370f}; /* GRAY16 to RGB conversion - * data transfered as GL_LUMINANCE_ALPHA then convert back to GRAY16 + * data transferred as GL_LUMINANCE_ALPHA then convert back to GRAY16 * high byte weight as : 255*256/65535 * ([0~1] denormalize to [0~255],shift to high byte,normalize to [0~1]) * low byte weight as : 255/65535 (similar) @@ -181,7 +181,7 @@ static const struct shader_templ templ_REORDER = }; /* GRAY16 to RGB conversion - * data transfered as GL_LUMINANCE_ALPHA then convert back to GRAY16 + * data transferred as GL_LUMINANCE_ALPHA then convert back to GRAY16 * high byte weight as : 255*256/65535 * ([0~1] denormalize to [0~255],shift to high byte,normalize to [0~1]) * low byte weight as : 255/65535 (similar) @@ -2369,7 +2369,7 @@ _do_convert_one_view (GstGLContext * context, GstGLColorConvert * convert, || out_tex->tex_format == GST_GL_LUMINANCE_ALPHA || out_width != mem_width || out_height != mem_height) { /* Luminance formats are not color renderable */ - /* renderering to a framebuffer only renders the intersection of all + /* rendering to a framebuffer only renders the intersection of all * the attachments i.e. the smallest attachment size */ if (!convert->priv->out_tex[j]) { GstGLVideoAllocationParams *params; diff --git a/gst-libs/gst/gl/gstglcontext.c b/gst-libs/gst/gl/gstglcontext.c index dae756574b..77d047c57e 100644 --- a/gst-libs/gst/gl/gstglcontext.c +++ b/gst-libs/gst/gl/gstglcontext.c @@ -146,7 +146,7 @@ load_self_module (gpointer user_data) * can share GL resources, this is the next best thing. * * XXX: we may need a way to associate two wrapped GstGLContext's as being - * shared however I have not come across a use case that requries this yet. + * shared however I have not come across a use case that requires this yet. */ struct ContextShareGroup { @@ -528,7 +528,7 @@ gst_gl_context_get_current_gl_context (GstGLPlatform context_type) * @name: the name of the function to retrieve * * Attempts to use the @context_type specific GetProcAddress implementations - * to retreive @name. + * to retrieve @name. * * See also gst_gl_context_get_proc_address(). * @@ -843,7 +843,7 @@ gst_gl_context_get_gl_api (GstGLContext * context) * Get a function pointer to a specified opengl function, @name. If the the * specific function does not exist, NULL is returned instead. * - * Platform specfic functions (names starting 'egl', 'glX', 'wgl', etc) can also + * Platform specific functions (names starting 'egl', 'glX', 'wgl', etc) can also * be retrieved using this method. * * Note: This function may return valid function pointers that may not be valid @@ -1604,7 +1604,7 @@ gst_gl_context_thread_add (GstGLContext * context, * @min: (out): resulting minor version * * Returns the OpenGL version implemented by @context. See - * gst_gl_context_get_gl_api() for retreiving the OpenGL api implemented by + * gst_gl_context_get_gl_api() for retrieving the OpenGL api implemented by * @context. * * Since: 1.4 diff --git a/gst-libs/gst/gl/gstgldisplay.c b/gst-libs/gst/gl/gstgldisplay.c index de185f83d0..2eb72a5678 100644 --- a/gst-libs/gst/gl/gstgldisplay.c +++ b/gst-libs/gst/gl/gstgldisplay.c @@ -28,7 +28,7 @@ * @see_also: #GstContext, #GstGLContext, #GstGLWindow * * #GstGLDisplay represents a connection to the underlying windowing system. - * Elements are required to make use of #GstContext to share and propogate + * Elements are required to make use of #GstContext to share and propagate * a #GstGLDisplay. * * There are a number of environment variables that influence the choice of @@ -402,7 +402,7 @@ gst_gl_display_default_get_foreign_display (GstGLDisplay * display) * * limit the use of OpenGL to the requested @gl_api. This is intended to allow * application and elements to request a specific set of OpenGL API's based on - * what they support. See gst_gl_context_get_gl_api() for the retreiving the + * what they support. See gst_gl_context_get_gl_api() for the retrieving the * API supported by a #GstGLContext. */ void @@ -637,7 +637,7 @@ gst_gl_display_remove_window (GstGLDisplay * display, GstGLWindow * window) * @compare_func: (scope call): a comparison function to run * * Execute @compare_func over the list of windows stored by @display. The - * first argment to @compare_func is the #GstGLWindow being checked and the + * first argument to @compare_func is the #GstGLWindow being checked and the * second argument is @data. * * Returns: (transfer none): The first #GstGLWindow that causes a match diff --git a/gst-libs/gst/gl/gstglfeature.c b/gst-libs/gst/gl/gstglfeature.c index e6754cdb10..eed0dbc9ce 100644 --- a/gst-libs/gst/gl/gstglfeature.c +++ b/gst-libs/gst/gl/gstglfeature.c @@ -57,7 +57,7 @@ _init_debug (void) * @name: the extension to search for * @ext: the list of possible extensions * - * Returns: whether @name is in the space seperated list of @ext + * Returns: whether @name is in the space separated list of @ext */ gboolean gst_gl_check_extension (const char *name, const gchar * ext) diff --git a/gst-libs/gst/gl/gstglfilter.c b/gst-libs/gst/gl/gstglfilter.c index bb38fb6510..1175509c9a 100644 --- a/gst-libs/gst/gl/gstglfilter.c +++ b/gst-libs/gst/gl/gstglfilter.c @@ -458,7 +458,7 @@ gst_gl_filter_fixate_caps (GstBaseTransform * bt, 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/gst-libs/gst/gl/gstglformat.c b/gst-libs/gst/gl/gstglformat.c index 4e93d45aff..62ae92b57d 100644 --- a/gst-libs/gst/gl/gstglformat.c +++ b/gst-libs/gst/gl/gstglformat.c @@ -491,7 +491,7 @@ gst_gl_texture_target_to_string (GstGLTextureTarget target) /** * gst_gl_texture_target_from_string: - * @str: a string equivalant to one of the GST_GL_TEXTURE_TARGET_*_STR values + * @str: a string equivalent to one of the GST_GL_TEXTURE_TARGET_*_STR values * * Returns: the #GstGLTextureTarget represented by @str or * %GST_GL_TEXTURE_TARGET_NONE diff --git a/gst-libs/gst/gl/gstglframebuffer.c b/gst-libs/gst/gl/gstglframebuffer.c index 3aeaf2b6a7..1a628b6256 100644 --- a/gst-libs/gst/gl/gstglframebuffer.c +++ b/gst-libs/gst/gl/gstglframebuffer.c @@ -485,7 +485,7 @@ gst_gl_framebuffer_attach (GstGLFramebuffer * fb, guint attachment_point, * @width: (out) (allow-none): output width * @height: (out) (allow-none): output height * - * Retreive the effective dimensions from the current attachments attached to + * Retrieve the effective dimensions from the current attachments attached to * @fb. * * Since: 1.10 diff --git a/gst-libs/gst/gl/gstglmemory.c b/gst-libs/gst/gl/gstglmemory.c index 78f44a7daf..d38d578431 100644 --- a/gst-libs/gst/gl/gstglmemory.c +++ b/gst-libs/gst/gl/gstglmemory.c @@ -60,7 +60,7 @@ static GstAllocator *_gl_memory_allocator; GST_DEBUG_CATEGORY_STATIC (GST_CAT_GL_MEMORY); #define GST_CAT_DEFAULT GST_CAT_GL_MEMORY -/* compatability definitions... */ +/* compatibility definitions... */ #ifndef GL_UNPACK_ROW_LENGTH #define GL_UNPACK_ROW_LENGTH 0x0CF2 #endif @@ -985,7 +985,7 @@ gst_gl_memory_allocator_init (GstGLMemoryAllocator * allocator) * Copies @gl_mem into the texture specfified by @tex_id. The format of @tex_id * is specified by @tex_format, @width and @height. * - * Returns: Whether the copy suceeded + * Returns: Whether the copy succeeded * * Since: 1.8 */ diff --git a/gst-libs/gst/gl/gstglmemorypbo.c b/gst-libs/gst/gl/gstglmemorypbo.c index 4a183f6fdd..0e46683416 100644 --- a/gst-libs/gst/gl/gstglmemorypbo.c +++ b/gst-libs/gst/gl/gstglmemorypbo.c @@ -73,7 +73,7 @@ GST_DEBUG_CATEGORY_STATIC (GST_CAT_GL_MEMORY); static GstAllocator *_gl_allocator; -/* compatability definitions... */ +/* compatibility definitions... */ #ifndef GL_PIXEL_PACK_BUFFER #define GL_PIXEL_PACK_BUFFER 0x88EB #endif @@ -715,7 +715,7 @@ gst_gl_memory_pbo_allocator_init (GstGLMemoryPBOAllocator * allocator) * using glCopyTexImage. See the OpenGL specification for details on the * mappings between texture formats. * - * Returns: Whether the copy suceeded + * Returns: Whether the copy succeeded * * Since: 1.8 */ diff --git a/gst-libs/gst/gl/gstglshader.c b/gst-libs/gst/gl/gstglshader.c index 743103059f..761c1ca2b2 100644 --- a/gst-libs/gst/gl/gstglshader.c +++ b/gst-libs/gst/gl/gstglshader.c @@ -438,7 +438,7 @@ gst_gl_shader_detach_unlocked (GstGLShader * shader, GstGLSLStage * stage) g_return_if_fail (GST_IS_GLSL_STAGE (stage)); if (!_gst_glsl_funcs_fill (&shader->priv->vtable, shader->context)) { - GST_WARNING_OBJECT (shader, "Failed to retreive required GLSL functions"); + GST_WARNING_OBJECT (shader, "Failed to retrieve required GLSL functions"); return; } @@ -519,7 +519,7 @@ gst_gl_shader_attach_unlocked (GstGLShader * shader, GstGLSLStage * stage) g_return_val_if_fail (GST_IS_GLSL_STAGE (stage), FALSE); if (!_gst_glsl_funcs_fill (&shader->priv->vtable, shader->context)) { - GST_WARNING_OBJECT (shader, "Failed to retreive required GLSL functions"); + GST_WARNING_OBJECT (shader, "Failed to retrieve required GLSL functions"); gst_object_ref_sink (stage); gst_object_unref (stage); return FALSE; @@ -661,7 +661,7 @@ gst_gl_shader_link (GstGLShader * shader, GError ** error) if (!_gst_glsl_funcs_fill (&shader->priv->vtable, shader->context)) { g_set_error (error, GST_GLSL_ERROR, GST_GLSL_ERROR_PROGRAM, - "Failed to retreive required GLSL functions"); + "Failed to retrieve required GLSL functions"); GST_OBJECT_UNLOCK (shader); return FALSE; } @@ -1279,7 +1279,7 @@ gst_gl_shader_get_attribute_location (GstGLShader * shader, const gchar * name) shader->context->gl_vtable->GetAttribLocation (shader->priv-> program_handle, name); - GST_TRACE_OBJECT (shader, "retreived program %i attribute \'%s\' location %i", + GST_TRACE_OBJECT (shader, "retrieved program %i attribute \'%s\' location %i", (int) shader->priv->program_handle, name, ret); return ret; diff --git a/gst-libs/gst/gl/gstglsl.c b/gst-libs/gst/gl/gstglsl.c index f76dd09b73..b5b1aa55c1 100644 --- a/gst-libs/gst/gl/gstglsl.c +++ b/gst-libs/gst/gl/gstglsl.c @@ -410,7 +410,7 @@ _gst_glsl_shader_string_find_version (const gchar * str) _init_debug (); - /* search for #version while allowing for preceeding comments/whitespace as + /* search for #version while allowing for preceding comments/whitespace as * permitted by the GLSL specification */ while (str && str[i] != '\0' && i < 1024) { if (str[i] == '\n' || str[i] == '\r') { @@ -576,7 +576,7 @@ gst_gl_context_supports_glsl_profile_version (GstGLContext * context, if ((profile & GST_GLSL_PROFILE_COMPATIBILITY) == 0) return FALSE; } else if ((gst_gl_context_get_gl_api (context) & GST_GL_API_OPENGL3) != 0) { - /* GL_ARB_es2_compatibility is requried for GL3 contexts */ + /* GL_ARB_es2_compatibility is required for GL3 contexts */ if ((profile & (GST_GLSL_PROFILE_CORE | GST_GLSL_PROFILE_ES)) == 0) return FALSE; } else { @@ -608,7 +608,7 @@ gst_gl_context_supports_glsl_profile_version (GstGLContext * context, return FALSE; if (gst_gl_context_check_gl_version (context, GST_GL_API_OPENGL3, 1, 0)) - /* GL_ARB_es2_compatibility is requried for GL3 contexts */ + /* GL_ARB_es2_compatibility is required for GL3 contexts */ if (version < GST_GLSL_VERSION_150 && version != GST_GLSL_VERSION_100) return FALSE; diff --git a/gst-libs/gst/gl/gstglsl.h b/gst-libs/gst/gl/gstglsl.h index 4d47bce417..2cd0526afc 100644 --- a/gst-libs/gst/gl/gstglsl.h +++ b/gst-libs/gst/gl/gstglsl.h @@ -38,9 +38,9 @@ GQuark gst_glsl_error_quark (void); /** * GstGLSLError: - * @GST_GLSL_ERROR_COMPILE: Compilation error occured - * @GST_GLSL_ERROR_LINK: Link error occured - * @GST_GLSL_ERROR_PROGRAM: General program error occured + * @GST_GLSL_ERROR_COMPILE: Compilation error occurred + * @GST_GLSL_ERROR_LINK: Link error occurred + * @GST_GLSL_ERROR_PROGRAM: General program error occurred * * Compilation stage that caused an error * diff --git a/gst-libs/gst/gl/gstglslstage.c b/gst-libs/gst/gl/gstglslstage.c index 4d3c7ae7d7..71e0b3f1c7 100644 --- a/gst-libs/gst/gl/gstglslstage.c +++ b/gst-libs/gst/gl/gstglslstage.c @@ -158,9 +158,9 @@ _shader_type_to_string (GLenum type) case GL_FRAGMENT_SHADER: return "fragment"; case GL_TESS_CONTROL_SHADER: - return "tesselation control"; + return "tessellation control"; case GL_TESS_EVALUATION_SHADER: - return "tesselation evaluation"; + return "tessellation evaluation"; case GL_GEOMETRY_SHADER: return "geometry"; case GL_COMPUTE_SHADER: @@ -526,7 +526,7 @@ _compile_shader (GstGLContext * context, struct compile *data) * @stage: a #GstGLSLStage * @error: a #GError to use on failure * - * Returns: whether the compilation suceeded + * Returns: whether the compilation succeeded * * Since: 1.8 */ diff --git a/gst-libs/gst/gl/gstglupload.c b/gst-libs/gst/gl/gstglupload.c index 8849e9de10..bc6db7e0a9 100644 --- a/gst-libs/gst/gl/gstglupload.c +++ b/gst-libs/gst/gl/gstglupload.c @@ -495,7 +495,7 @@ struct DmabufUpload gboolean direct; GstVideoInfo out_info; - /* only used for pointer comparision */ + /* only used for pointer comparison */ gpointer out_caps; }; @@ -792,7 +792,7 @@ static const UploadMethod _dma_buf_upload = { &_dma_buf_upload_free }; -/* a variant of the DMABuf uploader that relies on HW color convertion instead +/* a variant of the DMABuf uploader that relies on HW color conversion instead * of shaders */ static gpointer diff --git a/gst-libs/gst/gl/gstglupload.h b/gst-libs/gst/gl/gstglupload.h index a8d533cb7f..976ada55f4 100644 --- a/gst-libs/gst/gl/gstglupload.h +++ b/gst-libs/gst/gl/gstglupload.h @@ -39,7 +39,7 @@ GType gst_gl_upload_get_type (void); /** * GstGLUploadReturn: * @GST_GL_UPLOAD_DONE: No further processing required - * @GST_GL_UPLOAD_ERROR: An unspecified error occured + * @GST_GL_UPLOAD_ERROR: An unspecified error occurred * @GST_GL_UPLOAD_UNSUPPORTED: The configuration is unsupported. * @GST_GL_UPLOAD_RECONFIGURE: This element requires a reconfiguration. */ diff --git a/gst-libs/gst/gl/gstglutils.c b/gst-libs/gst/gl/gstglutils.c index 574fadf199..a4c35bd18c 100644 --- a/gst-libs/gst/gl/gstglutils.c +++ b/gst-libs/gst/gl/gstglutils.c @@ -291,7 +291,7 @@ gst_gl_ensure_element_data (gpointer element, GstGLDisplay ** display_ptr, if (gst_gl_display_found (element, *display_ptr)) goto get_gl_context; - /* If no neighboor, or application not interested, use system default */ + /* If no neighbor, or application not interested, use system default */ display = gst_gl_display_new (); *display_ptr = display; @@ -837,7 +837,7 @@ gst_gl_multiply_matrix4 (const gfloat * a, const gfloat * b, gfloat * result) * Retrieves the stored 4x4 affine transformation matrix stored in @meta in * NDC coordinates. if @meta is NULL, an identity matrix is returned. * - * NDC is a left-handed coordinate sytem + * NDC is a left-handed coordinate system * - x - [-1, 1] - +ve X moves right * - y - [-1, 1] - +ve Y moves up * - z - [-1, 1] - +ve Z moves into diff --git a/gst-libs/gst/gl/gstglviewconvert.c b/gst-libs/gst/gl/gstglviewconvert.c index 89f2e50e6b..d3dd935a0f 100644 --- a/gst-libs/gst/gl/gstglviewconvert.c +++ b/gst-libs/gst/gl/gstglviewconvert.c @@ -1889,7 +1889,7 @@ _do_view_convert_draw (GstGLContext * context, GstGLViewConvert * viewconvert) gst_gl_shader_use (viewconvert->shader); - /* FIXME: the auxillary buffer could have a different transform matrix */ + /* FIXME: the auxiliary buffer could have a different transform matrix */ { GstVideoAffineTransformationMeta *af_meta; gfloat matrix[16]; @@ -2079,7 +2079,7 @@ _do_view_convert (GstGLContext * context, GstGLViewConvert * viewconvert) || out_tex->tex_format == GST_GL_LUMINANCE_ALPHA || out_width != width || out_height != height) { /* Luminance formats are not color renderable */ - /* renderering to a framebuffer only renders the intersection of all + /* rendering to a framebuffer only renders the intersection of all * the attachments i.e. the smallest attachment size */ if (!priv->out_tex[j]) { GstGLVideoAllocationParams *params; @@ -2227,7 +2227,7 @@ gst_gl_view_convert_submit_input_buffer (GstGLViewConvert * viewconvert, target = &viewconvert->priv->primary_in; /* For frame-by-frame mode, we need to collect the 2nd eye into - * our auxilliary buffer */ + * our auxiliary buffer */ if (mode == GST_VIDEO_MULTIVIEW_MODE_FRAME_BY_FRAME) { if (!GST_BUFFER_FLAG_IS_SET (input, GST_VIDEO_BUFFER_FLAG_FIRST_IN_BUNDLE)) target = &viewconvert->priv->auxilliary_in; diff --git a/gst-libs/gst/gl/gstglwindow.c b/gst-libs/gst/gl/gstglwindow.c index cadc5bc49a..d01d68ee42 100644 --- a/gst-libs/gst/gl/gstglwindow.c +++ b/gst-libs/gst/gl/gstglwindow.c @@ -622,7 +622,7 @@ gst_gl_window_default_send_message (GstGLWindow * window, * @callback: (scope async): function to invoke * @data: (closure): data to invoke @callback with * - * Invoke @callback with data on the window thread. @callback is guarenteed to + * Invoke @callback with data on the window thread. @callback is guaranteed to * have executed when this function returns. * * Since: 1.4 @@ -739,7 +739,7 @@ gst_gl_window_send_message_async (GstGLWindow * window, GstGLWindowCB callback, * @data: (closure): data to invoke @callback with * @destroy_notify: called when @data is not needed any more * - * Sets the draw callback called everytime gst_gl_window_draw() is called + * Sets the draw callback called every time gst_gl_window_draw() is called * * Since: 1.4 */ @@ -768,7 +768,7 @@ gst_gl_window_set_draw_callback (GstGLWindow * window, GstGLWindowCB callback, * @data: (closure): data to invoke @callback with * @destroy_notify: called when @data is not needed any more * - * Sets the resize callback called everytime a resize of the window occurs. + * Sets the resize callback called every time a resize of the window occurs. * * Since: 1.4 */ diff --git a/gst-libs/gst/gl/gstglwindow.h b/gst-libs/gst/gl/gstglwindow.h index 267b5ccc94..562f2a5f64 100644 --- a/gst-libs/gst/gl/gstglwindow.h +++ b/gst-libs/gst/gl/gstglwindow.h @@ -74,7 +74,7 @@ typedef void (*GstGLWindowResizeCB) (gpointer data, guint width, guint height); * GST_GL_WINDOW_CB: * @f: the function to cast * - * Cast to the currect function type for generic window callbacks + * Cast to the current function type for generic window callbacks */ #define GST_GL_WINDOW_CB(f) ((GstGLWindowCB) (f)) @@ -82,7 +82,7 @@ typedef void (*GstGLWindowResizeCB) (gpointer data, guint width, guint height); * GST_GL_WINDOW_RESIZE_CB: * @f: the function to cast * - * Cast to the currect function type for window resize callbacks + * Cast to the current function type for window resize callbacks */ #define GST_GL_WINDOW_RESIZE_CB(f) ((GstGLWindowResizeCB) (f)) diff --git a/gst-libs/gst/gl/viv-fb/gstglwindow_viv_fb_egl.c b/gst-libs/gst/gl/viv-fb/gstglwindow_viv_fb_egl.c index 62a87f2813..5a155dc7cb 100644 --- a/gst-libs/gst/gl/viv-fb/gstglwindow_viv_fb_egl.c +++ b/gst-libs/gst/gl/viv-fb/gstglwindow_viv_fb_egl.c @@ -140,7 +140,7 @@ gst_gl_window_viv_fb_egl_open (GstGLWindow * window, GError ** error) window_egl->window_height); GST_DEBUG - ("Opened Vivante FB display succesfully, resolution is (%dx%d), display %p, window %p.", + ("Opened Vivante FB display successfully, resolution is (%dx%d), display %p, window %p.", window_egl->window_width, window_egl->window_height, (gpointer) display, (gpointer) window_egl->win_id); diff --git a/gst-libs/gst/gl/win32/gstglwindow_win32.c b/gst-libs/gst/gl/win32/gstglwindow_win32.c index 96280f92b9..ee1dd6d824 100644 --- a/gst-libs/gst/gl/win32/gstglwindow_win32.c +++ b/gst-libs/gst/gl/win32/gstglwindow_win32.c @@ -476,7 +476,7 @@ window_proc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) } default: { - /* transmit messages to the parrent (ex: mouse/keyboard input) */ + /* transmit messages to the parent (ex: mouse/keyboard input) */ HWND parent_id = window_win32->parent_win_id; if (parent_id) PostMessage (parent_id, uMsg, wParam, lParam); diff --git a/gst-libs/gst/gl/x11/gstgldisplay_x11.c b/gst-libs/gst/gl/x11/gstgldisplay_x11.c index a02e8611c4..85c86d9bec 100644 --- a/gst-libs/gst/gl/x11/gstgldisplay_x11.c +++ b/gst-libs/gst/gl/x11/gstgldisplay_x11.c @@ -116,7 +116,7 @@ gst_gl_display_x11_new (const gchar * name) ret->xcb_connection = XGetXCBConnection (ret->display); if (!ret->xcb_connection) { - GST_ERROR ("Failed to open retieve XCB connection from X11 Display"); + GST_ERROR ("Failed to retrieve XCB connection from X11 Display"); gst_object_unref (ret); return NULL; } @@ -155,7 +155,7 @@ gst_gl_display_x11_new_with_display (Display * display) ret->xcb_connection = XGetXCBConnection (ret->display); if (!ret->xcb_connection) { - GST_ERROR ("Failed to open retieve XCB connection from X11 Display"); + GST_ERROR ("Failed to retrieve XCB connection from X11 Display"); gst_object_unref (ret); return NULL; } diff --git a/gst-libs/gst/pbutils/codec-utils.c b/gst-libs/gst/pbutils/codec-utils.c index 0bb0625cd0..029c5a18f9 100644 --- a/gst-libs/gst/pbutils/codec-utils.c +++ b/gst-libs/gst/pbutils/codec-utils.c @@ -840,7 +840,7 @@ sort_fre_profile_matches (FormatRangeExtensionProfileMatch * a, } static const GstH265FormatRangeExtensionProfile h265_ext_profiles[] = { - /* FIXME 2.0: Consider ':' seperated subsampling notation for consistency + /* FIXME 2.0: Consider ':' separated subsampling notation for consistency * https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/merge_requests/23 */ /* *INDENT-OFF* */ @@ -1066,9 +1066,9 @@ gst_codec_utils_h265_get_profile (const guint8 * profile_tier_level, guint len) guint extra_constraints = 0; FormatRangeExtensionProfileMatch *m; - /* Filter out all the profiles having constraints not satisified by + /* Filter out all the profiles having constraints not satisfied by * @ext_profile. - * Then pick the one having the least extra contraints. This allow us + * Then pick the one having the least extra constraints. This allow us * to match the closet profile if bitstream contains not standard * constraints. */ if (p.max_14bit_constraint_flag != ext_profile.max_14bit_constraint_flag) { diff --git a/gst-libs/gst/pbutils/encoding-profile.c b/gst-libs/gst/pbutils/encoding-profile.c index c13c9b249a..bde7e82eae 100644 --- a/gst-libs/gst/pbutils/encoding-profile.c +++ b/gst-libs/gst/pbutils/encoding-profile.c @@ -524,7 +524,7 @@ gst_encoding_profile_get_presence (GstEncodingProfile * profile) * gst_encoding_profile_get_enabled: * @profile: a #GstEncodingProfile * - * Returns: Whther @profile is enabled or not + * Returns: Whether @profile is enabled or not * * Since: 1.6 */ diff --git a/gst-libs/gst/pbutils/encoding-profile.h b/gst-libs/gst/pbutils/encoding-profile.h index a7b1fa7a49..786426095d 100644 --- a/gst-libs/gst/pbutils/encoding-profile.h +++ b/gst-libs/gst/pbutils/encoding-profile.h @@ -225,7 +225,7 @@ GstEncodingContainerProfile * gst_encoding_container_profile_new (const gchar * const gchar *preset); -/* Invidual stream encodingprofile API */ +/* Individual stream encodingprofile API */ GST_PBUTILS_API GstEncodingVideoProfile * gst_encoding_video_profile_new (GstCaps *format, diff --git a/gst-libs/gst/pbutils/encoding-target.c b/gst-libs/gst/pbutils/encoding-target.c index 10ff2a73e1..3d6ea21b2b 100644 --- a/gst-libs/gst/pbutils/encoding-target.c +++ b/gst-libs/gst/pbutils/encoding-target.c @@ -26,7 +26,7 @@ * different names, for example one for transcoding in full HD, another one for * low res, etc.. which are defined in the same encoding target. * - * Basically if you wan to encode a stream to send it to, say, youtube you should + * Basically if you want to encode a stream to send it to, say, youtube you should * have a Youtube encoding target defined in the "online-service" category. * * ## Encoding target serialization format @@ -758,7 +758,7 @@ empty_name: /** * gst_encoding_target_load_from_file: * @filepath: (type filename): The file location to load the #GstEncodingTarget from - * @error: If an error occured, this field will be filled in. + * @error: If an error occurred, this field will be filled in. * * Opens the provided file and returns the contained #GstEncodingTarget. * @@ -862,7 +862,7 @@ gst_encoding_target_subload (gchar * path, const gchar * category, * valid for target names). * @category: (allow-none): the name of the target category, like * #GST_ENCODING_CATEGORY_DEVICE. Can be %NULL - * @error: If an error occured, this field will be filled in. + * @error: If an error occurred, this field will be filled in. * * Searches for the #GstEncodingTarget with the given name, loads it * and returns it. @@ -975,7 +975,7 @@ invalid_category: * gst_encoding_target_save_to_file: * @target: a #GstEncodingTarget * @filepath: (type filename): the location to store the @target at. - * @error: If an error occured, this field will be filled in. + * @error: If an error occurred, this field will be filled in. * * Saves the @target to the provided file location. * @@ -1042,7 +1042,7 @@ write_failed: /** * gst_encoding_target_save: * @target: a #GstEncodingTarget - * @error: If an error occured, this field will be filled in. + * @error: If an error occurred, this field will be filled in. * * Saves the @target to a default user-local directory. * diff --git a/gst-libs/gst/pbutils/gstaudiovisualizer.c b/gst-libs/gst/pbutils/gstaudiovisualizer.c index 8444dd71e5..91a02fc7dc 100644 --- a/gst-libs/gst/pbutils/gstaudiovisualizer.c +++ b/gst-libs/gst/pbutils/gstaudiovisualizer.c @@ -1270,7 +1270,7 @@ gst_audio_visualizer_src_event (GstPad * pad, GstObject * parent, break; } case GST_EVENT_RECONFIGURE: - /* dont't forward */ + /* don't forward */ gst_event_unref (event); res = TRUE; break; @@ -1308,7 +1308,7 @@ gst_audio_visualizer_sink_event (GstPad * pad, GstObject * parent, case GST_EVENT_SEGMENT: { /* the newsegment values are used to clip the input samples - * and to convert the incomming timestamps to running time so + * and to convert the incoming timestamps to running time so * we can do QoS */ gst_event_copy_segment (event, &scope->priv->segment); diff --git a/gst-libs/gst/pbutils/gstdiscoverer-types.c b/gst-libs/gst/pbutils/gstdiscoverer-types.c index e921eefb45..d679803e79 100644 --- a/gst-libs/gst/pbutils/gstdiscoverer-types.c +++ b/gst-libs/gst/pbutils/gstdiscoverer-types.c @@ -1120,7 +1120,7 @@ DISCOVERER_INFO_ACCESSOR_CODE (toc, const GstToc *, NULL); * Get the installer details for missing elements * * Returns: (transfer none) (array zero-terminated=1): An array of strings - * containing informations about how to install the various missing elements + * containing information about how to install the various missing elements * for @info to be usable. If you wish to use the strings after the life-time * of @info, you will need to copy them. * diff --git a/gst-libs/gst/pbutils/gstdiscoverer.c b/gst-libs/gst/pbutils/gstdiscoverer.c index 919d773bad..25e47d57b1 100644 --- a/gst-libs/gst/pbutils/gstdiscoverer.c +++ b/gst-libs/gst/pbutils/gstdiscoverer.c @@ -1219,7 +1219,7 @@ child_is_raw_stream (const GstCaps * parent, const GstCaps * child) } /* If a parent is non-NULL, collected stream information will be appended to it - * (and where the information exists, it will be overriden) + * (and where the information exists, it will be overridden) */ static GstDiscovererStreamInfo * parse_stream_topology (GstDiscoverer * dc, const GstStructure * topology, @@ -1247,7 +1247,7 @@ parse_stream_topology (GstDiscoverer * dc, const GstStructure * topology, if (nval == NULL) { /* FIXME : aggregate with information from main streams */ - GST_DEBUG ("Coudn't find 'next' ! might be the last entry"); + GST_DEBUG ("Couldn't find 'next' ! might be the last entry"); } else { GstPad *srcpad; diff --git a/gst-libs/gst/pbutils/install-plugins.c b/gst-libs/gst/pbutils/install-plugins.c index f543011a94..a821bb1fb3 100644 --- a/gst-libs/gst/pbutils/install-plugins.c +++ b/gst-libs/gst/pbutils/install-plugins.c @@ -124,7 +124,7 @@ * line arguments passed by GStreamer to the helper application into * arguments that are understood by the real installer. * - * The helper application path defined at compile time can be overriden at + * The helper application path defined at compile time can be overridden at * runtime by setting the GST_INSTALL_PLUGINS_HELPER environment * variable. This can be useful for testing/debugging purposes. * @@ -216,7 +216,7 @@ * - 1 if no appropriate installation candidate for any of the requested * plugins could be found. Only return this if nothing has been * installed (#GST_INSTALL_PLUGINS_NOT_FOUND) - * - 2 if an error occured during the installation. The application will + * - 2 if an error occurred during the installation. The application will * assume that the user will already have seen an error message by the * installer in this case and will usually not show another one * (#GST_INSTALL_PLUGINS_ERROR) diff --git a/gst-libs/gst/pbutils/install-plugins.h b/gst-libs/gst/pbutils/install-plugins.h index 0658b30e05..4a8878d67e 100644 --- a/gst-libs/gst/pbutils/install-plugins.h +++ b/gst-libs/gst/pbutils/install-plugins.h @@ -38,7 +38,7 @@ G_BEGIN_DECLS * any of the requested plugins could be found. Only return this if nothing * has been installed. Return #GST_INSTALL_PLUGINS_PARTIAL_SUCCESS if * some (but not all) of the requested plugins could be installed. - * @GST_INSTALL_PLUGINS_ERROR: an error occured during the installation. If + * @GST_INSTALL_PLUGINS_ERROR: an error occurred during the installation. If * this happens, the user has already seen an error message and another * one should not be displayed * @GST_INSTALL_PLUGINS_CRASHED: the installer had an unclean exit code @@ -51,7 +51,7 @@ G_BEGIN_DECLS * indicate that everything went fine so far and the provided callback * will be called with the result of the installation later * @GST_INSTALL_PLUGINS_INTERNAL_FAILURE: some internal failure has - * occured when trying to start the installer + * occurred when trying to start the installer * @GST_INSTALL_PLUGINS_HELPER_MISSING: the helper script to call the * actual installer is not installed * @GST_INSTALL_PLUGINS_INSTALL_IN_PROGRESS: a previously-started plugin diff --git a/gst-libs/gst/riff/riff-ids.h b/gst-libs/gst/riff/riff-ids.h index 5baca98655..dce937e6ad 100644 --- a/gst-libs/gst/riff/riff-ids.h +++ b/gst-libs/gst/riff/riff-ids.h @@ -504,7 +504,7 @@ typedef struct _gst_riff_acid { * * 0x01 On: One Shot Off: Loop * 0x02 On: Root note is Set Off: No root - * 0x04 On: Stretch is On, Off: Strech is OFF + * 0x04 On: Stretch is On, Off: Stretch is OFF * 0x08 On: Disk Based Off: Ram based * 0x10 On: ?????????? Off: ????????? (Acidizer puts that ON) */ diff --git a/gst-libs/gst/riff/riff-media.c b/gst-libs/gst/riff/riff-media.c index 2d6aa55d8a..cea66cecbc 100644 --- a/gst-libs/gst/riff/riff-media.c +++ b/gst-libs/gst/riff/riff-media.c @@ -42,7 +42,7 @@ GST_DEBUG_CATEGORY_EXTERN (riff_debug); * data that is within the range of strf.size, but excluding any * additional data withint this chunk but outside strf.size. * @strf_data: a #GstBuffer containing the additional data in the strf - * chunk outside reach of strf.size. Ususally a palette. + * chunk outside reach of strf.size. Usually a palette. * @strd_data: a #GstBuffer containing the data in the strd stream header * chunk. Usually codec initialization data. * @codec_name: if given, will be filled with a human-readable codec name. diff --git a/gst-libs/gst/rtp/README b/gst-libs/gst/rtp/README index dcd1687409..ba2def89c6 100644 --- a/gst-libs/gst/rtp/README +++ b/gst-libs/gst/rtp/README @@ -26,7 +26,7 @@ The RTP libraries It is now possible to use all the gst_rtp_buffer_get_*() or gst_rtp_buffer_set_*() functions to read or write the different parts of the RTP header such as the payload type, the sequence number or the RTP - timestamp. The use can also retreive a pointer to the actual RTP payload data + timestamp. The use can also retrieve a pointer to the actual RTP payload data using the gst_rtp_buffer_get_payload() function. RTP Base Payloader Class (GstBaseRTPPayload) diff --git a/gst-libs/gst/rtp/gstrtcpbuffer.c b/gst-libs/gst/rtp/gstrtcpbuffer.c index 885c8f5c7d..09da2ff535 100644 --- a/gst-libs/gst/rtp/gstrtcpbuffer.c +++ b/gst-libs/gst/rtp/gstrtcpbuffer.c @@ -121,7 +121,7 @@ gst_rtcp_buffer_validate_data_internal (guint8 * data, guint len, if (data_len < header_len) goto wrong_length; - /* move to next compount packet */ + /* move to next compound packet */ data += header_len; data_len -= header_len; @@ -561,7 +561,7 @@ gst_rtcp_buffer_add_packet (GstRTCPBuffer * rtcp, GstRTCPType type, maxsize = rtcp->map.maxsize; /* packet->offset is now pointing to the next free offset in the buffer to - * start a compount packet. Next we figure out if we have enough free space in + * start a compound packet. Next we figure out if we have enough free space in * the buffer to continue. */ len = rtcp_packet_min_length (type); if (len == -1) diff --git a/gst-libs/gst/rtp/gstrtpbasedepayload.c b/gst-libs/gst/rtp/gstrtpbasedepayload.c index 5f0587718a..83d819a6f0 100644 --- a/gst-libs/gst/rtp/gstrtpbasedepayload.c +++ b/gst-libs/gst/rtp/gstrtpbasedepayload.c @@ -843,7 +843,7 @@ set_headers (GstBuffer ** buffer, guint idx, GstRTPBaseDepayload * depayload) dts = GST_BUFFER_DTS (*buffer); duration = GST_BUFFER_DURATION (*buffer); - /* apply last incomming timestamp and duration to outgoing buffer if + /* apply last incoming timestamp and duration to outgoing buffer if * not otherwise set. */ if (!GST_CLOCK_TIME_IS_VALID (pts)) GST_BUFFER_PTS (*buffer) = priv->pts; @@ -899,7 +899,7 @@ gst_rtp_base_depayload_prepare_push (GstRTPBaseDepayload * filter, * Push @out_buf to the peer of @filter. This function takes ownership of * @out_buf. * - * This function will by default apply the last incomming timestamp on + * This function will by default apply the last incoming timestamp on * the outgoing buffer when it didn't have a timestamp already. * * Returns: a #GstFlowReturn. diff --git a/gst-libs/gst/rtp/gstrtpbuffer.c b/gst-libs/gst/rtp/gstrtpbuffer.c index fb4f573ba7..86d00a711e 100644 --- a/gst-libs/gst/rtp/gstrtpbuffer.c +++ b/gst-libs/gst/rtp/gstrtpbuffer.c @@ -1516,7 +1516,7 @@ get_onebyte_header_end_offset (guint8 * pdata, guint wordlen) * RTP header. If there is already a RFC 5285 header extension with a one byte * header, the new extension will be appended. * It will not work if there is already a header extension that does not follow - * the mecanism described in RFC 5285 or if there is a header extension with + * the mechanism described in RFC 5285 or if there is a header extension with * a two bytes header as described in RFC 5285. In that case, use * gst_rtp_buffer_add_extension_twobytes_header() * @@ -1615,7 +1615,7 @@ get_twobytes_header_end_offset (const guint8 * pdata, guint wordlen) * RTP header. If there is already a RFC 5285 header extension with a two bytes * header, the new extension will be appended. * It will not work if there is already a header extension that does not follow - * the mecanism described in RFC 5285 or if there is a header extension with + * the mechanism described in RFC 5285 or if there is a header extension with * a one byte header as described in RFC 5285. In that case, use * gst_rtp_buffer_add_extension_onebyte_header() * diff --git a/gst-libs/gst/rtp/gstrtppayloads.c b/gst-libs/gst/rtp/gstrtppayloads.c index 98576c44ee..76ac069c63 100644 --- a/gst-libs/gst/rtp/gstrtppayloads.c +++ b/gst-libs/gst/rtp/gstrtppayloads.c @@ -211,7 +211,7 @@ gst_rtp_payload_info_for_pt (guint8 payload_type) * mostly used to get the default clock-rate and bandwidth for dynamic payload * types specified with @media and @encoding name. * - * The search for @encoding_name will be performed in a case insensitve way. + * The search for @encoding_name will be performed in a case insensitive way. * * Returns: a #GstRTPPayloadInfo or NULL when no info could be found. */ diff --git a/gst-libs/gst/rtsp/gstrtspconnection.c b/gst-libs/gst/rtsp/gstrtspconnection.c index cf8dfc343e..ca091c58b1 100644 --- a/gst-libs/gst/rtsp/gstrtspconnection.c +++ b/gst-libs/gst/rtsp/gstrtspconnection.c @@ -2338,7 +2338,7 @@ invalid_format: * GST_RTSP_OK when a complete message was read. * GST_RTSP_EEOF: when the read socket is closed * GST_RTSP_EINTR: when more data is needed. - * GST_RTSP_..: some other error occured. + * GST_RTSP_..: some other error occurred. */ static GstRTSPResult build_next (GstRTSPBuilder * builder, GstRTSPMessage * message, @@ -3122,7 +3122,7 @@ str_case_equal (gconstpointer v1, gconstpointer v2) * @param: authentication directive * @value: value * - * Setup @conn with authentication directives. This is not necesary for + * Setup @conn with authentication directives. This is not necessary for * methods #GST_RTSP_AUTH_NONE and #GST_RTSP_AUTH_BASIC. For * #GST_RTSP_AUTH_DIGEST, directives should be taken from the digest challenge * in the WWW-Authenticate response header and can include realm, domain, diff --git a/gst-libs/gst/rtsp/gstrtspconnection.h b/gst-libs/gst/rtsp/gstrtspconnection.h index f5c52e53d6..604e673737 100644 --- a/gst-libs/gst/rtsp/gstrtspconnection.h +++ b/gst-libs/gst/rtsp/gstrtspconnection.h @@ -250,13 +250,13 @@ typedef struct _GstRTSPWatch GstRTSPWatch; * @message_received: callback when a message was received * @message_sent: callback when a message was sent * @closed: callback when the connection is closed - * @error: callback when an error occured + * @error: callback when an error occurred * @tunnel_start: a client started a tunneled connection. The tunnelid of the * connection must be saved. * @tunnel_complete: a client finished a tunneled connection. In this callback * you usually pair the tunnelid of this connection with the saved one using * gst_rtsp_connection_do_tunnel(). - * @error_full: callback when an error occured with more information than + * @error_full: callback when an error occurred with more information than * the @error callback. * @tunnel_lost: callback when the post connection of a tunnel is closed. * @tunnel_http_response: callback when an HTTP response to the GET request diff --git a/gst-libs/gst/rtsp/gstrtspdefs.h b/gst-libs/gst/rtsp/gstrtspdefs.h index c35e2b329f..8a028c381b 100644 --- a/gst-libs/gst/rtsp/gstrtspdefs.h +++ b/gst-libs/gst/rtsp/gstrtspdefs.h @@ -65,20 +65,20 @@ G_STMT_START { \ /** * GstRTSPResult: * @GST_RTSP_OK: no error - * @GST_RTSP_ERROR: some unspecified error occured + * @GST_RTSP_ERROR: some unspecified error occurred * @GST_RTSP_EINVAL: invalid arguments were provided to a function * @GST_RTSP_EINTR: an operation was canceled * @GST_RTSP_ENOMEM: no memory was available for the operation - * @GST_RTSP_ERESOLV: a host resolve error occured + * @GST_RTSP_ERESOLV: a host resolve error occurred * @GST_RTSP_ENOTIMPL: function not implemented - * @GST_RTSP_ESYS: a system error occured, errno contains more details - * @GST_RTSP_EPARSE: a parsing error occured + * @GST_RTSP_ESYS: a system error occurred, errno contains more details + * @GST_RTSP_EPARSE: a parsing error occurred * @GST_RTSP_EWSASTART: windows networking could not start * @GST_RTSP_EWSAVERSION: windows networking stack has wrong version * @GST_RTSP_EEOF: end-of-file was reached - * @GST_RTSP_ENET: a network problem occured, h_errno contains more details + * @GST_RTSP_ENET: a network problem occurred, h_errno contains more details * @GST_RTSP_ENOTIP: the host is not an IP host - * @GST_RTSP_ETIMEOUT: a timeout occured + * @GST_RTSP_ETIMEOUT: a timeout occurred * @GST_RTSP_ETGET: the tunnel GET request has been performed * @GST_RTSP_ETPOST: the tunnel POST request has been performed * @GST_RTSP_ELAST: last error @@ -267,7 +267,7 @@ typedef enum { GST_RTSP_HDR_PROXY_REQUIRE, /* Proxy-Require R req. all */ GST_RTSP_HDR_PUBLIC, /* Public r opt. all */ GST_RTSP_HDR_RANGE, /* Range Rr opt. PLAY, PAUSE, RECORD */ - GST_RTSP_HDR_REFERER, /* Referer R opt. all */ + GST_RTSP_HDR_REFERER, /* Referrer R opt. all */ GST_RTSP_HDR_REQUIRE, /* Require R req. all */ GST_RTSP_HDR_RETRY_AFTER, /* Retry-After r opt. all */ GST_RTSP_HDR_RTP_INFO, /* RTP-Info r req. PLAY */ diff --git a/gst-libs/gst/rtsp/gstrtspextension.h b/gst-libs/gst/rtsp/gstrtspextension.h index 4e1337c39d..60b129b46a 100644 --- a/gst-libs/gst/rtsp/gstrtspextension.h +++ b/gst-libs/gst/rtsp/gstrtspextension.h @@ -111,7 +111,7 @@ GstRTSPResult gst_rtsp_extension_stream_select (GstRTSPExtension *ext, Gst GST_RTSP_API GstRTSPResult gst_rtsp_extension_receive_request (GstRTSPExtension *ext, GstRTSPMessage *req); -/* signal emision */ +/* signal emission */ GST_RTSP_API GstRTSPResult gst_rtsp_extension_send (GstRTSPExtension *ext, GstRTSPMessage *req, diff --git a/gst-libs/gst/rtsp/gstrtspmessage.c b/gst-libs/gst/rtsp/gstrtspmessage.c index 41c0787891..3b693fa164 100644 --- a/gst-libs/gst/rtsp/gstrtspmessage.c +++ b/gst-libs/gst/rtsp/gstrtspmessage.c @@ -1377,7 +1377,7 @@ parse_auth_credentials (GPtrArray * auth_credentials, const gchar * header, continue; } - /* Basic Authorization request has only an unformated blurb following, all + /* Basic Authorization request has only an unformatted blurb following, all * other variants have comma-separated name=value pairs */ if (end[0] != '\0' && field == GST_RTSP_HDR_AUTHORIZATION && auth_credential->scheme == GST_RTSP_AUTH_BASIC) { diff --git a/gst-libs/gst/sdp/gstmikey.c b/gst-libs/gst/sdp/gstmikey.c index 766e3461af..4f8a313890 100644 --- a/gst-libs/gst/sdp/gstmikey.c +++ b/gst-libs/gst/sdp/gstmikey.c @@ -1147,7 +1147,7 @@ gst_mikey_message_get_payload (const GstMIKEYMessage * msg, guint idx) * @type: a #GstMIKEYPayloadType * @nth: payload to find * - * Find the @nth occurence of the payload with @type in @msg. + * Find the @nth occurrence of the payload with @type in @msg. * * Returns: the @nth #GstMIKEYPayload of @type. * diff --git a/gst-libs/gst/sdp/gstmikey.h b/gst-libs/gst/sdp/gstmikey.h index dd857d78b6..900bbbf2f8 100644 --- a/gst-libs/gst/sdp/gstmikey.h +++ b/gst-libs/gst/sdp/gstmikey.h @@ -78,7 +78,7 @@ typedef enum * @GST_MIKEY_PT_ID: ID payload * @GST_MIKEY_PT_CERT: Certificate Payload * @GST_MIKEY_PT_CHASH: Cert hash payload - * @GST_MIKEY_PT_V: Verfication message payload + * @GST_MIKEY_PT_V: Verification message payload * @GST_MIKEY_PT_SP: Security Policy payload * @GST_MIKEY_PT_RAND: RAND payload * @GST_MIKEY_PT_ERR: Error payload @@ -361,7 +361,7 @@ gboolean gst_mikey_payload_t_set (GstMIKEYPayload *payload, * @len: specifies the length of @val * @val: specifies the value of the parameter * - * A Type/Length/Value field for security paramaters + * A Type/Length/Value field for security parameters */ typedef struct { guint8 type; diff --git a/gst-libs/gst/tag/gstexiftag.c b/gst-libs/gst/tag/gstexiftag.c index 4ee04d113e..ed41ccfb46 100644 --- a/gst-libs/gst/tag/gstexiftag.c +++ b/gst-libs/gst/tag/gstexiftag.c @@ -609,7 +609,7 @@ gst_tag_list_has_ifd_tags (const GstTagList * taglist, * The tag entry is the tag id, the tag type, * the count and the offset. * - * The offset is the on the amount of data writen so far, as one + * The offset is the on the amount of data written so far, as one * can't predict the total bytes that the tag entries will take. * This means those fields requires being updated later. */ diff --git a/gst-libs/gst/tag/gsttagdemux.h b/gst-libs/gst/tag/gsttagdemux.h index 3d5eef7ec3..495d6a7a14 100644 --- a/gst-libs/gst/tag/gsttagdemux.h +++ b/gst-libs/gst/tag/gsttagdemux.h @@ -87,7 +87,7 @@ struct _GstTagDemux * @merge_tags: merge start and end tags. Subclasses may want to override this * vfunc to allow prioritising of start or end tag according to user * preference. Note that both start_tags and end_tags may be NULL. By default - * start tags are prefered over end tags. + * start tags are preferred over end tags. * * The #GstTagDemuxClass structure. See documentation at beginning of section * for details about what subclasses need to override and do. diff --git a/gst-libs/gst/tag/gstxmptag.c b/gst-libs/gst/tag/gstxmptag.c index a52b849a4a..aa6a100042 100644 --- a/gst-libs/gst/tag/gstxmptag.c +++ b/gst-libs/gst/tag/gstxmptag.c @@ -932,7 +932,7 @@ deserialize_tiff_orientation (XmpTag * xmptag, GstTagList * taglist, } -/* look at this page for addtional schemas +/* look at this page for additional schemas * http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/XMP.html */ static gpointer @@ -1078,7 +1078,7 @@ struct _GstXmpNamespaceMatch /* * Stores extra namespaces for array tags - * The namespaces should be writen in the form: + * The namespaces should be written in the form: * * xmlns:XpTo="http://some.org/your/ns/name/ (next ones)" */ diff --git a/gst-libs/gst/tag/id3v2.3.0.txt b/gst-libs/gst/tag/id3v2.3.0.txt index 5b57850b74..a70fc45bd7 100644 --- a/gst-libs/gst/tag/id3v2.3.0.txt +++ b/gst-libs/gst/tag/id3v2.3.0.txt @@ -16,7 +16,7 @@ informal standard is released so that implementors could have a set standard before a formal standard is set. The formal standard will use another version or revision number if not identical to what is described in this document. The contents in this document may change for clarifications but never for added or -altered functionallity. +altered functionality. Distribution of this document is unlimited. 1.2. Abstract @@ -316,7 +316,7 @@ defined as follows. j - Encryption - This flag indicates wether or not the frame is enrypted. If set one byte + This flag indicates whether or not the frame is encrypted. If set one byte indicating with which method it was encrypted will be appended to the frame header. See section_4.26. for more information about encryption method registration. @@ -338,7 +338,7 @@ defined as follows. Some flags indicates that the frame header is extended with additional information. This information will be added to the frame header in the same order as the flags indicating the additions. I.e. the four bytes of -decompressed size will preceed the encryption method byte. These additions to +decompressed size will precede the encryption method byte. These additions to the frame header, while not included in the frame header size but are included in the 'frame size' field, are not subject to encryption or compression. @@ -503,7 +503,7 @@ text information frames have the following format: TCOM The 'Composer(s)' frame is intended for the name of the composer(s). They - are seperated with the "/" character. + are separated with the "/" character. @@ -563,7 +563,7 @@ text information frames have the following format: TEXT The 'Lyricist(s)/Text writer(s)' frame is intended for the writer(s) of - the text or lyrics in the recording. They are seperated with the "/ + the text or lyrics in the recording. They are separated with the "/ " character. @@ -751,7 +751,7 @@ parentheses. If this frame is not present audio type is assumed to be "MPG". The 'Original lyricist(s)/text writer(s)' frame is intended for the text writer(s) of the original recording, if for example the music in the file should be a cover of a previously released song. The text writers are - seperated with the "/" character. + separated with the "/" character. @@ -759,7 +759,7 @@ parentheses. If this frame is not present audio type is assumed to be "MPG". The 'Original artist(s)/performer(s)' frame is intended for the performer (s) of the original recording, if for example the music in the file should be a cover of a previously released song. The performers are - seperated with the "/" character. + separated with the "/" character. @@ -779,7 +779,7 @@ parentheses. If this frame is not present audio type is assumed to be "MPG". TPE1 The 'Lead artist(s)/Lead performer(s)/Soloist(s)/Performing group' is - used for the main artist(s). They are seperated with the "/" character. + used for the main artist(s). They are separated with the "/" character. @@ -819,7 +819,7 @@ parentheses. If this frame is not present audio type is assumed to be "MPG". The 'Track number/Position in set' frame is a numeric string containing the order number of the audio-file on its original recording. This may be extended with a "/" character and a numeric string containing the total - numer of tracks/elements on the original recording. E.g. "4/9". + number of tracks/elements on the original recording. E.g. "4/9". @@ -1206,7 +1206,7 @@ language and content descriptor. 4.11. Comments -This frame is indended for any kind of full text information that does not fit +This frame is intended for any kind of full text information that does not fit in any other frame. It consists of a frame header followed by encoding, language and content descriptors and is ended with the actual comment as a text string. Newline characters are allowed in the comment text string. There may be @@ -1361,7 +1361,7 @@ Picture type: $03 Cover (front) $04 Cover (back) $05 Leaflet page - $06 Media (e.g. lable side of CD) + $06 Media (e.g. label side of CD) $07 Lead artist/lead performer/soloist $08 Artist/performer $09 Conductor @@ -1490,7 +1490,7 @@ To keep space waste as low as possible this frame may be used to link information from another ID3v2 tag that might reside in another audio file or alone in a binary file. It is recommended that this method is only used when the files are stored on a CD-ROM or other circumstances when the risk of file -seperation is low. The frame contains a frame identifier, which is the frame +separation is low. The frame contains a frame identifier, which is the frame that should be linked into this tag, a URL field, where a reference to the file where the frame is given, and additional ID data, if needed. Data should be retrieved from the first tag found in the file to which this link points. There @@ -1551,7 +1551,7 @@ signed, as proof. Note that the "USER" and "TOWN" frames are good to use in conjunction with this one. The frame begins, after the frame ID, size and encoding fields, with a 'price payed' field. The first three characters of this field contains the currency used for the transaction, encoded according to ISO- -4217 alphabetic currency code. Concatenated to this is the actual price payed, +4217 alphabetic currency code. Concatenated to this is the actual price paid, as a numerical string using "." as the decimal separator. Next is an 8 character date string (YYYYMMDD) followed by a string with the name of the seller as the last field in the frame. There may only be one "OWNE" frame in a @@ -1559,7 +1559,7 @@ tag.
Text encoding $xx - Price payed $00 + Price paid $00 Date of purch. Seller @@ -1572,8 +1572,8 @@ solution than if one tries to achieve the same result with several frames. The frame begins, after the frame ID, size and encoding fields, with a price string field. A price is constructed by one three character currency code, encoded according to ISO-4217 alphabetic currency code, followed by a numerical value -where "." is used as decimal seperator. In the price string several prices may -be concatenated, seperated by a "/" character, but there may only be one +where "." is used as decimal separator. In the price string several prices may +be concatenated, separated by a "/" character, but there may only be one currency of each type. The price string is followed by an 8 character date string in the format YYYYMMDD, describing for how long the price is valid. After that is a contact @@ -1850,7 +1850,7 @@ The following genres is defined in ID3v1 64. Native American 65. Cabaret 66. New Wave - 67. Psychadelic + 67. Psychedelic 68. Rave 69. Showtunes 70. Trailer diff --git a/gst-libs/gst/tag/lang.c b/gst-libs/gst/tag/lang.c index 2e9a4f306b..1245e1cd07 100644 --- a/gst-libs/gst/tag/lang.c +++ b/gst-libs/gst/tag/lang.c @@ -421,7 +421,7 @@ gst_tag_get_language_code_iso_639_2X (const gchar * lang_code, guint8 flags) * * The "terminological" code is derived from the local name of the language * (e.g. "deu" for German instead of "ger"). In most scenarios, the - * "terminological" codes are prefered over the "bibliographic" ones. + * "terminological" codes are preferred over the "bibliographic" ones. * * Language codes are case-sensitive and expected to be lower case. * @@ -455,7 +455,7 @@ gst_tag_get_language_code_iso_639_2T (const gchar * lang_code) * * The "bibliographic" code is derived from the English name of the language * (e.g. "ger" for German instead of "de" or "deu"). In most scenarios, the - * "terminological" codes are prefered. + * "terminological" codes are preferred. * * Language codes are case-sensitive and expected to be lower case. * diff --git a/gst-libs/gst/video/TODO b/gst-libs/gst/video/TODO index 4770de1d6c..0f5d4d0062 100644 --- a/gst-libs/gst/video/TODO +++ b/gst-libs/gst/video/TODO @@ -19,7 +19,7 @@ be backported (at least partially). Specifics: - * Use a GInstancePrivate for extensability. + * Use a GInstancePrivate for extensibility. * Try to move more common video objects to video.[ch] diff --git a/gst-libs/gst/video/convertframe.c b/gst-libs/gst/video/convertframe.c index 227d235212..bc55c6caf2 100644 --- a/gst-libs/gst/video/convertframe.c +++ b/gst-libs/gst/video/convertframe.c @@ -671,7 +671,7 @@ done: * * The width, height and pixel-aspect-ratio can also be specified in the output caps. * - * @callback will be called after conversion, when an error occured or if conversion didn't + * @callback will be called after conversion, when an error occurred or if conversion didn't * finish after @timeout. @callback will always be called from the thread default * %GMainContext, see g_main_context_get_thread_default(). If GLib before 2.22 is used, * this will always be the global default main context. diff --git a/gst-libs/gst/video/gstvideodecoder.c b/gst-libs/gst/video/gstvideodecoder.c index d6c2b51073..02d1715053 100644 --- a/gst-libs/gst/video/gstvideodecoder.c +++ b/gst-libs/gst/video/gstvideodecoder.c @@ -3654,7 +3654,7 @@ gst_video_decoder_decide_allocation_default (GstVideoDecoder * decoder, /* If change are not acceptable, fallback to generic pool */ if (!gst_buffer_pool_config_validate_params (config, outcaps, size, min, max)) { - GST_DEBUG_OBJECT (decoder, "unsuported pool, making new pool"); + GST_DEBUG_OBJECT (decoder, "unsupported pool, making new pool"); gst_object_unref (pool); pool = gst_video_buffer_pool_new (); diff --git a/gst-libs/gst/video/gstvideoencoder.c b/gst-libs/gst/video/gstvideoencoder.c index 9389c9f285..3ff85d8ff0 100644 --- a/gst-libs/gst/video/gstvideoencoder.c +++ b/gst-libs/gst/video/gstvideoencoder.c @@ -162,7 +162,7 @@ struct _GstVideoEncoderPrivate gboolean tags_changed; GstClockTime min_pts; - /* adjustment needed on pts, dts, segment start and stop to accomodate + /* adjustment needed on pts, dts, segment start and stop to accommodate * min_pts */ GstClockTime time_adjustment; @@ -2667,7 +2667,7 @@ gst_video_encoder_get_allocator (GstVideoEncoder * encoder, * Request minimal value for PTS passed to handle_frame. * * For streams with reordered frames this can be used to ensure that there - * is enough time to accomodate first DTS, which may be less than first PTS + * is enough time to accommodate first DTS, which may be less than first PTS * * Since: 1.6 */ diff --git a/gst-libs/gst/video/gstvideosink.c b/gst-libs/gst/video/gstvideosink.c index 6130cf32cf..32f5ee7131 100644 --- a/gst-libs/gst/video/gstvideosink.c +++ b/gst-libs/gst/video/gstvideosink.c @@ -141,7 +141,7 @@ gst_video_sink_init (GstVideoSink * videosink) videosink->width = 0; videosink->height = 0; - /* 20ms is more than enough, 80-130ms is noticable */ + /* 20ms is more than enough, 80-130ms is noticeable */ gst_base_sink_set_processing_deadline (GST_BASE_SINK (videosink), 15 * GST_MSECOND); gst_base_sink_set_max_lateness (GST_BASE_SINK (videosink), 5 * GST_MSECOND); diff --git a/gst-libs/gst/video/video-anc.h b/gst-libs/gst/video/video-anc.h index b78f98c52f..bb5883c520 100644 --- a/gst-libs/gst/video/video-anc.h +++ b/gst-libs/gst/video/video-anc.h @@ -449,7 +449,7 @@ GType gst_video_vbi_parser_get_type (void); * GstVideoVBIParserResult: * @GST_VIDEO_VBI_PARSER_RESULT_DONE: No line were provided, or no more Ancillary data was found. * @GST_VIDEO_VBI_PARSER_RESULT_OK: A #GstVideoAncillary was found. - * @GST_VIDEO_VBI_PARSER_RESULT_ERROR: An error occured + * @GST_VIDEO_VBI_PARSER_RESULT_ERROR: An error occurred * * Return values for #GstVideoVBIParser * diff --git a/gst-libs/gst/video/video-blend.c b/gst-libs/gst/video/video-blend.c index fb7e00c476..097269fc0a 100644 --- a/gst-libs/gst/video/video-blend.c +++ b/gst-libs/gst/video/video-blend.c @@ -319,7 +319,7 @@ gst_video_blend (GstVideoFrame * dest, GST_LOG ("blend src %dx%d onto dest %dx%d @ %d,%d", src_width, src_height, dest_width, dest_height, x, y); - /* In case overlay is completely outside the video, dont render */ + /* In case overlay is completely outside the video, don't render */ if (x + src_width <= 0 || y + src_height <= 0 || x >= dest_width || y >= dest_height) { goto nothing_to_do; diff --git a/gst-libs/gst/video/video-color.h b/gst-libs/gst/video/video-color.h index b5adf7340d..172f4d6a59 100644 --- a/gst-libs/gst/video/video-color.h +++ b/gst-libs/gst/video/video-color.h @@ -244,7 +244,7 @@ void gst_video_color_range_offsets (GstVideoColorRange range, /* conversion between GStreamer color{matrix,transfer,primaries} enum and * values defined by ISO/IEC 23001-8 and ITU-T H.273 specification. - * Also H264 and H265 specifications follow the color{matrix,trasfer,primaries} + * Also H264 and H265 specifications follow the color{matrix,transfer,primaries} * values */ GST_VIDEO_API diff --git a/gst-libs/gst/video/video-converter.c b/gst-libs/gst/video/video-converter.c index 3a690ff254..402dc0160a 100644 --- a/gst-libs/gst/video/video-converter.c +++ b/gst-libs/gst/video/video-converter.c @@ -2590,7 +2590,7 @@ copy_config (GQuark field_id, const GValue * value, gpointer user_data) * @convert: a #GstVideoConverter * @config: (transfer full): a #GstStructure * - * Set @config as extra configuraion for @convert. + * Set @config as extra configuration for @convert. * * If the parameters in @config can not be set exactly, this function returns * %FALSE and will try to update as much state as possible. The new state can diff --git a/gst-libs/gst/video/video-dither.c b/gst-libs/gst/video/video-dither.c index 3f244a45a1..92bf0ce5dc 100644 --- a/gst-libs/gst/video/video-dither.c +++ b/gst-libs/gst/video/video-dither.c @@ -366,7 +366,7 @@ count_power (guint v) * algorithm described by @method. * * Each component will be quantized to a multiple of @quantizer. Better - * performance is achived when @quantizer is a power of 2. + * performance is achieved when @quantizer is a power of 2. * * @width is the width of the lines that this ditherer will handle. * diff --git a/gst-libs/gst/video/video-format.c b/gst-libs/gst/video/video-format.c index 7e4b4474e6..cc77f232ba 100644 --- a/gst-libs/gst/video/video-format.c +++ b/gst-libs/gst/video/video-format.c @@ -4833,7 +4833,7 @@ unpack_NV12_10LE32 (const GstVideoFormatInfo * info, GstVideoPackFlags flags, * code is a reduce version of: * 0: - Read first UV word (UVU) * Unpack U and V - * 1: - Resued U/V from 1 (sub-sampling) + * 1: - Reused U/V from 1 (sub-sampling) * 2: - Unpack remaining U value * - Read following UV word (VUV) * - Unpack V value @@ -4986,7 +4986,7 @@ unpack_NV16_10LE32 (const GstVideoFormatInfo * info, GstVideoPackFlags flags, * code is a reduce version of: * 0: - Read first UV word (UVU) * Unpack U and V - * 1: - Resued U/V from 1 (sub-sampling) + * 1: - Reused U/V from 1 (sub-sampling) * 2: - Unpack remaining U value * - Read following UV word (VUV) * - Unpack V value diff --git a/gst-libs/gst/video/video-format.h b/gst-libs/gst/video/video-format.h index 38efdb3bd8..00c85a8a72 100644 --- a/gst-libs/gst/video/video-format.h +++ b/gst-libs/gst/video/video-format.h @@ -288,7 +288,7 @@ typedef enum * @GST_VIDEO_PACK_FLAG_NONE: No flag * @GST_VIDEO_PACK_FLAG_TRUNCATE_RANGE: When the source has a smaller depth * than the target format, set the least significant bits of the target - * to 0. This is likely sightly faster but less accurate. When this flag + * to 0. This is likely slightly faster but less accurate. When this flag * is not specified, the most significant bits of the source are duplicated * in the least significant bits of the destination. * @GST_VIDEO_PACK_FLAG_INTERLACED: The source is interlaced. The unpacked diff --git a/gst-libs/gst/video/video-frame.h b/gst-libs/gst/video/video-frame.h index 1290962e03..eedf6b7be6 100644 --- a/gst-libs/gst/video/video-frame.h +++ b/gst-libs/gst/video/video-frame.h @@ -72,7 +72,7 @@ typedef enum { * @buffer: the mapped buffer * @meta: pointer to metadata if any * @id: id of the mapped frame. the id can for example be used to - * indentify the frame in case of multiview video. + * identify the frame in case of multiview video. * @data: pointers to the plane data * @map: mappings of the planes * @@ -165,7 +165,7 @@ gboolean gst_video_frame_copy_plane (GstVideoFrame *dest, const GstVideoFr * such as left or right eye view. This flags is set on * any buffer that contains non-mono content - even for * streams that contain only a single viewpoint. In mixed - * mono / non-mono streams, the absense of the flag marks + * mono / non-mono streams, the absence of the flag marks * mono buffers. * @GST_VIDEO_BUFFER_FLAG_FIRST_IN_BUNDLE: When conveying stereo/multiview content with * frame-by-frame methods, this flag marks the first buffer diff --git a/gst-libs/gst/video/video-hdr.c b/gst-libs/gst/video/video-hdr.c index aaa6c393de..6531cc04d5 100644 --- a/gst-libs/gst/video/video-hdr.c +++ b/gst-libs/gst/video/video-hdr.c @@ -219,7 +219,7 @@ gst_video_mastering_display_info_is_equal (const * gst_video_mastering_display_info_is_valid: * @minfo: a #GstVideoMasteringDisplayInfo * - * Checks the minumum validity of @mininfo (not theoretical validation). + * Checks the minimum validity of @mininfo (not theoretical validation). * * Each x and y chromaticity coordinate should be in the range of [0, 1] * min_luma should be less than max_luma. diff --git a/gst-libs/gst/video/video-info.c b/gst-libs/gst/video/video-info.c index 91501e0fcb..6efb35bc75 100644 --- a/gst-libs/gst/video/video-info.c +++ b/gst-libs/gst/video/video-info.c @@ -1305,7 +1305,7 @@ gst_video_info_align (GstVideoInfo * info, GstVideoAlignment * align) for (i = 0; i < n_planes; i++) { gint hedge; - /* this is the amout of pixels to add as left padding */ + /* this is the amount of pixels to add as left padding */ hedge = GST_VIDEO_FORMAT_INFO_SCALE_WIDTH (vinfo, i, align->padding_left); hedge *= GST_VIDEO_FORMAT_INFO_PSTRIDE (vinfo, i); diff --git a/gst-libs/gst/video/video-overlay-composition.c b/gst-libs/gst/video/video-overlay-composition.c index c1d2fcd6df..315e91f7e1 100644 --- a/gst-libs/gst/video/video-overlay-composition.c +++ b/gst-libs/gst/video/video-overlay-composition.c @@ -1628,7 +1628,7 @@ gst_video_overlay_rectangle_copy (GstVideoOverlayRectangle * rectangle) * the per rectangle sequence number, which is misleading for renderers/ * consumers, that handle global-alpha themselves. For them the * pixel-data returned by gst_video_overlay_rectangle_get_pixels_*() - * wont be different for different global-alpha values. In this case a + * won't be different for different global-alpha values. In this case a * renderer could also use the GstBuffer pointers as a hint for changed * pixel-data. * diff --git a/gst-libs/gst/video/video-scaler.c b/gst-libs/gst/video/video-scaler.c index 27b5fbb911..b0026ff45d 100644 --- a/gst-libs/gst/video/video-scaler.c +++ b/gst-libs/gst/video/video-scaler.c @@ -1414,7 +1414,7 @@ no_func: /** * gst_video_scaler_2d: - * @hscale: a horzontal #GstVideoScaler + * @hscale: a horizontal #GstVideoScaler * @vscale: a vertical #GstVideoScaler * @format: a #GstVideoFormat for @srcs and @dest * @src: source pixels diff --git a/gst-libs/gst/video/videooverlay.c b/gst-libs/gst/video/videooverlay.c index ceadf19a0b..94396ee3d6 100644 --- a/gst-libs/gst/video/videooverlay.c +++ b/gst-libs/gst/video/videooverlay.c @@ -591,7 +591,7 @@ wrong_format: g_value_init (&string, G_TYPE_STRING); g_value_transform (value, &string); - g_critical ("Badly formated rectangle, must contains four gint (got '%s')", + g_critical ("Badly formatted rectangle, must contains four gint (got '%s')", g_value_get_string (&string)); g_value_unset (&string); diff --git a/gst/adder/gstadder.c b/gst/adder/gstadder.c index f73b6dbffd..25ff7984fc 100644 --- a/gst/adder/gstadder.c +++ b/gst/adder/gstadder.c @@ -416,7 +416,7 @@ invalid_format: * * 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 @@ -1582,7 +1582,7 @@ gst_adder_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_adder_child_proxy_get_child_by_index; iface->get_children_count = gst_adder_child_proxy_get_children_count; } diff --git a/gst/audiomixer/gstaudiointerleave.c b/gst/audiomixer/gstaudiointerleave.c index 7bc9d129d9..021ba3282d 100644 --- a/gst/audiomixer/gstaudiointerleave.c +++ b/gst/audiomixer/gstaudiointerleave.c @@ -895,7 +895,7 @@ gst_audio_interleave_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_audio_interleave_child_proxy_get_child_by_index; iface->get_children_count = diff --git a/gst/audiomixer/gstaudiomixer.c b/gst/audiomixer/gstaudiomixer.c index ef05367048..a975e6c542 100644 --- a/gst/audiomixer/gstaudiomixer.c +++ b/gst/audiomixer/gstaudiomixer.c @@ -455,7 +455,7 @@ gst_audiomixer_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_audiomixer_child_proxy_get_child_by_index; iface->get_children_count = gst_audiomixer_child_proxy_get_children_count; } diff --git a/gst/audioresample/gstaudioresample.c b/gst/audioresample/gstaudioresample.c index fc73af64fa..a56bcdfe32 100644 --- a/gst/audioresample/gstaudioresample.c +++ b/gst/audioresample/gstaudioresample.c @@ -287,7 +287,7 @@ gst_audio_resample_transform_caps (GstBaseTransform * base, /* transform single caps into input_caps + input_caps with the rate * field set to our supported range. This ensures that upstream knows - * about downstream's prefered rate(s) and can negotiate accordingly. */ + * about downstream's preferred rate(s) and can negotiate accordingly. */ res = gst_caps_new_empty (); n = gst_caps_get_size (caps); for (i = 0; i < n; i++) { diff --git a/gst/audiotestsrc/gstaudiotestsrc.c b/gst/audiotestsrc/gstaudiotestsrc.c index cfdbb7149b..b06b336ccc 100644 --- a/gst/audiotestsrc/gstaudiotestsrc.c +++ b/gst/audiotestsrc/gstaudiotestsrc.c @@ -992,7 +992,7 @@ static const ProcessFunc tick_funcs[] = { /* Gaussian white noise using Box-Muller algorithm. unit variance * normally-distributed random numbers are generated in pairs as the real - * and imaginary parts of a compex random variable with + * and imaginary parts of a complex random variable with * uniformly-distributed argument and \chi^{2}-distributed modulus. */ diff --git a/gst/compositor/compositor.c b/gst/compositor/compositor.c index 09f970f32c..cf0187f00a 100644 --- a/gst/compositor/compositor.c +++ b/gst/compositor/compositor.c @@ -65,7 +65,7 @@ * compositor name=comp ! videoconvert ! ximagesink \ * videotestsrc ! \ * video/x-raw, framerate=\(fraction\)5/1, width=320, height=240 ! comp. - * ]| A pipeline to demostrate bgra comping. (This does not demonstrate alpha blending). + * ]| A pipeline to demonstrate bgra comping. (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 ! \ diff --git a/gst/encoding/gststreamcombiner.c b/gst/encoding/gststreamcombiner.c index 008b08d51e..7223643b43 100644 --- a/gst/encoding/gststreamcombiner.c +++ b/gst/encoding/gststreamcombiner.c @@ -87,7 +87,7 @@ gst_stream_combiner_class_init (GstStreamCombinerClass * klass) gst_element_class_set_static_metadata (gstelement_klass, "streamcombiner", "Generic", - "Recombines streams splitted by the streamsplitter element", + "Recombines streams split by the streamsplitter element", "Edward Hervey "); } diff --git a/gst/gio/gstgiobasesrc.c b/gst/gio/gstgiobasesrc.c index b4fddc105f..6d73c7e922 100644 --- a/gst/gio/gstgiobasesrc.c +++ b/gst/gio/gstgiobasesrc.c @@ -239,7 +239,7 @@ gst_gio_base_src_get_size (GstBaseSrc * base_src, guint64 * size) err->message); g_clear_error (&err); } else { - GST_ERROR_OBJECT (src, "Seeking to the old position faile"); + GST_ERROR_OBJECT (src, "Seeking to the old position failed"); } return FALSE; } diff --git a/gst/overlaycomposition/gstoverlaycomposition.c b/gst/overlaycomposition/gstoverlaycomposition.c index 0329aaa2eb..917f36e4fc 100644 --- a/gst/overlaycomposition/gstoverlaycomposition.c +++ b/gst/overlaycomposition/gstoverlaycomposition.c @@ -272,7 +272,7 @@ gst_overlay_composition_negotiate (GstOverlayComposition * self, GstCaps * caps) } if (upstream_has_meta || caps_has_meta) { - /* Send caps immediatly, it's needed by GstBaseTransform to get a reply + /* Send caps immediately, it's needed by GstBaseTransform to get a reply * from allocation query */ ret = gst_pad_set_caps (self->srcpad, overlay_caps); diff --git a/gst/playback/gstdecodebin2.c b/gst/playback/gstdecodebin2.c index 443fd0e476..7c784653d6 100644 --- a/gst/playback/gstdecodebin2.c +++ b/gst/playback/gstdecodebin2.c @@ -180,7 +180,7 @@ struct _GstDecodeBin gboolean shutdown; /* if we are shutting down */ GList *blocked_pads; /* pads that have set to block */ - gboolean expose_allstreams; /* Whether to expose unknow type streams or not */ + gboolean expose_allstreams; /* Whether to expose unknown type streams or not */ GList *filtered; /* elements for which error messages are filtered */ GList *filtered_errors; /* filtered error messages */ @@ -2442,7 +2442,7 @@ connect_pad (GstDecodeBin * dbin, GstElement * src, GstDecodePad * dpad, } else { GST_WARNING_OBJECT (dbin, "The connection speed property %" G_GUINT64_FORMAT " of type %s" - " is not usefull not setting it", speed, + " is not useful not setting it", speed, g_type_name (G_PARAM_SPEC_TYPE (pspec))); wrong_type = TRUE; } @@ -3239,7 +3239,7 @@ gst_decode_bin_reset_buffering (GstDecodeBin * dbin) if (!dbin->use_buffering) return; - GST_DEBUG_OBJECT (dbin, "Reseting multiqueues buffering"); + GST_DEBUG_OBJECT (dbin, "Resetting multiqueues buffering"); if (dbin->decode_chain) { CHAIN_MUTEX_LOCK (dbin->decode_chain); gst_decode_chain_reset_buffering (dbin->decode_chain); diff --git a/gst/playback/gstdecodebin3.c b/gst/playback/gstdecodebin3.c index 676229903b..1f18f4e12d 100644 --- a/gst/playback/gstdecodebin3.c +++ b/gst/playback/gstdecodebin3.c @@ -53,7 +53,7 @@ * and only creates new elements when streams change and an existing decoder * is not capable of handling the new format. * - * * supports multiple input pads for the parallel decoding of auxilliary streams + * * supports multiple input pads for the parallel decoding of auxiliary streams * not muxed with the primary stream. * * * does not handle network stream buffering. decodebin3 expects that network stream @@ -216,7 +216,7 @@ struct _GstDecodebin3 /* counter for input */ guint32 input_counter; /* Current stream group_id (default : GST_GROUP_ID_INVALID) */ - /* FIXME : Needs to be resetted appropriately (when upstream changes ?) */ + /* FIXME : Needs to be reset appropriately (when upstream changes ?) */ guint32 current_group_id; /* End of variables protected by input_lock */ @@ -574,7 +574,7 @@ gst_decodebin3_class_init (GstDecodebin3Class * klass) * GstDecodebin3::about-to-finish: * * This signal is emitted when the data for the selected URI is - * entirely buffered and it is safe to specify anothe URI. + * entirely buffered and it is safe to specify another URI. */ gst_decodebin3_signals[SIGNAL_ABOUT_TO_FINISH] = g_signal_new ("about-to-finish", G_TYPE_FROM_CLASS (klass), diff --git a/gst/playback/gstparsebin.c b/gst/playback/gstparsebin.c index dbd5e3d1a7..825a821c46 100644 --- a/gst/playback/gstparsebin.c +++ b/gst/playback/gstparsebin.c @@ -174,7 +174,7 @@ struct _GstParseBin gboolean shutdown; /* if we are shutting down */ GList *blocked_pads; /* pads that have set to block */ - gboolean expose_allstreams; /* Whether to expose unknow type streams or not */ + gboolean expose_allstreams; /* Whether to expose unknown type streams or not */ GList *filtered; /* elements for which error messages are filtered */ GList *filtered_errors; /* filtered error messages */ @@ -2044,7 +2044,7 @@ connect_pad (GstParseBin * parsebin, GstElement * src, GstParsePad * parsepad, } else { GST_WARNING_OBJECT (parsebin, "The connection speed property %" G_GUINT64_FORMAT " of type %s" - " is not usefull not setting it", speed, + " is not useful not setting it", speed, g_type_name (G_PARAM_SPEC_TYPE (pspec))); wrong_type = TRUE; } diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c index 1571c82414..c8bfd388e6 100644 --- a/gst/playback/gstplaybin2.c +++ b/gst/playback/gstplaybin2.c @@ -55,12 +55,12 @@ * Playback can be initiated by setting the element to PLAYING state using * gst_element_set_state(). Note that the state change will take place in * the background in a separate thread, when the function returns playback - * is probably not happening yet and any errors might not have occured yet. + * is probably not happening yet and any errors might not have occurred yet. * Applications using playbin should ideally be written to deal with things * completely asynchroneous. * * When playback has finished (an EOS message has been received on the bus) - * or an error has occured (an ERROR message has been received on the bus) or + * or an error has occurred (an ERROR message has been received on the bus) or * the user wants to play a different track, playbin should be set back to * READY or NULL state, then the #GstPlayBin:uri property should be set to the * new location and then playbin be set to PLAYING state again. @@ -5798,7 +5798,7 @@ gst_play_bin_change_state (GstElement * element, GstStateChange transition) /* also do missed state change down to READY */ if (do_save) save_current_group (playbin); - /* Deactive the groups, set the uridecodebins to NULL + /* Deactivate the groups, set the uridecodebins to NULL * and unref them. */ for (i = 0; i < 2; i++) { diff --git a/gst/playback/gstplaybin3.c b/gst/playback/gstplaybin3.c index 05bb122b0c..f743ff7b40 100644 --- a/gst/playback/gstplaybin3.c +++ b/gst/playback/gstplaybin3.c @@ -37,7 +37,7 @@ * * automatic file type recognition and based on that automatic * selection and usage of the right audio/video/subtitle demuxers/decoders * - * * auxilliary files - such as external subtitles and audio tracks + * * auxiliary files - such as external subtitles and audio tracks * * visualisations for audio files * * subtitle support for video files. Subtitles can be store in external * files. @@ -62,12 +62,12 @@ * Playback can be initiated by setting the element to PLAYING state using * gst_element_set_state(). Note that the state change will take place in * the background in a separate thread, when the function returns playback - * is probably not happening yet and any errors might not have occured yet. + * is probably not happening yet and any errors might not have occurred yet. * Applications using playbin3 should ideally be written to deal with things * completely asynchroneous. * * When playback has finished (an EOS message has been received on the bus) - * or an error has occured (an ERROR message has been received on the bus) or + * or an error has occurred (an ERROR message has been received on the bus) or * the user wants to play a different track, playbin3 should be set back to * READY or NULL state, then the #GstPlayBin3:uri property should be set to the * new location and then playbin3 be set to PLAYING state again. @@ -4964,7 +4964,7 @@ gst_play_bin3_change_state (GstElement * element, GstStateChange transition) /* also do missed state change down to READY */ if (do_save) save_current_group (playbin); - /* Deactive the groups, set uridecodebin to NULL and unref it */ + /* Deactivate the groups, set uridecodebin to NULL and unref it */ for (i = 0; i < 2; i++) { if (playbin->groups[i].active && playbin->groups[i].valid) { deactivate_group (playbin, &playbin->groups[i]); diff --git a/gst/playback/gstplaysink.c b/gst/playback/gstplaysink.c index 7d62b510e9..a6c97f354b 100644 --- a/gst/playback/gstplaysink.c +++ b/gst/playback/gstplaysink.c @@ -1462,7 +1462,7 @@ do_async_done (GstPlaySink * playsink) /* try to change the state of an element. This function returns the element when * the state change could be performed. When this function returns NULL an error - * occured and the element is unreffed if @unref is TRUE. */ + * occurred and the element is unreffed if @unref is TRUE. */ static GstElement * try_element (GstPlaySink * playsink, GstElement * element, gboolean unref) { diff --git a/gst/playback/gstsubtitleoverlay.c b/gst/playback/gstsubtitleoverlay.c index 6de3e2fc45..6420b76667 100644 --- a/gst/playback/gstsubtitleoverlay.c +++ b/gst/playback/gstsubtitleoverlay.c @@ -922,7 +922,7 @@ _link_renderer (GstSubtitleOverlay * self, GstElement * renderer, return FALSE; } } else { - /* Set src ghostpad target in the harware accelerated case */ + /* Set src ghostpad target in the hardware accelerated case */ src = gst_element_get_static_pad (renderer, "src"); if (G_UNLIKELY (!src)) { diff --git a/gst/playback/gsturidecodebin.c b/gst/playback/gsturidecodebin.c index 8b259b097b..d5a6db6eb1 100644 --- a/gst/playback/gsturidecodebin.c +++ b/gst/playback/gsturidecodebin.c @@ -113,7 +113,7 @@ struct _GstURIDecodeBin gboolean async_pending; /* async-start has been emitted */ - gboolean expose_allstreams; /* Whether to expose unknow type streams or not */ + gboolean expose_allstreams; /* Whether to expose unknown type streams or not */ guint64 ring_buffer_max_size; /* 0 means disabled */ }; @@ -1345,7 +1345,7 @@ gen_source_element (GstURIDecodeBin * decoder) } else { GST_WARNING_OBJECT (decoder, "The connection speed property %" G_GUINT64_FORMAT - " of type %s is not usefull not setting it", speed, + " of type %s is not useful not setting it", speed, g_type_name (G_PARAM_SPEC_TYPE (pspec))); wrong_type = TRUE; } @@ -1489,7 +1489,7 @@ post_missing_plugin_error (GstElement * dec, const gchar * element_name) * @is_dynamic: TRUE if the element will create (more) pads dynamically later * on. * - * Returns: FALSE if a fatal error occured while scanning. + * Returns: FALSE if a fatal error occurred while scanning. */ static gboolean analyse_source (GstURIDecodeBin * decoder, gboolean * is_raw, @@ -1515,7 +1515,7 @@ analyse_source (GstURIDecodeBin * decoder, gboolean * is_raw, switch (gst_iterator_next (pads_iter, &item)) { case GST_ITERATOR_ERROR: res = FALSE; - /* FALLTROUGH */ + /* FALLTHROUGH */ case GST_ITERATOR_DONE: done = TRUE; break; @@ -1528,7 +1528,7 @@ analyse_source (GstURIDecodeBin * decoder, gboolean * is_raw, break; case GST_ITERATOR_OK: pad = g_value_dup_object (&item); - /* we now officially have an ouput pad */ + /* we now officially have an output pad */ *have_out = TRUE; /* if FALSE, this pad has no caps and we continue with the next pad. */ diff --git a/gst/playback/gsturidecodebin3.c b/gst/playback/gsturidecodebin3.c index 9bfaacbdf6..a0cd1966a3 100644 --- a/gst/playback/gsturidecodebin3.c +++ b/gst/playback/gsturidecodebin3.c @@ -169,7 +169,7 @@ struct _OutputPad /* Downstream event probe id */ gulong probe_id; - /* TRUE if the pad saw EOS. Resetted to FALSE on STREAM_START */ + /* TRUE if the pad saw EOS. Reset to FALSE on STREAM_START */ gboolean is_eos; /* The last seen (i.e. current) group_id @@ -481,7 +481,7 @@ gst_uri_decode_bin3_class_init (GstURIDecodeBin3Class * klass) * GstURIDecodeBin3::about-to-finish: * * This signal is emitted when the data for the selected URI is - * entirely buffered and it is safe to specify anothe URI. + * entirely buffered and it is safe to specify another URI. */ gst_uri_decode_bin3_signals[SIGNAL_ABOUT_TO_FINISH] = g_signal_new ("about-to-finish", G_TYPE_FROM_CLASS (klass), diff --git a/gst/playback/gsturisourcebin.c b/gst/playback/gsturisourcebin.c index 7a25102ac5..f5633ba510 100644 --- a/gst/playback/gsturisourcebin.c +++ b/gst/playback/gsturisourcebin.c @@ -1202,7 +1202,7 @@ source_pad_event_probe (GstPad * pad, GstPadProbeInfo * info, if (slot->linked_info) { if (slot->is_eos) { - /* linked_info is old input which is stil linked without removal */ + /* linked_info is old input which is still linked without removal */ GST_DEBUG_OBJECT (pad, "push actual EOS"); seqnum = gst_event_get_seqnum (event); eos = gst_event_new_eos (); @@ -1618,7 +1618,7 @@ post_missing_plugin_error (GstElement * urisrc, const gchar * element_name) * @is_dynamic: TRUE if the element will create (more) pads dynamically later * on. * - * Returns: FALSE if a fatal error occured while scanning. + * Returns: FALSE if a fatal error occurred while scanning. */ static gboolean analyse_source (GstURISourceBin * urisrc, gboolean * is_raw, @@ -1640,7 +1640,7 @@ analyse_source (GstURISourceBin * urisrc, gboolean * is_raw, switch (gst_iterator_next (pads_iter, &item)) { case GST_ITERATOR_ERROR: res = FALSE; - /* FALLTROUGH */ + /* FALLTHROUGH */ case GST_ITERATOR_DONE: done = TRUE; break; @@ -1653,7 +1653,7 @@ analyse_source (GstURISourceBin * urisrc, gboolean * is_raw, break; case GST_ITERATOR_OK: pad = g_value_dup_object (&item); - /* we now officially have an ouput pad */ + /* we now officially have an output pad */ *have_out = TRUE; /* if FALSE, this pad has no caps and we continue with the next pad. */ @@ -2194,7 +2194,7 @@ setup_source (GstURISourceBin * urisrc) case GST_ITERATOR_ERROR: GST_WARNING_OBJECT (urisrc, "Error iterating pads on source element"); - /* FALLTROUGH */ + /* FALLTHROUGH */ case GST_ITERATOR_DONE: done = TRUE; break; diff --git a/gst/rawparse/gstrawaudioparse.h b/gst/rawparse/gstrawaudioparse.h index f6d8b2e449..a5c8589391 100644 --- a/gst/rawparse/gstrawaudioparse.h +++ b/gst/rawparse/gstrawaudioparse.h @@ -75,7 +75,7 @@ struct _GstRawAudioParseConfig /* Array of channel positions, one position per channel; its first * num_channels values are valid. They are computed out of the number - * of channels if no positions are explicitely given. */ + * of channels if no positions are explicitly given. */ GstAudioChannelPosition channel_positions[64]; /* If the channel_positions are in a valid GStreamer channel order, then diff --git a/gst/rawparse/gstrawbaseparse.h b/gst/rawparse/gstrawbaseparse.h index 7aeedea589..6427cb6862 100644 --- a/gst/rawparse/gstrawbaseparse.h +++ b/gst/rawparse/gstrawbaseparse.h @@ -90,7 +90,7 @@ struct _GstRawBaseParse * @get_current_config: Gets the current configuration. All return values except * except GST_RAW_BASE_PARSE_CONFIG_CURRENT are valid. * @set_config_from_caps: Parses the caps and copies its information to the configuration. - * Returns FALSE if this failed, TRUE otheriwse. Specified caps + * Returns FALSE if this failed, TRUE otherwise. Specified caps * are not unref'd. * @get_caps_from_config: Creates a new caps structure out of the information from the * specified configuration. Ownership over the returned caps are diff --git a/gst/subparse/gstsubparse.c b/gst/subparse/gstsubparse.c index 425415874b..4fa4fc2d65 100644 --- a/gst/subparse/gstsubparse.c +++ b/gst/subparse/gstsubparse.c @@ -1158,7 +1158,7 @@ unescape_newlines_br (gchar * read) { gchar *write = read; - /* Replace all occurences of '[br]' with a newline as version 2 + /* Replace all occurrences of '[br]' with a newline as version 2 * of the subviewer format uses this for newlines */ if (read[0] == '\0' || read[1] == '\0' || read[2] == '\0' || read[3] == '\0') diff --git a/gst/subparse/samiparse.c b/gst/subparse/samiparse.c index 377c6d730c..9b6c655d7d 100644 --- a/gst/subparse/samiparse.c +++ b/gst/subparse/samiparse.c @@ -417,7 +417,7 @@ unescape_string (const gchar * text) } if (text == end || errno != 0) { - /* error occured. pass it */ + /* error occurred. pass it */ goto next; } unescaped = g_string_append_unichar (unescaped, l); diff --git a/gst/tcp/gstmultifdsink.c b/gst/tcp/gstmultifdsink.c index 32f9eec487..b3d9475584 100644 --- a/gst/tcp/gstmultifdsink.c +++ b/gst/tcp/gstmultifdsink.c @@ -571,7 +571,7 @@ gst_multi_fd_sink_hash_changed (GstMultiHandleSink * mhsink) /* handle a read on a client fd, * which either indicates a close or should be ignored - * returns FALSE if some error occured or the client closed. */ + * returns FALSE if some error occurred or the client closed. */ static gboolean gst_multi_fd_sink_handle_client_read (GstMultiFdSink * sink, GstTCPClient * client) @@ -664,7 +664,7 @@ ioctl_failed: * When the sending returns a partial buffer we stop sending more data as * the next send operation could block. * - * This functions returns FALSE if some error occured. + * This functions returns FALSE if some error occurred. */ static gboolean gst_multi_fd_sink_handle_client_write (GstMultiFdSink * sink, diff --git a/gst/tcp/gstmultihandlesink.c b/gst/tcp/gstmultihandlesink.c index 791a1d317b..44a336de6b 100644 --- a/gst/tcp/gstmultihandlesink.c +++ b/gst/tcp/gstmultihandlesink.c @@ -1183,7 +1183,7 @@ find_syncframe (GstMultiHandleSink * sink, gint idx, gint direction) /* Get the number of buffers from the buffer queue needed to satisfy * the maximum max in the configured units. * If units are not BUFFERS, and there are insufficient buffers in the - * queue to satify the limit, return len(queue) + 1 */ + * queue to satisfy the limit, return len(queue) + 1 */ gint get_buffers_max (GstMultiHandleSink * sink, gint64 max) { @@ -1241,7 +1241,7 @@ get_buffers_max (GstMultiHandleSink * sink, gint64 max) * is satisfied */ /* count the amount of data in the buffers and return the index - * that satifies the given limits. + * that satisfies the given limits. * * Returns: index @idx in the buffer queue so that the given limits are * satisfied. TRUE if all the limits could be satisfied, FALSE if not diff --git a/gst/tcp/gstmultisocketsink.c b/gst/tcp/gstmultisocketsink.c index f601064ec7..9a5a72cebb 100644 --- a/gst/tcp/gstmultisocketsink.c +++ b/gst/tcp/gstmultisocketsink.c @@ -596,7 +596,7 @@ gst_multi_socket_sink_handle_hash_key (GstMultiSinkHandle handle) /* handle a read on a client socket, * which either indicates a close or should be ignored - * returns FALSE if some error occured or the client closed. */ + * returns FALSE if some error occurred or the client closed. */ static gboolean gst_multi_socket_sink_handle_client_read (GstMultiSocketSink * sink, GstSocketClient * client) @@ -814,7 +814,7 @@ gst_multi_socket_sink_write (GstMultiSocketSink * sink, * When the sending returns a partial buffer we stop sending more data as * the next send operation could block. * - * This functions returns FALSE if some error occured. + * This functions returns FALSE if some error occurred. */ static gboolean gst_multi_socket_sink_handle_client_write (GstMultiSocketSink * sink, diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index e4277fde41..05b11460eb 100644 --- a/gst/typefind/gsttypefindfunctions.c +++ b/gst/typefind/gsttypefindfunctions.c @@ -3452,7 +3452,7 @@ qt_type_find (GstTypeFind * tf, gpointer unused) size = GST_READ_UINT32_BE (data); if (size + offset >= G_MAXINT64) break; - /* check compatible brands rather than ever expaning major brands above */ + /* check compatible brands rather than ever expanding major brands above */ if ((STRNCMP (&data[4], "ftyp", 4) == 0) && (size >= 16)) { data = gst_type_find_peek (tf, offset, size); if (data == NULL) @@ -4150,7 +4150,7 @@ static GstStaticCaps tiff_le_caps = GST_STATIC_CAPS ("image/tiff, " "endianness = (int) LITTLE_ENDIAN"); #define TIFF_LE_CAPS (gst_static_caps_get(&tiff_le_caps)) static void -tiff_type_find (GstTypeFind * tf, gpointer ununsed) +tiff_type_find (GstTypeFind * tf, gpointer unused) { const guint8 *data = gst_type_find_peek (tf, 0, 8); guint8 le_header[4] = { 0x49, 0x49, 0x2A, 0x00 }; @@ -4169,7 +4169,7 @@ tiff_type_find (GstTypeFind * tf, gpointer ununsed) static GstStaticCaps exr_caps = GST_STATIC_CAPS ("image/x-exr"); #define EXR_CAPS (gst_static_caps_get(&exr_caps)) static void -exr_type_find (GstTypeFind * tf, gpointer ununsed) +exr_type_find (GstTypeFind * tf, gpointer unused) { const guint8 *data = gst_type_find_peek (tf, 0, 8); @@ -4204,7 +4204,7 @@ static GstStaticCaps pnm_caps = GST_STATIC_CAPS ("image/x-portable-bitmap; " ((c) == ' ' || (c) == '\r' || (c) == '\n' || (c) == 't') static void -pnm_type_find (GstTypeFind * tf, gpointer ununsed) +pnm_type_find (GstTypeFind * tf, gpointer unused) { const gchar *media_type = NULL; DataScanCtx c = { 0, NULL, 0 }; @@ -4303,7 +4303,7 @@ static GstStaticCaps sds_caps = GST_STATIC_CAPS ("audio/x-sds"); #define SDS_CAPS (gst_static_caps_get(&sds_caps)) static void -sds_type_find (GstTypeFind * tf, gpointer ununsed) +sds_type_find (GstTypeFind * tf, gpointer unused) { const guint8 *data = gst_type_find_peek (tf, 0, 4); guint8 mask[4] = { 0xFF, 0xFF, 0x80, 0xFF }; @@ -4324,7 +4324,7 @@ static GstStaticCaps ircam_caps = GST_STATIC_CAPS ("audio/x-ircam"); #define IRCAM_CAPS (gst_static_caps_get(&ircam_caps)) static void -ircam_type_find (GstTypeFind * tf, gpointer ununsed) +ircam_type_find (GstTypeFind * tf, gpointer unused) { const guint8 *data = gst_type_find_peek (tf, 0, 4); guint8 mask[4] = { 0xFF, 0xFF, 0xF8, 0xFF }; @@ -4553,7 +4553,7 @@ static GstStaticCaps matroska_caps = GST_STATIC_CAPS ("video/x-matroska"); #define MATROSKA_CAPS (gst_static_caps_get(&matroska_caps)) static void -matroska_type_find (GstTypeFind * tf, gpointer ununsed) +matroska_type_find (GstTypeFind * tf, gpointer unused) { GstTypeFindProbability prob; GstMatroskaInfo info = { 0, }; @@ -4622,7 +4622,7 @@ static GstStaticCaps mxf_caps = GST_STATIC_CAPS ("application/mxf"); * not contain the partition pack key. */ static void -mxf_type_find (GstTypeFind * tf, gpointer ununsed) +mxf_type_find (GstTypeFind * tf, gpointer unused) { static const guint8 partition_pack_key[] = { 0x06, 0x0e, 0x2b, 0x34, 0x02, 0x05, 0x01, 0x01, 0x0d, 0x01, 0x02, 0x01, diff --git a/gst/videoconvert/gstvideoconvert.c b/gst/videoconvert/gstvideoconvert.c index afd1ebac1b..72d8421a56 100644 --- a/gst/videoconvert/gstvideoconvert.c +++ b/gst/videoconvert/gstvideoconvert.c @@ -149,7 +149,7 @@ gst_video_convert_caps_remove_format_info (GstCaps * caps) } /* - * This is an incomplete matrix of in formats and a score for the prefered output + * This is an incomplete matrix of in formats and a score for the preferred output * format. * * out: RGB24 RGB16 ARGB AYUV YUV444 YUV422 YUV420 YUV411 YUV410 PAL GRAY @@ -166,9 +166,9 @@ gst_video_convert_caps_remove_format_info (GstCaps * caps) * PAL 1 3 2 6 4 6 7 8 9 0 10 * GRAY 1 4 3 2 1 5 6 7 8 9 0 * - * PAL or GRAY are never prefered, if we can we would convert to PAL instead + * PAL or GRAY are never preferred, if we can we would convert to PAL instead * of GRAY, though - * less subsampling is prefered and if any, preferably horizontal + * less subsampling is preferred and if any, preferably horizontal * We would like to keep the alpha, even if we would need to to colorspace conversion * or lose depth. */ diff --git a/gst/videorate/gstvideorate.c b/gst/videorate/gstvideorate.c index fb692ff1f2..07e1f4f3f6 100644 --- a/gst/videorate/gstvideorate.c +++ b/gst/videorate/gstvideorate.c @@ -475,7 +475,7 @@ gst_video_rate_transform_caps (GstBaseTransform * trans, gst_structure_set (s3, "framerate", GST_TYPE_FRACTION, 0, 1, NULL); } } else if (max_num != 0 || max_denom != 1) { - /* We can provide everything upto the maximum framerate at the src */ + /* We can provide everything up to the maximum framerate at the src */ gst_structure_set (s2, "framerate", GST_TYPE_FRACTION_RANGE, 0, 1, max_num, max_denom, NULL); } @@ -1424,7 +1424,7 @@ gst_video_rate_transform_ip (GstBaseTransform * trans, GstBuffer * buffer) (videorate->segment.rate < 0.0 && intime <= videorate->next_ts)) { GstFlowReturn r; - /* The buffer received from basetransform is garanteed to be writable. + /* The buffer received from basetransform is guaranteed to be writable. * It just needs to be reffed so the buffer won't be consumed once pushed and * GstBaseTransform can get its reference back. */ if ((r = gst_video_rate_push_buffer (videorate, @@ -1568,7 +1568,7 @@ gst_video_rate_transform_ip (GstBaseTransform * trans, GstBuffer * buffer) } while (diff1 < diff2); - /* if we outputed the first buffer more then once, we have dups */ + /* if we outputted the first buffer more then once, we have dups */ if (count > 1) { videorate->dup += count - 1; if (!videorate->silent) diff --git a/gst/videotestsrc/gstvideotestsrc.c b/gst/videotestsrc/gstvideotestsrc.c index d7e0347205..d66035d0f7 100644 --- a/gst/videotestsrc/gstvideotestsrc.c +++ b/gst/videotestsrc/gstvideotestsrc.c @@ -286,7 +286,7 @@ gst_video_test_src_class_init (GstVideoTestSrcClass * klass) G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_KY, g_param_spec_int ("ky", "Zoneplate 1st order y phase", - "Zoneplate 1st order y phase, for generating contant vertical frequencies", + "Zoneplate 1st order y phase, for generating content vertical frequencies", G_MININT32, G_MAXINT32, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_KT, 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/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/ximage/ximagepool.c b/sys/ximage/ximagepool.c index 2f44c286d8..c79b2e851d 100644 --- a/sys/ximage/ximagepool.c +++ b/sys/ximage/ximagepool.c @@ -335,7 +335,7 @@ ximage_memory_alloc (GstXImageBufferPool * xpool) align = 15; mem->ximage->data = g_malloc (allocsize + align); GST_LOG_OBJECT (ximagesink, - "non-XShm image size is %" G_GSIZE_FORMAT " (alloced: %u), width %d, " + "non-XShm image size is %" G_GSIZE_FORMAT " (allocated: %u), width %d, " "stride %d", mem->size, allocsize, width, mem->ximage->bytes_per_line); XSync (xcontext->disp, FALSE); diff --git a/sys/ximage/ximagesink.c b/sys/ximage/ximagesink.c index e9615a2942..2881acb648 100644 --- a/sys/ximage/ximagesink.c +++ b/sys/ximage/ximagesink.c @@ -1527,7 +1527,7 @@ gst_x_image_sink_navigation_send_event (GstNavigation * navigation, /* We are not converting the pointer coordinates as there's no hardware scaling done here. The only possible scaling is done by videoscale and - videoscale will have to catch those events and tranform the coordinates + videoscale will have to catch those events and transform the coordinates to match the applied scaling. So here we just add the offset if the image is centered in the window. */ diff --git a/sys/ximage/ximagesink.h b/sys/ximage/ximagesink.h index b16c7fb254..1f29050cb2 100644 --- a/sys/ximage/ximagesink.h +++ b/sys/ximage/ximagesink.h @@ -79,11 +79,11 @@ typedef struct _GstXImageSinkClass GstXImageSinkClass; * @heightmm: the height in millimeters of Display @disp * @par: the pixel aspect ratio calculated from @width, @widthmm and @height, * @heightmm ratio - * @use_xshm: used to known wether of not XShm extension is usable or not even + * @use_xshm: used to known whether of not XShm extension is usable or not even * 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 @@ -121,7 +121,7 @@ struct _GstXContext * through the #GstVideoOverlay 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 { diff --git a/sys/xvimage/xvcontext.h b/sys/xvimage/xvcontext.h index af67877aff..83886687ea 100644 --- a/sys/xvimage/xvcontext.h +++ b/sys/xvimage/xvcontext.h @@ -108,7 +108,7 @@ struct _GstXvImageFormat * @heightmm: the height in millimeters of Display @disp * @par: the pixel aspect ratio calculated from @width, @widthmm and @height, * @heightmm ratio - * @use_xshm: used to known wether of not XShm extension is usable or not even + * @use_xshm: used to known whether of not XShm extension is usable or not even * if the Extension is present * @xv_port_id: the XVideo port ID * @im_format: used to store at least a valid format for XShm calls checks @@ -116,7 +116,7 @@ struct _GstXvImageFormat * @channels_list: list of #GstColorBalanceChannels * @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 _GstXvContext @@ -214,7 +214,7 @@ typedef struct _GstXWindow GstXWindow; * through the #GstVideoOverlay 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 { diff --git a/tests/check/Makefile.am b/tests/check/Makefile.am index 76718eed9c..c6d640d134 100644 --- a/tests/check/Makefile.am +++ b/tests/check/Makefile.am @@ -15,7 +15,7 @@ AM_TESTS_ENVIRONMENT += \ GST_TAG_LICENSE_TRANSLATIONS_DICT="$(top_srcdir)/gst-libs/gst/tag/license-translations.dict" -# ths core dumps of some machines have PIDs appended +# the core dumps of some machines have PIDs appended CLEANFILES = core.* test-registry.* clean-local: clean-local-check diff --git a/tests/check/elements/decodebin.c b/tests/check/elements/decodebin.c index 252ad033a3..86d004e5b5 100644 --- a/tests/check/elements/decodebin.c +++ b/tests/check/elements/decodebin.c @@ -632,7 +632,7 @@ GST_START_TEST (test_buffering_aggregation) fail_unless (gst_bin_add (GST_BIN (pipe), decodebin)); /* to simulate the buffering scenarios we stuff 2 multiqueues inside - * decodebin. This is hacky, but sould make decodebin handle its buffering + * decodebin. This is hacky, but should make decodebin handle its buffering * messages all the same */ mq0 = gst_element_factory_make ("multiqueue", NULL); mq1 = gst_element_factory_make ("multiqueue", NULL); @@ -647,7 +647,7 @@ GST_START_TEST (test_buffering_aggregation) fail_unless_equals_int (gst_element_set_state (pipe, GST_STATE_PAUSED), GST_STATE_CHANGE_ASYNC); - /* currently we shoud have no buffering messages */ + /* currently we should have no buffering messages */ msg = gst_bus_poll (GST_ELEMENT_BUS (pipe), GST_MESSAGE_BUFFERING, 0); fail_unless (msg == NULL); diff --git a/tests/check/elements/glimagesink.c b/tests/check/elements/glimagesink.c index c536ecd656..90490f50b7 100644 --- a/tests/check/elements/glimagesink.c +++ b/tests/check/elements/glimagesink.c @@ -244,7 +244,7 @@ GST_START_TEST (test_query_drain) gst_object_unref (originpool); /* At this point the gl pool contains all its buffers. We can - * inactivate it to release the textures. Note that only the gl + * deactivate it to release the textures. Note that only the gl * pool can release the textures properly because it has a * reference on the gl context. */ fail_unless (gst_buffer_pool_set_active (pool, FALSE)); diff --git a/tests/check/elements/multifdsink.c b/tests/check/elements/multifdsink.c index 951b1b9fa5..55b59bf346 100644 --- a/tests/check/elements/multifdsink.c +++ b/tests/check/elements/multifdsink.c @@ -541,7 +541,7 @@ GST_START_TEST (test_burst_client_bytes) fail_unless_read ("client 1", pfd1[0], 16, "deadbee00000009"); /* second client only bursts 50 bytes = 4 buffers (we get 4 buffers since - * the max alows it) */ + * the max allows it) */ GST_DEBUG ("Reading from client 2"); fail_unless_read ("client 2", pfd2[0], 16, "deadbee00000006"); fail_unless_read ("client 2", pfd2[0], 16, "deadbee00000007"); diff --git a/tests/check/elements/rawvideoparse.c b/tests/check/elements/rawvideoparse.c index 9888757c40..39d7650638 100644 --- a/tests/check/elements/rawvideoparse.c +++ b/tests/check/elements/rawvideoparse.c @@ -221,7 +221,7 @@ setup_rawvideoparse (gboolean use_sink_caps, g_value_init (&plane_strides_array, GST_TYPE_ARRAY); if (set_properties) { - /* When properties are explicitely set, we use Y444 as video format, + /* When properties are explicitly set, we use Y444 as video format, * so in that case, plane stride values are all the same */ plane_offsets[0] = properties_ctx.plane_size * 0; plane_offsets[1] = properties_ctx.plane_size * 1; diff --git a/tests/check/elements/videorate.c b/tests/check/elements/videorate.c index 87ae64a7ad..d18a47b78a 100644 --- a/tests/check/elements/videorate.c +++ b/tests/check/elements/videorate.c @@ -231,7 +231,7 @@ GST_START_TEST (test_more) fail_unless_equals_int (g_list_length (buffers), 0); assert_videorate_stats (videorate, "first buffer", 1, 0, 0, 0); - /* second buffer; inbetween second and third output frame's timestamp */ + /* second buffer; in between second and third output frame's timestamp */ second = gst_buffer_new_and_alloc (4); GST_BUFFER_TIMESTAMP (second) = GST_SECOND * 3 / 50; GST_BUFFER_OFFSET (second) = g_rand_int (rand); diff --git a/tests/check/gst-plugins-base.supp b/tests/check/gst-plugins-base.supp index 7a612ca3a1..521ad89004 100644 --- a/tests/check/gst-plugins-base.supp +++ b/tests/check/gst-plugins-base.supp @@ -69,7 +69,7 @@ } { - + Memcheck:Cond obj:/usr/lib/libasound.so.* obj:/usr/lib/libasound.so.* @@ -602,7 +602,7 @@ ... } { - + Memcheck:Cond obj:*libnvidia-glcore.so.* } diff --git a/tests/check/libs/gstglmatrix.c b/tests/check/libs/gstglmatrix.c index fe49b50f6c..04ddd4eae3 100644 --- a/tests/check/libs/gstglmatrix.c +++ b/tests/check/libs/gstglmatrix.c @@ -304,7 +304,7 @@ GST_START_TEST (test_matrix_vertex_y_invert) expected[i]); } - /* now test the [0, 1]^3 matrix and update the test values acoordingly */ + /* now test the [0, 1]^3 matrix and update the test values accordingly */ gst_gl_set_affine_transformation_meta_from_ndc (aff_meta, y_invert); expected[1] = 0.; diff --git a/tests/check/libs/gstglupload.c b/tests/check/libs/gstglupload.c index 516655fcb4..74bff2b83c 100644 --- a/tests/check/libs/gstglupload.c +++ b/tests/check/libs/gstglupload.c @@ -376,7 +376,7 @@ GST_START_TEST (test_upload_gl_memory) "2D"); gst_caps_unref (out_caps); - /* try setting the wrong type first tho */ + /* try setting the wrong type first */ out_caps = gst_caps_from_string ("video/x-raw(memory:GLMemory)," "format=RGBA,width=10,height=10,texture-target=RECTANGLE"); gst_gl_upload_set_caps (upload, in_caps, out_caps); diff --git a/tests/check/libs/rtpbasedepayload.c b/tests/check/libs/rtpbasedepayload.c index cd7decbebd..458bd4399c 100644 --- a/tests/check/libs/rtpbasedepayload.c +++ b/tests/check/libs/rtpbasedepayload.c @@ -969,7 +969,7 @@ GST_START_TEST (rtp_base_depayload_packet_lost_before_first_buffer_test) "duration", G_TYPE_UINT64, (guint64) 10 * GST_MSECOND, NULL))); /* When a buffer is pushed, an updated (and more accurate) segment event - * should aslo be sent. */ + * should also be sent. */ gst_harness_push (h, gst_rtp_buffer_new_allocate (0, 0, 0)); /* Verify that setup events are sent before gap event */ @@ -1071,7 +1071,7 @@ GST_END_TEST * it should save these timestamps as they should affect the next segment event * being pushed by the depayloader. a new segment event is not pushed by the * depayloader until a flush_stop event and a succeeding segment event are - * received. of course the intial event are unaffected, as is the incoming caps + * received. of course the initial event are unaffected, as is the incoming caps * event. */ GST_START_TEST (rtp_base_depayload_npt_test) @@ -1136,7 +1136,7 @@ GST_END_TEST * this rate as it should affect the next segment event being pushed by the * depayloader. a new segment event is not pushed by the depayloader until a * flush_stop event and a succeeding segment event are received. of course the - * intial event are unaffected, as is the incoming caps event. + * initial event are unaffected, as is the incoming caps event. */ GST_START_TEST (rtp_base_depayload_play_scale_test) { @@ -1197,7 +1197,7 @@ GST_END_TEST * this rate as it should affect the next segment event being pushed by the * depayloader. a new segment event is not pushed by the depayloader until a * flush_stop event and a succeeding segment event are received. of course the - * intial event are unaffected, as is the incoming caps event. + * initial event are unaffected, as is the incoming caps event. */ GST_START_TEST (rtp_base_depayload_play_speed_test) { @@ -1256,8 +1256,8 @@ GST_START_TEST (rtp_base_depayload_play_speed_test) GST_END_TEST /* when a depayloader receives new caps events with npt-start, npt-stop and * clock-base it should save these timestamps as they should affect the next - * segment event being pushed by the depayloader. the produce segment should - * make the positon of the stream reflect the postion form clock-base instead + * segment event being pushed by the depayloader. the produced segment should + * make the position of the stream reflect the position from clock-base instead * of reflecting the running time (for RTSP). */ GST_START_TEST (rtp_base_depayload_clock_base_test) diff --git a/tests/check/libs/rtpbasepayload.c b/tests/check/libs/rtpbasepayload.c index 9bda374079..fd8e3700d0 100644 --- a/tests/check/libs/rtpbasepayload.c +++ b/tests/check/libs/rtpbasepayload.c @@ -701,7 +701,7 @@ destroy_payloader (State * state) /* push two buffers to the payloader which should successfully payload them * into RTP packets. the first packet will have a random rtptime and sequence * number, but the last packet should have an rtptime incremented by - * DEFAULT_CLOCK_RATE and a sequence number incremented by one becuase the + * DEFAULT_CLOCK_RATE and a sequence number incremented by one because the * packets are sequential. besides the two payloaded RTP packets there should * be the three events initial events: stream-start, caps and segment. */ @@ -1022,7 +1022,7 @@ GST_START_TEST (rtp_base_payload_ssrc_collision_test) GST_END_TEST; -/* validate that an upstream event different from GstRTPCollision is succesfully +/* validate that an upstream event different from GstRTPCollision is successfully * forwarded to upstream elements. in this test a caps reconfiguration event is * pushed upstream to validate the behaviour. */ @@ -1748,7 +1748,7 @@ GST_END_TEST; * timestamp updates that are not based on input buffer offsets as expected. * lastly two buffers are pushed and the stats property retrieved after each * time. here it is expected that the sequence numbers values are restarted at - * the inital value while the timestamps and running-time reflect the input + * the initial value while the timestamps and running-time reflect the input * buffers. */ GST_START_TEST (rtp_base_payload_property_stats_test) diff --git a/tests/check/libs/rtspconnection.c b/tests/check/libs/rtspconnection.c index ae3e280add..947303b21a 100644 --- a/tests/check/libs/rtspconnection.c +++ b/tests/check/libs/rtspconnection.c @@ -192,7 +192,7 @@ static GstRTSPWatchFuncs watch_funcs = { tunnel_lost }; -/* setts up a new tunnel, then disconnects the read connection and creates it +/* sets up a new tunnel, then disconnects the read connection and creates it * again */ GST_START_TEST (test_rtspconnection_tunnel_setup) { @@ -354,7 +354,7 @@ GST_START_TEST (test_rtspconnection_tunnel_setup) GST_END_TEST; -/* setts up a new tunnel, starting with the read channel, +/* sets up a new tunnel, starting with the read channel, * then disconnects the read connection and creates it again * ideally this test should be merged with test_rtspconnection_tunnel_setup but * but it became quite messy */ diff --git a/tests/check/libs/tag.c b/tests/check/libs/tag.c index 2b3ae57419..b3ed25ceb6 100644 --- a/tests/check/libs/tag.c +++ b/tests/check/libs/tag.c @@ -1131,7 +1131,7 @@ GST_START_TEST (test_xmp_formatting) /* test data */ list = gst_tag_list_new (GST_TAG_TITLE, "test title", - GST_TAG_DESCRIPTION, "test decription", + GST_TAG_DESCRIPTION, "test description", GST_TAG_KEYWORDS, "keyword1", GST_TAG_KEYWORDS, "keyword2", NULL); buf = gst_tag_list_to_xmp_buffer (list, FALSE, NULL); @@ -1144,7 +1144,7 @@ GST_START_TEST (test_xmp_formatting) /* check the content */ fail_unless (g_strrstr_len (text, len, "test title<") != NULL); - fail_unless (g_strrstr_len (text, len, ">test decription<") != NULL); + fail_unless (g_strrstr_len (text, len, ">test description<") != NULL); fail_unless (g_strrstr_len (text, len, ">keyword1<") != NULL); fail_unless (g_strrstr_len (text, len, ">keyword2<") != NULL); fail_unless (g_strrstr_len (text, len, "pipeline, "suburi", uri, NULL); g_free (uri); } else { - g_warning ("Could not parse auxilliary file argument. Ignoring"); + g_warning ("Could not parse auxiliary file argument. Ignoring"); } } diff --git a/tests/examples/dynamic/addstream.c b/tests/examples/dynamic/addstream.c index 02bb8ae30c..b974e21bee 100644 --- a/tests/examples/dynamic/addstream.c +++ b/tests/examples/dynamic/addstream.c @@ -204,7 +204,7 @@ perform_step (gpointer pstep) GINT_TO_POINTER (6)); break; case 6: - g_print ("quiting\n"); + g_print ("quitting\n"); g_main_loop_quit (loop); break; default: diff --git a/tests/examples/playback/playback-test.c b/tests/examples/playback/playback-test.c index 943cc7698e..10cf886c51 100644 --- a/tests/examples/playback/playback-test.c +++ b/tests/examples/playback/playback-test.c @@ -1454,7 +1454,7 @@ shot_cb (GtkButton * button, PlaybackApp * app) /* get the snapshot buffer format now. We set the caps on the appsink so * that it can only be an rgb buffer. The only thing we have not specified - * on the caps is the height, which is dependant on the pixel-aspect-ratio + * on the caps is the height, which is dependent on the pixel-aspect-ratio * of the source material */ caps = gst_sample_get_caps (sample); if (!caps) { diff --git a/tests/examples/seek/jsseek.c b/tests/examples/seek/jsseek.c index f9e5588097..855fd33e52 100644 --- a/tests/examples/seek/jsseek.c +++ b/tests/examples/seek/jsseek.c @@ -2024,7 +2024,7 @@ shot_cb (GtkButton * button, gpointer data) /* get the snapshot buffer format now. We set the caps on the appsink so * that it can only be an rgb buffer. The only thing we have not specified - * on the caps is the height, which is dependant on the pixel-aspect-ratio + * on the caps is the height, which is dependent on the pixel-aspect-ratio * of the source material */ #if 0 caps = GST_BUFFER_CAPS (buffer); diff --git a/tests/examples/snapshot/snapshot.c b/tests/examples/snapshot/snapshot.c index e15c740315..b0f2478ae7 100644 --- a/tests/examples/snapshot/snapshot.c +++ b/tests/examples/snapshot/snapshot.c @@ -115,7 +115,7 @@ main (int argc, char *argv[]) /* get the snapshot buffer format now. We set the caps on the appsink so * that it can only be an rgb buffer. The only thing we have not specified - * on the caps is the height, which is dependant on the pixel-aspect-ratio + * on the caps is the height, which is dependent on the pixel-aspect-ratio * of the source material */ caps = gst_sample_get_caps (sample); if (!caps) { diff --git a/tests/icles/stress-playbin.c b/tests/icles/stress-playbin.c index 00bc48ec2f..5d8a825692 100644 --- a/tests/icles/stress-playbin.c +++ b/tests/icles/stress-playbin.c @@ -42,7 +42,7 @@ play_file (const gint delay, const gchar * uri) g_printerr ("Got EOS\n"); break; default: - g_printerr ("Got unexpected %s messge\n", GST_MESSAGE_TYPE_NAME (msg)); + g_printerr ("Got unexpected %s message\n", GST_MESSAGE_TYPE_NAME (msg)); break; } gst_message_unref (msg);