Commit 3d0989e9 authored by Michael Smith's avatar Michael Smith

Fix some minor documentation typos

Original commit message from CVS:
Fix some minor documentation typos
parent e4890b82
......@@ -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))
......
......@@ -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);
......
......@@ -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)
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment