mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-04 17:52:29 +00:00
tests: libvisual: make run faster
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).
This commit is contained in:
parent
af091928f3
commit
1e4f67472e
1 changed files with 2 additions and 2 deletions
|
@ -43,8 +43,8 @@ test_shutdown_for_factory (const gchar * factory_name)
|
||||||
vis = gst_check_setup_element (factory_name);
|
vis = gst_check_setup_element (factory_name);
|
||||||
|
|
||||||
cf = gst_check_setup_element ("capsfilter");
|
cf = gst_check_setup_element ("capsfilter");
|
||||||
caps = gst_caps_new_simple ("video/x-raw", "width", G_TYPE_INT, 320,
|
caps = gst_caps_new_simple ("video/x-raw", "width", G_TYPE_INT, 64,
|
||||||
"height", G_TYPE_INT, 240, "framerate", GST_TYPE_FRACTION, 15, 1, NULL);
|
"height", G_TYPE_INT, 64, "framerate", GST_TYPE_FRACTION, 15, 1, NULL);
|
||||||
g_object_set (cf, "caps", caps, NULL);
|
g_object_set (cf, "caps", caps, NULL);
|
||||||
gst_caps_unref (caps);
|
gst_caps_unref (caps);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue