From: Sebastian Rasmussen Date: Sat, 7 Dec 2013 14:40:32 +0000 (+0100) Subject: Fix some typos in code comments and debug messages X-Git-Tag: 1.3.1~288 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e8ecf3c407e6733232013fafc52af8c98e931bc6;p=platform%2Fupstream%2Fgstreamer.git Fix some typos in code comments and debug messages https://bugzilla.gnome.org/show_bug.cgi?id=720029 --- diff --git a/gst/gstobject.c b/gst/gstobject.c index dae1871..915d862 100644 --- a/gst/gstobject.c +++ b/gst/gstobject.c @@ -921,7 +921,7 @@ gst_object_get_path_string (GstObject * object) path = g_strdup (""); /* first walk the object hierarchy to build a list of the parents, - * be carefull here with refcounting. */ + * be careful here with refcounting. */ do { if (GST_IS_OBJECT (object)) { parent = gst_object_get_parent (object); diff --git a/gst/gstpad.c b/gst/gstpad.c index d3c0444..8a34111 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -3787,7 +3787,7 @@ probe_stopped: ret = GST_FLOW_OK; break; default: - GST_DEBUG_OBJECT (pad, "an error occured %s", gst_flow_get_name (ret)); + GST_DEBUG_OBJECT (pad, "an error occurred %s", gst_flow_get_name (ret)); break; } return ret; @@ -4014,7 +4014,7 @@ probe_stopped: ret = GST_FLOW_OK; break; default: - GST_DEBUG_OBJECT (pad, "an error occured %s", gst_flow_get_name (ret)); + GST_DEBUG_OBJECT (pad, "an error occurred %s", gst_flow_get_name (ret)); break; } return ret; @@ -4731,7 +4731,7 @@ probe_stopped: GST_DEBUG_OBJECT (pad, "dropped event"); break; default: - GST_DEBUG_OBJECT (pad, "an error occured %s", gst_flow_get_name (ret)); + GST_DEBUG_OBJECT (pad, "an error occurred %s", gst_flow_get_name (ret)); break; } return ret; @@ -5074,7 +5074,7 @@ probe_stopped: ret = GST_FLOW_OK; break; default: - GST_DEBUG_OBJECT (pad, "an error occured %s", gst_flow_get_name (ret)); + GST_DEBUG_OBJECT (pad, "an error occurred %s", gst_flow_get_name (ret)); break; } return ret; diff --git a/libs/gst/base/gstbaseparse.c b/libs/gst/base/gstbaseparse.c index 629b92b..0fa008f 100644 --- a/libs/gst/base/gstbaseparse.c +++ b/libs/gst/base/gstbaseparse.c @@ -3569,7 +3569,7 @@ void gst_base_parse_set_infer_ts (GstBaseParse * parse, gboolean infer_ts) { parse->priv->infer_ts = infer_ts; - GST_INFO_OBJECT (parse, "TS infering: %s", (infer_ts) ? "yes" : "no"); + GST_INFO_OBJECT (parse, "TS inferring: %s", (infer_ts) ? "yes" : "no"); } /** diff --git a/libs/gst/base/gstbasesink.c b/libs/gst/base/gstbasesink.c index 88f9c32..3cf56b6 100644 --- a/libs/gst/base/gstbasesink.c +++ b/libs/gst/base/gstbasesink.c @@ -279,7 +279,7 @@ struct _GstBaseSinkPrivate #define UPDATE_RUNNING_AVG(avg,val) DO_RUNNING_AVG(avg,val,8) /* the windows for these running averages are experimentally obtained. - * possitive values get averaged more while negative values use a small + * positive values get averaged more while negative values use a small * window so we can react faster to badness. */ #define UPDATE_RUNNING_AVG_P(avg,val) DO_RUNNING_AVG(avg,val,16) #define UPDATE_RUNNING_AVG_N(avg,val) DO_RUNNING_AVG(avg,val,4) @@ -2002,7 +2002,7 @@ gst_base_sink_adjust_time (GstBaseSink * basesink, GstClockTime time) time += basesink->priv->latency; - /* apply offset, be carefull for underflows */ + /* apply offset, be careful for underflows */ ts_offset = basesink->priv->ts_offset; if (ts_offset < 0) { ts_offset = -ts_offset; diff --git a/libs/gst/base/gstbasetransform.c b/libs/gst/base/gstbasetransform.c index be75cff..7551a65 100644 --- a/libs/gst/base/gstbasetransform.c +++ b/libs/gst/base/gstbasetransform.c @@ -1558,7 +1558,7 @@ default_prepare_output_buffer (GstBaseTransform * trans, /* figure out how to allocate an output buffer */ if (priv->passthrough) { - /* passthrough, we will not modify the incomming buffer so we can just + /* passthrough, we will not modify the incoming buffer so we can just * reuse it */ GST_DEBUG_OBJECT (trans, "passthrough: reusing input buffer"); *outbuf = inbuf; diff --git a/tests/check/gst/gstsegment.c b/tests/check/gst/gstsegment.c index 4c15133..1a4ce34 100644 --- a/tests/check/gst/gstsegment.c +++ b/tests/check/gst/gstsegment.c @@ -146,7 +146,7 @@ GST_START_TEST (segment_seek_nosize) update = FALSE; /* add 100 to start (to 300), set stop to 200, this is not allowed. * nothing should be updated in the segment. A g_warning is - * emited. */ + * emitted. */ ASSERT_CRITICAL (gst_segment_do_seek (&segment, 1.0, GST_FORMAT_BYTES, GST_SEEK_FLAG_NONE, diff --git a/tests/check/gst/gststructure.c b/tests/check/gst/gststructure.c index 86cd393..8a0bf7d 100644 --- a/tests/check/gst/gststructure.c +++ b/tests/check/gst/gststructure.c @@ -210,7 +210,7 @@ GST_START_TEST (test_to_from_string) fail_unless (st2 != NULL); - /* need to put stuctures into caps to compare */ + /* need to put structures into caps to compare */ caps1 = gst_caps_new_empty (); gst_caps_append_structure (caps1, st1); caps2 = gst_caps_new_empty (); @@ -258,7 +258,7 @@ GST_START_TEST (test_string_properties) fail_unless (st2 != NULL); - /* need to put stuctures into caps to compare */ + /* need to put structures into caps to compare */ caps1 = gst_caps_new_empty (); gst_caps_append_structure (caps1, st1); caps2 = gst_caps_new_empty ();