[Spice-devel] [PATCH spice-streaming-agent 0/2] built-in plugins improvements

Lukáš Hrázký lhrazky at redhat.com
Tue Jan 30 11:19:21 UTC 2018


Some improvements to the built-in plugins (= mjpeg plugin).

Note I did minimal changes required, the plugin registration can be
further improved, likely by c3d's patches.

Frediano: I did the header split-off in a separate commit, you were
right it can be merged without 2/2. I still think the code is better
without the static initialization.

Lukáš Hrázký (2):
  mjpeg plugin: split off the declaration into a header
  explicit instead of static registration for built-in plugins

 src/Makefile.am               |  2 --
 src/concrete-agent.cpp        |  3 ---
 src/mjpeg-fallback.cpp        | 32 +++++++-------------------------
 src/mjpeg-fallback.hpp        | 35 +++++++++++++++++++++++++++++++++++
 src/spice-streaming-agent.cpp |  4 ++++
 src/static-plugin.cpp         | 23 -----------------------
 src/static-plugin.hpp         | 35 -----------------------------------
 7 files changed, 46 insertions(+), 88 deletions(-)
 create mode 100644 src/mjpeg-fallback.hpp
 delete mode 100644 src/static-plugin.cpp
 delete mode 100644 src/static-plugin.hpp

-- 
2.16.1



More information about the Spice-devel mailing list