tests: svthevcenc: Fix test_encode_simple

Pick the same I420 format the other test use. Without this, the source
picks AYUV64, which fails.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1573>
This commit is contained in:
Jan Alexander Steffens (heftig) 2020-09-12 02:48:43 +02:00 committed by GStreamer Merge Bot
parent fbbf9c629a
commit 3ea6387f96

View file

@ -29,7 +29,7 @@ GST_START_TEST (test_encode_simple)
h = gst_harness_new_parse ("svthevcenc speed=9 bitrate=1000 ! h265parse");
gst_harness_add_src_parse (h, "videotestsrc is-live=true ! "
"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 25 buffers into the encoder */