[Spice-devel] [PATCH spice-server] test: Add vp9 support to GStreamer test
Frediano Ziglio
fziglio at redhat.com
Fri Apr 7 11:24:59 UTC 2017
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
server/tests/test-gst.c | 2 ++
server/tests/video-encoders | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/server/tests/test-gst.c b/server/tests/test-gst.c
index 82b9594..d4ebaac 100644
--- a/server/tests/test-gst.c
+++ b/server/tests/test-gst.c
@@ -300,6 +300,8 @@ static const EncoderInfo encoder_infos[] = {
"caps=image/jpeg", "jpegdec" },
{ "gstreamer:vp8", gstreamer_encoder_new, SPICE_VIDEO_CODEC_TYPE_VP8,
"caps=video/x-vp8", "vp8dec" },
+ { "gstreamer:vp9", gstreamer_encoder_new, SPICE_VIDEO_CODEC_TYPE_VP9,
+ "caps=video/x-vp9", "vp9dec" },
{ "gstreamer:h264", gstreamer_encoder_new, SPICE_VIDEO_CODEC_TYPE_H264,
#ifdef HAVE_GSTREAMER_0_10
"", "h264parse ! ffdec_h264" },
diff --git a/server/tests/video-encoders b/server/tests/video-encoders
index ca955c7..039dd21 100755
--- a/server/tests/video-encoders
+++ b/server/tests/video-encoders
@@ -11,7 +11,7 @@ base_test() {
# note that due to some internal alignment we are using odd number for sizes
for clipping in '' '--clipping (10%,10%)x(409,307)'
do
- for encoder in mjpeg 'gstreamer:mjpeg --min-psnr 16' gstreamer:vp8 gstreamer:h264
+ for encoder in mjpeg 'gstreamer:mjpeg --min-psnr 16' gstreamer:vp8 gstreamer:vp9 gstreamer:h264
do
for split in '' '--split-lines=40'
do
--
2.9.3
More information about the Spice-devel
mailing list