[gst-cvs] gst-plugins-base: videoscale: Only convert one buffer instead of five

Sebastian Dröge slomo at kemper.freedesktop.org
Mon Jun 14 07:02:53 PDT 2010


Module: gst-plugins-base
Branch: master
Commit: b62f435fd0b290517b4cf1099e924822396893e1
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=b62f435fd0b290517b4cf1099e924822396893e1

Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date:   Mon Jun 14 16:02:13 2010 +0200

videoscale: Only convert one buffer instead of five

Should make the unit test a lot faster.

---

 tests/check/elements/videoscale.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/check/elements/videoscale.c b/tests/check/elements/videoscale.c
index 723acfa..31c4a9b 100644
--- a/tests/check/elements/videoscale.c
+++ b/tests/check/elements/videoscale.c
@@ -107,7 +107,7 @@ run_test (const GstCaps * caps, gint src_width, gint src_height,
 
   src = gst_element_factory_make ("videotestsrc", "src");
   fail_unless (src != NULL);
-  g_object_set (G_OBJECT (src), "num-buffers", 5, NULL);
+  g_object_set (G_OBJECT (src), "num-buffers", 1, NULL);
 
   ffmpegcolorspace = gst_element_factory_make ("ffmpegcolorspace", "csp");
   fail_unless (ffmpegcolorspace != NULL);





More information about the Gstreamer-commits mailing list