tests: 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-rtsp-server/-/merge_requests/129>
This commit is contained in:
Guillaume Desmottes 2020-06-08 09:45:15 +02:00
parent 7e598e9184
commit 77eead2874

View file

@ -34,7 +34,7 @@
"ignore-notnegotiated=false convert-to=ok" "ignore-notnegotiated=false convert-to=ok"
#define VIDEO_PIPELINE "videotestsrc ! " \ #define VIDEO_PIPELINE "videotestsrc ! " \
ERRORIGNORE " ! " \ ERRORIGNORE " ! " \
"video/x-raw,width=352,height=288 ! " \ "video/x-raw,format=I420,width=352,height=288 ! " \
"rtpgstpay name=pay0 pt=96" "rtpgstpay name=pay0 pt=96"
#define AUDIO_PIPELINE "audiotestsrc ! " \ #define AUDIO_PIPELINE "audiotestsrc ! " \
ERRORIGNORE " ! " \ ERRORIGNORE " ! " \