[Spice-devel] [PATCH spice-streaming-agent 0/3] Rework option handling

Christophe de Dinechin christophe at dinechin.org
Tue Nov 14 14:49:40 UTC 2017


From: Christophe de Dinechin <dinechin at redhat.com>

Several objectives:
1) Make it easier for each plugin to deal with its own settings and options
2) Give proper usage information with information from each plugin
3) Enable dynamic application of settings, e.g. for debugging purpose
4) Prepare for dynamic adjustment of qualitative parameters
5) Get rid of strange null-terminated std::vector for storing options

Christophe de Dinechin (3):
  Don't tag the plugin interface as 1.0 just yet
  Rework option handling
  Externalize plugins usage

 include/spice-streaming-agent/plugin.hpp | 128 +++++++++++++++++++++++++++----
 m4/spice-compile-warnings.m4             |   2 +
 src/concrete-agent.cpp                   |  88 +++++++++++++++++----
 src/concrete-agent.hpp                   |  31 ++++----
 src/mjpeg-fallback.cpp                   |  90 ++++++++++------------
 src/spice-streaming-agent.cpp            |  23 +++---
 6 files changed, 257 insertions(+), 105 deletions(-)

-- 
2.13.5 (Apple Git-94)



More information about the Spice-devel mailing list