[Spice-devel] [spice-server 0/3] encoders: Wrap SpiceChunks handling in a helper class

Christophe Fergeau cfergeau at redhat.com
Fri Sep 9 13:37:19 UTC 2016


Hey,

The gstreamer encoder was doing a bit too many manual iterations/operations
on SpiceChunks to skip chunks, get data, ... This series adds a helper class to
move all this code out of the encoder itself and make the code flow more obvious.
I don't think this makes a big difference in the number of lines of codes, but imo
this makes the code more readable, and makes the SpiceChunks handling code easier
to test/debug if needed.

Christophe



More information about the Spice-devel mailing list