Fix some typos in code comments and debug messages

https://bugzilla.gnome.org/show_bug.cgi?id=720029
This commit is contained in:
Sebastian Rasmussen 2013-12-07 15:40:32 +01:00 committed by Tim-Philipp Müller
parent e7f514efbc
commit e8ecf3c407
7 changed files with 12 additions and 12 deletions

View file

@ -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);

View file

@ -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;

View file

@ -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");
}
/**

View file

@ -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;

View file

@ -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;

View file

@ -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,

View file

@ -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 ();