[Spice-devel] [PATCH spice-server] test: Add vp9 support to GStreamer test

Christophe Fergeau cfergeau at redhat.com
Fri Apr 7 14:49:46 UTC 2017


Acked-by: Christophe Fergeau <cfergeau at redhat.com>

On Fri, Apr 07, 2017 at 12:24:59PM +0100, Frediano Ziglio wrote:
> 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
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20170407/c1ab2e2d/attachment.sig>


More information about the Spice-devel mailing list