summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPiotr Fusik <fox@scene.pl>2011-09-07 13:14:38 +0200
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2011-09-07 18:03:17 +0100
commit14f5518f3da03850158b1f931d6271aa9f6c2c4d (patch)
tree7e598ca4e893f263987f7199c7b31a83928acf58 /tests
parent92ad7f0d6bcfc0283f79bff63bda59ae00e192e2 (diff)
docs, gst: typo fixes
https://bugzilla.gnome.org/show_bug.cgi?id=658449
Diffstat (limited to 'tests')
-rw-r--r--tests/benchmarks/capsnego.c4
-rw-r--r--tests/check/elements/filesink.c2
-rw-r--r--tests/check/generic/sinks.c6
-rw-r--r--tests/check/gst/gstelementfactory.c2
-rw-r--r--tests/check/gst/gstevent.c2
5 files changed, 8 insertions, 8 deletions
diff --git a/tests/benchmarks/capsnego.c b/tests/benchmarks/capsnego.c
index 7ea534cb0..3d05d1403 100644
--- a/tests/benchmarks/capsnego.c
+++ b/tests/benchmarks/capsnego.c
@@ -19,7 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
-/* this benchmark recursively builds a pipeline and meassures the time to go
+/* this benchmark recursively builds a pipeline and measures the time to go
* from ready to paused.
* The graph size and type can be controlled with a few commandline args:
* -d depth: is the depth of the tree
@@ -260,7 +260,7 @@ main (gint argc, gchar * argv[])
g_print ("%" GST_TIME_FORMAT " built pipeline with %d elements\n",
GST_TIME_ARGS (end - start), GST_BIN_NUMCHILDREN (bin));
- /* meassure */
+ /* measure */
g_print ("starting pipeline\n");
gst_element_set_state (GST_ELEMENT (bin), GST_STATE_READY);
GST_DEBUG_BIN_TO_DOT_FILE (bin, GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE, "capsnego");
diff --git a/tests/check/elements/filesink.c b/tests/check/elements/filesink.c
index 3188a7ff5..2e37ad75a 100644
--- a/tests/check/elements/filesink.c
+++ b/tests/check/elements/filesink.c
@@ -163,7 +163,7 @@ GST_START_TEST (test_seeking)
gst_event_new_new_segment (TRUE, 1.0, GST_FORMAT_BYTES, 8800, -1,
0))) {
GST_LOG ("seek ok");
- /* make sure that that new position is reported immediately */
+ /* make sure that new position is reported immediately */
CHECK_QUERY_POSITION (filesink, GST_FORMAT_BYTES, 8800);
PUSH_BYTES (1);
CHECK_QUERY_POSITION (filesink, GST_FORMAT_BYTES, 8801);
diff --git a/tests/check/generic/sinks.c b/tests/check/generic/sinks.c
index 2d1de99c2..fd5d62b52 100644
--- a/tests/check/generic/sinks.c
+++ b/tests/check/generic/sinks.c
@@ -930,7 +930,7 @@ GST_START_TEST (test_fake_eos)
fail_unless (ret == GST_STATE_CHANGE_ASYNC, "no ASYNC state return");
/* push buffer of 100 seconds, since it has a timestamp of 0, it should be
- * rendered immediatly and the chain function should return immediatly */
+ * rendered immediately and the chain function should return immediately */
buffer = gst_buffer_new_and_alloc (10);
GST_BUFFER_TIMESTAMP (buffer) = 0;
GST_BUFFER_DURATION (buffer) = 100 * GST_SECOND;
@@ -1085,7 +1085,7 @@ GST_START_TEST (test_async_done)
fail_unless (position == 10 * GST_SECOND, "position is wrong");
/* Since we are paused and the preroll queue has a length of 2, this function
- * will return immediatly, the preroll handoff will be called and the stream
+ * will return immediately, the preroll handoff will be called and the stream
* position should now be 10 seconds. */
GST_DEBUG ("pushing first buffer");
buffer = gst_buffer_new_and_alloc (10);
@@ -1223,7 +1223,7 @@ GST_START_TEST (test_async_done_eos)
fail_unless (position == 10 * GST_SECOND, "position is wrong");
/* Since we are paused and the preroll queue has a length of 1, this function
- * will return immediatly. The EOS will complete the preroll and the
+ * will return immediately. The EOS will complete the preroll and the
* position should now be 10 seconds. */
GST_DEBUG ("pushing EOS");
event = gst_event_new_eos ();
diff --git a/tests/check/gst/gstelementfactory.c b/tests/check/gst/gstelementfactory.c
index 25dcfd190..52add0a4d 100644
--- a/tests/check/gst/gstelementfactory.c
+++ b/tests/check/gst/gstelementfactory.c
@@ -98,7 +98,7 @@ GST_START_TEST (test_can_sink_any_caps)
GST_END_TEST;
-/* test if the factory is compabible with some caps */
+/* test if the factory is compatible with some caps */
GST_START_TEST (test_can_sink_all_caps)
{
GstElementFactory *factory;
diff --git a/tests/check/gst/gstevent.c b/tests/check/gst/gstevent.c
index 8c0829aab..18b8f700c 100644
--- a/tests/check/gst/gstevent.c
+++ b/tests/check/gst/gstevent.c
@@ -480,7 +480,7 @@ GST_START_TEST (send_custom_events)
G_GINT64_FORMAT " us", timediff (&got_event_time, &sent_event_time));
/* In-band downstream events are expected to take at least 1 second
- * to traverse the the queue */
+ * to traverse the queue */
test_event (pipeline, GST_EVENT_CUSTOM_DOWNSTREAM, srcpad, FALSE, srcpad);
fail_unless (timediff (&got_event_time,
&sent_event_time) >= G_USEC_PER_SEC / 2,