videoscale: Only convert one buffer instead of five
Should make the unit test a lot faster.
This commit is contained in:
parent
7b2584ed68
commit
b62f435fd0
@ -107,7 +107,7 @@ run_test (const GstCaps * caps, gint src_width, gint src_height,
|
|||||||
|
|
||||||
src = gst_element_factory_make ("videotestsrc", "src");
|
src = gst_element_factory_make ("videotestsrc", "src");
|
||||||
fail_unless (src != NULL);
|
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");
|
ffmpegcolorspace = gst_element_factory_make ("ffmpegcolorspace", "csp");
|
||||||
fail_unless (ffmpegcolorspace != NULL);
|
fail_unless (ffmpegcolorspace != NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user