Ack On Wed, 2016-08-03 at 10:54 +0100, Frediano Ziglio wrote: > This allow option string to contain separator so you could set as > "field=value ! format". > This is useful as some encoders use the output format to specify > compression types (for instance with some H264 encoders you can > specify the profile to use). > > Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> > --- > server/gstreamer-encoder.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/server/gstreamer-encoder.c b/server/gstreamer-encoder.c > index e364ea3..5a4b7fd 100644 > --- a/server/gstreamer-encoder.c > +++ b/server/gstreamer-encoder.c > @@ -939,7 +939,7 @@ static gboolean create_pipeline(SpiceGstEncoder *encoder) > } > > GError *err = NULL; > - gchar *desc = g_strdup_printf("appsrc is-live=true format=time do- > timestamp=true name=src ! %s ! %s %s name=encoder ! appsink name=sink", > converter, gstenc_name, gstenc_opts); > + gchar *desc = g_strdup_printf("appsrc is-live=true format=time do- > timestamp=true name=src ! %s ! %s name=encoder %s ! appsink name=sink", > converter, gstenc_name, gstenc_opts); (maybe it is a good time to split this long line) > spice_debug("GStreamer pipeline: %s", desc); > encoder->pipeline = gst_parse_launch_full(desc, NULL, > GST_PARSE_FLAG_FATAL_ERRORS, &err); > g_free(gstenc_opts); _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel