Changes since v1: - a bit more explicit in defer.hpp; - use set instead of vector for the list of supported codecs. Frediano Ziglio (3): Use defer style destruction instead of old C style and goto Wait to have some client before initialising capture Do not use an encoding not supported by the client src/Makefile.am | 1 + src/concrete-agent.cpp | 5 ++++- src/concrete-agent.hpp | 3 ++- src/defer.hpp | 16 ++++++++++++++++ src/spice-streaming-agent.cpp | 36 +++++++++++++++++++++--------------- 5 files changed, 44 insertions(+), 17 deletions(-) create mode 100644 src/defer.hpp -- 2.13.6 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel