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 ee2fe72..c113349 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 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),
        (skip_toggle_cb), (rate_spinbutton_changed_cb), (msg_segment_done),
        (main):
index 818627a..ddc37d6 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");