summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2011-09-08 14:23:50 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2011-09-08 14:28:23 +0200
commit43538e2e75b4bdc5fc71a62b472a4b223472c059 (patch)
tree8fc77f478b9d15166c85c083e24d0ee0e6b890ad /plugins
parenta952de69dd7aa216dc7aaf5572ae17229574477a (diff)
parentd3cad28da936b037d877dc70c02286b81b680284 (diff)
Merge branch 'master' into 0.11
Conflicts: docs/design/draft-buffer2.txt docs/design/part-TODO.txt docs/design/part-block.txt docs/design/part-bufferlist.txt docs/design/part-caps.txt docs/design/part-element-transform.txt docs/design/part-events.txt docs/design/part-negotiation.txt gst/gstcaps.c gst/gstevent.h gst/gstghostpad.c gst/gstinterface.c gst/gstpad.c gst/gstpad.h gst/gstutils.c libs/gst/base/gstbasesink.c libs/gst/base/gstbasesrc.c libs/gst/base/gstbasetransform.c libs/gst/base/gsttypefindhelper.c plugins/elements/gstcapsfilter.c plugins/elements/gsttee.c tests/check/generic/sinks.c tools/gst-launch.1.in
Diffstat (limited to 'plugins')
-rw-r--r--plugins/elements/gstidentity.c2
-rw-r--r--plugins/elements/gstmultiqueue.c4
-rw-r--r--plugins/elements/gstqueue2.c8
-rw-r--r--plugins/elements/gsttee.c1
4 files changed, 8 insertions, 7 deletions
diff --git a/plugins/elements/gstidentity.c b/plugins/elements/gstidentity.c
index e1affa9a2..460660fea 100644
--- a/plugins/elements/gstidentity.c
+++ b/plugins/elements/gstidentity.c
@@ -23,7 +23,7 @@
/**
* SECTION:element-identity
*
- * Dummy element that passes incomming data through unmodified. It has some
+ * Dummy element that passes incoming data through unmodified. It has some
* useful diagnostic functions, such as offset and timestamp checking.
*/
diff --git a/plugins/elements/gstmultiqueue.c b/plugins/elements/gstmultiqueue.c
index d65564e18..85083eb33 100644
--- a/plugins/elements/gstmultiqueue.c
+++ b/plugins/elements/gstmultiqueue.c
@@ -1288,7 +1288,7 @@ gst_multi_queue_loop (GstPad * pad)
if (sq->last_time == GST_CLOCK_TIME_NONE || sq->last_time < next_time)
sq->last_time = next_time;
if (mq->high_time == GST_CLOCK_TIME_NONE || mq->high_time <= next_time) {
- /* Wake up all non-linked pads now that we advanceed the high time */
+ /* Wake up all non-linked pads now that we advanced the high time */
mq->high_time = next_time;
wake_up_next_non_linked (mq);
}
@@ -1341,7 +1341,7 @@ out_flushing:
* gst_multi_queue_chain:
*
* This is similar to GstQueue's chain function, except:
- * _ we don't have leak behavioures,
+ * _ we don't have leak behaviours,
* _ we push with a unique id (curid)
*/
static GstFlowReturn
diff --git a/plugins/elements/gstqueue2.c b/plugins/elements/gstqueue2.c
index 33c0ebae6..c89c6cdf7 100644
--- a/plugins/elements/gstqueue2.c
+++ b/plugins/elements/gstqueue2.c
@@ -1038,7 +1038,7 @@ gst_queue2_have_data (GstQueue2 * queue, guint64 offset, guint length)
} else {
GST_INFO_OBJECT (queue, "not found in any range");
/* we don't have the range, see how far away we are, FIXME, find a good
- * threshold based on the incomming rate. */
+ * threshold based on the incoming rate. */
if (!queue->is_eos && queue->current) {
if (QUEUE_IS_USING_RING_BUFFER (queue)) {
if (offset < queue->current->offset || offset >
@@ -1210,7 +1210,7 @@ gst_queue2_create_read (GstQueue2 * queue, guint64 offset, guint length,
/* set range reading_pos to actual reading position for this read */
queue->current->reading_pos = rpos;
- /* congfigure how much and from where to read */
+ /* configure how much and from where to read */
if (QUEUE_IS_USING_RING_BUFFER (queue)) {
file_offset =
(queue->current->rb_offset + (rpos -
@@ -2283,7 +2283,7 @@ out_flushing:
}
}
-/* called repeadedly with @pad as the source pad. This function should push out
+/* called repeatedly with @pad as the source pad. This function should push out
* data to the peer element. */
static void
gst_queue2_loop (GstPad * pad)
@@ -2792,7 +2792,7 @@ gst_queue2_src_activate_pull (GstPad * pad, gboolean active)
result = gst_queue2_open_temp_location_file (queue);
} else if (!queue->ring_buffer) {
queue->ring_buffer = g_malloc (queue->ring_buffer_max_size);
- result = !!queue->ring_buffer;
+ result = ! !queue->ring_buffer;
} else {
result = TRUE;
}
diff --git a/plugins/elements/gsttee.c b/plugins/elements/gsttee.c
index 922220681..90678c6e8 100644
--- a/plugins/elements/gsttee.c
+++ b/plugins/elements/gsttee.c
@@ -488,6 +488,7 @@ gst_tee_sink_event (GstPad * pad, GstEvent * event)
res = gst_pad_event_default (pad, event);
break;
}
+
return res;
}