diff --git a/gst/gstelement.h b/gst/gstelement.h index 42a401d90f..793d1b9335 100644 --- a/gst/gstelement.h +++ b/gst/gstelement.h @@ -204,7 +204,7 @@ typedef enum * GST_ELEMENT_IS_LOCKED_STATE: * @obj: A #GstElement to query * - * Check if the element is in the loacked state and therefore will ignore state + * Check if the element is in the locked state and therefore will ignore state * changes from its parent object. */ #define GST_ELEMENT_IS_LOCKED_STATE(obj) (GST_OBJECT_FLAG_IS_SET(obj,GST_ELEMENT_LOCKED_STATE)) diff --git a/gst/gstqueue.c b/gst/gstqueue.c index 6387bcf818..1e6b518259 100644 --- a/gst/gstqueue.c +++ b/gst/gstqueue.c @@ -483,7 +483,7 @@ gst_queue_locked_flush (GstQueue * queue) while (!g_queue_is_empty (queue->queue)) { GstMiniObject *data = g_queue_pop_head (queue->queue); - /* Then loose another reference because we are supposed to destroy that + /* Then lose another reference because we are supposed to destroy that data when flushing */ gst_mini_object_unref (data); } @@ -522,7 +522,7 @@ gst_queue_handle_sink_event (GstPad * pad, GstEvent * event) switch (GST_EVENT_TYPE (event)) { case GST_EVENT_FLUSH_START: STATUS (queue, "received flush start event"); - /* forward event, re first as we're going to use it still */ + /* forward event, ref first as we're going to use it still */ gst_event_ref (event); gst_pad_push_event (queue->srcpad, event); @@ -541,7 +541,7 @@ gst_queue_handle_sink_event (GstPad * pad, GstEvent * event) goto done; case GST_EVENT_FLUSH_STOP: STATUS (queue, "received flush stop event"); - /* forward event, re first as we're going to use it still */ + /* forward event, ref first as we're going to use it still */ gst_event_ref (event); gst_pad_push_event (queue->srcpad, event); diff --git a/gst/gstutils.c b/gst/gstutils.c index 9dc594b9bb..d4e27ada5f 100644 --- a/gst/gstutils.c +++ b/gst/gstutils.c @@ -1771,12 +1771,12 @@ gst_pad_can_link (GstPad * srcpad, GstPad * sinkpad) * @pad: the pad to use * * A helper function you can use that sets the - * @gst_pad_get_fixed_caps_func as the gstcaps function for the + * @gst_pad_get_fixed_caps_func as the getcaps function for the * pad. This way the function will always return the negotiated caps * or in case the pad is not negotiated, the padtemplate caps. * * Use this function on a pad that, once _set_caps() has been called - * on it, it cannot be renegotiated to something else. + * on it, cannot be renegotiated to something else. */ void gst_pad_use_fixed_caps (GstPad * pad) diff --git a/plugins/elements/gstqueue.c b/plugins/elements/gstqueue.c index 6387bcf818..1e6b518259 100644 --- a/plugins/elements/gstqueue.c +++ b/plugins/elements/gstqueue.c @@ -483,7 +483,7 @@ gst_queue_locked_flush (GstQueue * queue) while (!g_queue_is_empty (queue->queue)) { GstMiniObject *data = g_queue_pop_head (queue->queue); - /* Then loose another reference because we are supposed to destroy that + /* Then lose another reference because we are supposed to destroy that data when flushing */ gst_mini_object_unref (data); } @@ -522,7 +522,7 @@ gst_queue_handle_sink_event (GstPad * pad, GstEvent * event) switch (GST_EVENT_TYPE (event)) { case GST_EVENT_FLUSH_START: STATUS (queue, "received flush start event"); - /* forward event, re first as we're going to use it still */ + /* forward event, ref first as we're going to use it still */ gst_event_ref (event); gst_pad_push_event (queue->srcpad, event); @@ -541,7 +541,7 @@ gst_queue_handle_sink_event (GstPad * pad, GstEvent * event) goto done; case GST_EVENT_FLUSH_STOP: STATUS (queue, "received flush stop event"); - /* forward event, re first as we're going to use it still */ + /* forward event, ref first as we're going to use it still */ gst_event_ref (event); gst_pad_push_event (queue->srcpad, event);