From: Jan Alexander Steffens (heftig) Date: Sat, 12 Sep 2020 00:48:43 +0000 (+0200) Subject: tests: svthevcenc: Fix test_encode_simple X-Git-Tag: 1.19.3~507^2~1280 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3ea6387f969c0b08027fc959b8b8cd102708bceb;p=platform%2Fupstream%2Fgstreamer.git 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: --- diff --git a/tests/check/elements/svthevcenc.c b/tests/check/elements/svthevcenc.c index d1234fc..1b938e1 100644 --- a/tests/check/elements/svthevcenc.c +++ b/tests/check/elements/svthevcenc.c @@ -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 */