tests/check/pipelines/theoraenc.c: Pushing 10 buffers is enough to run the test.
authorWim Taymans <wim.taymans@gmail.com>
Thu, 11 Dec 2008 10:33:48 +0000 (10:33 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Thu, 11 Dec 2008 10:33:48 +0000 (10:33 +0000)
Original commit message from CVS:
* tests/check/pipelines/theoraenc.c: (GST_START_TEST):
Pushing 10 buffers is enough to run the test.

ChangeLog
tests/check/pipelines/theoraenc.c

index ee2fe72e0b8fff346aff93d1a46f3f31e1cb0402..c113349e70207f3ca13dc5014b9c8dc634aaf3b9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-12-11  Wim Taymans  <wim.taymans@collabora.co.uk>
+
+       * tests/check/pipelines/theoraenc.c: (GST_START_TEST):
+       Pushing 10 buffers is enough to run the test.
+
 2008-12-11  Wim Taymans  <wim.taymans@collabora.co.uk>
 
        * tests/examples/seek/seek.c: (do_seek), (stop_cb),
index 818627ac7de932d0856fc1dac143dac0a369f5b8..ddc37d61fc5322a87e601760745deb04cb01b9e9 100644 (file)
@@ -135,7 +135,7 @@ GST_START_TEST (test_granulepos_offset)
   GError *error = NULL;
 
   pipe_str = g_strdup_printf ("videotestsrc timestamp-offset=%" G_GUINT64_FORMAT
-      " ! video/x-raw-yuv,format=(fourcc)I420,framerate=10/1"
+      " num-buffers=10 ! video/x-raw-yuv,format=(fourcc)I420,framerate=10/1"
       " ! theoraenc ! fakesink name=fs0", TIMESTAMP_OFFSET);
 
   bin = gst_parse_launch (pipe_str, &error);
@@ -227,7 +227,7 @@ GST_START_TEST (test_continuity)
   GstBuffer *buffer;
   GError *error = NULL;
 
-  pipe_str = g_strdup_printf ("videotestsrc"
+  pipe_str = g_strdup_printf ("videotestsrc num-buffers=10"
       " ! video/x-raw-yuv,format=(fourcc)I420,framerate=10/1"
       " ! theoraenc ! fakesink name=fs0");
 
@@ -325,7 +325,7 @@ GST_START_TEST (test_discontinuity)
   GError *error = NULL;
   guint drop_id;
 
-  pipe_str = g_strdup_printf ("videotestsrc"
+  pipe_str = g_strdup_printf ("videotestsrc num-buffers=10"
       " ! video/x-raw-yuv,format=(fourcc)I420,framerate=10/1"
       " ! theoraenc ! fakesink name=fs0");