mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 09:25:42 +00:00
Fix some typos in code comments and debug messages
https://bugzilla.gnome.org/show_bug.cgi?id=720029
This commit is contained in:
parent
e7f514efbc
commit
e8ecf3c407
7 changed files with 12 additions and 12 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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 ();
|
||||
|
|
Loading…
Reference in a new issue