summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@hotmail.com>2013-12-07 15:40:32 +0100
committerTim-Philipp Müller <tim@centricular.com>2013-12-07 17:09:39 +0000
commite8ecf3c407e6733232013fafc52af8c98e931bc6 (patch)
tree4c6c36f3163902aba3f6cd6f750238df8471aace
parente7f514efbc32646b86024de4d42aa120de52d971 (diff)
Fix some typos in code comments and debug messages
https://bugzilla.gnome.org/show_bug.cgi?id=720029
-rw-r--r--gst/gstobject.c2
-rw-r--r--gst/gstpad.c8
-rw-r--r--libs/gst/base/gstbaseparse.c2
-rw-r--r--libs/gst/base/gstbasesink.c4
-rw-r--r--libs/gst/base/gstbasetransform.c2
-rw-r--r--tests/check/gst/gstsegment.c2
-rw-r--r--tests/check/gst/gststructure.c4
7 files changed, 12 insertions, 12 deletions
diff --git a/gst/gstobject.c b/gst/gstobject.c
index dae18712c..915d862e4 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 d3c04447f..8a34111a4 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 629b92b40..0fa008fb0 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 88f9c3201..3cf56b676 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 be75cff4c..7551a65a0 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 4c15133cd..1a4ce3439 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 86cd39334..8a0bf7d37 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 ();