summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>2020-06-08 09:33:10 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>2020-06-08 17:58:29 +0200
commit0594d2f981cd714bc10bb35ebb39fbc09ebb1a95 (patch)
tree25021273b525ee9e311aae581323f4b641369cc5 /tests
parent54810bf44f27d9c180730f58f16f6e172c7b0bc8 (diff)
downloadgstreamer-plugins-good-0594d2f981cd714bc10bb35ebb39fbc09ebb1a95.tar.gz
tests: vp9enc: enforce I420 format
Test was not enforcing a video format on videotestsrc. I420 was picked as it was the first format in GST_VIDEO_FORMATS_ALL which will no longer be true (gst-plugins-base!689). Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/615>
Diffstat (limited to 'tests')
-rw-r--r--tests/check/elements/vp9enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check/elements/vp9enc.c b/tests/check/elements/vp9enc.c
index b7ae12fd9..de9eabb62 100644
--- a/tests/check/elements/vp9enc.c
+++ b/tests/check/elements/vp9enc.c
@@ -43,7 +43,7 @@ GST_START_TEST (test_encode_lag_in_frames)
gint i;
gst_harness_add_src_parse (h, "videotestsrc is-live=true pattern=black ! "
- "capsfilter caps=\"video/x-raw,width=320,height=240,framerate=25/1\"",
+ "capsfilter caps=\"video/x-raw,format=I420,width=320,height=240,framerate=25/1\"",
TRUE);
/* Push 20 buffers into the encoder */