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>
This commit is contained in:
Guillaume Desmottes 2020-06-08 09:33:10 +02:00
parent 54810bf44f
commit 0594d2f981

View file

@ -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 */