From 93e5a373eab3f8d717d4e588d8ef4d2af7072929 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 11 Dec 2008 10:33:48 +0000 Subject: [PATCH] tests/check/pipelines/theoraenc.c: Pushing 10 buffers is enough to run the test. Original commit message from CVS: * tests/check/pipelines/theoraenc.c: (GST_START_TEST): Pushing 10 buffers is enough to run the test. --- ChangeLog | 5 +++++ tests/check/pipelines/theoraenc.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index ee2fe72e0..c113349e7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-12-11 Wim Taymans + + * tests/check/pipelines/theoraenc.c: (GST_START_TEST): + Pushing 10 buffers is enough to run the test. + 2008-12-11 Wim Taymans * tests/examples/seek/seek.c: (do_seek), (stop_cb), diff --git a/tests/check/pipelines/theoraenc.c b/tests/check/pipelines/theoraenc.c index 818627ac7..ddc37d61f 100644 --- a/tests/check/pipelines/theoraenc.c +++ b/tests/check/pipelines/theoraenc.c @@ -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"); -- 2.34.1