Fix some minor documentation typos

Original commit message from CVS:
Fix some minor documentation typos
This commit is contained in:
Michael Smith 2005-10-24 09:13:27 +00:00
parent e4890b82e1
commit 3d0989e9ef
4 changed files with 9 additions and 9 deletions

View file

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

View file

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

View file

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

View file

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