tests: enforce I420 format
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>
Mon, 8 Jun 2020 07:45:15 +0000 (09:45 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>
Mon, 8 Jun 2020 07:45:15 +0000 (09:45 +0200)
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>

tests/check/gst/rtspserver.c

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