tests: libvisual: make run faster
authorTim-Philipp Müller <tim@centricular.com>
Mon, 25 Jan 2016 16:22:17 +0000 (16:22 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 25 Jan 2016 16:22:17 +0000 (16:22 +0000)
Reduce resolution, which shouldn't make any difference
to what's tested here. Makes test finish in less than
half the time it took before (8s vs. 21s).

tests/check/elements/libvisual.c

index 783a428..5dbee68 100644 (file)
@@ -43,8 +43,8 @@ test_shutdown_for_factory (const gchar * factory_name)
   vis = gst_check_setup_element (factory_name);
 
   cf = gst_check_setup_element ("capsfilter");
-  caps = gst_caps_new_simple ("video/x-raw", "width", G_TYPE_INT, 320,
-      "height", G_TYPE_INT, 240, "framerate", GST_TYPE_FRACTION, 15, 1, NULL);
+  caps = gst_caps_new_simple ("video/x-raw", "width", G_TYPE_INT, 64,
+      "height", G_TYPE_INT, 64, "framerate", GST_TYPE_FRACTION, 15, 1, NULL);
   g_object_set (cf, "caps", caps, NULL);
   gst_caps_unref (caps);