[Spice-commits] server/gstreamer-encoder.c
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jul 17 10:40:11 UTC 2019
server/gstreamer-encoder.c | 5 -----
1 file changed, 5 deletions(-)
New commits:
commit 81c90b54b5e5305d02e941c59db64808332bc661
Author: Uri Lublin <uril at redhat.com>
Date: Mon Jul 15 15:39:02 2019 +0300
gst:mjpeg do not set max-threads
1. It was renamed in newer versions to 'threads'
2. The default is 1 anyway
Signed-off-by: Snir Sheriber <ssheribe at redhat.com>
Signed-off-by: Uri Lublin <uril at redhat.com>
Acked-by: Frediano Ziglio <fziglio at redhat.com>
diff --git a/server/gstreamer-encoder.c b/server/gstreamer-encoder.c
index 1fd1633e..3ca04d7a 100644
--- a/server/gstreamer-encoder.c
+++ b/server/gstreamer-encoder.c
@@ -922,12 +922,7 @@ static gboolean create_pipeline(SpiceGstEncoder *encoder)
switch (encoder->base.codec_type)
{
case SPICE_VIDEO_CODEC_TYPE_MJPEG:
-#ifdef HAVE_GSTREAMER_0_10
gstenc_opts = g_strdup("");
-#else
- /* Set max-threads to ensure zero-frame latency */
- gstenc_opts = g_strdup("max-threads=1");
-#endif
break;
case SPICE_VIDEO_CODEC_TYPE_VP9:
case SPICE_VIDEO_CODEC_TYPE_VP8: {
More information about the Spice-commits
mailing list