[Spice-devel] [client v2 0/5] Abstract video streaming from the network details

Francois Gouget fgouget at codeweavers.com
Wed Apr 12 13:50:25 UTC 2017


On Thu, 6 Apr 2017, Francois Gouget wrote:

> Currently the video decoders are directly passed network messages which 
> ties them pretty closely to the network code. Should the protocol switch 
> to a new type of messages the video decoding code will need to be 
> updated. Even worse, it will have to deal with two types of network 
> messages for backward compatiblity.
> 
> So I feel it's better to try and separate the two which is what I've 
> done in the first two patches.
> 
> The third one does not really change the code much, it just separates 
> the code that creates / destroys the display_stream objects from the 
> code that handles the network messages leading to their creation / 
> destruction.
> 
> Changes from v1:
>  * Add a patch documenting the steps each frame goes through in the 
>    GStreamer decoder, along with lifetime information.
>  * Rename SpiceMetaFrame to SpiceGstFrame.
>  * Separate renaming SpiceFrame to SpiceGstFrame from the patch removing 
>    the video decoder's dependency on SpiceMsgIn messages.
>  * Tweaked that patch to minimize changes.
>  * Fixed the type of the SpiceGstFrame.sample field.


Is this round better?


-- 
Francois Gouget <fgouget at codeweavers.com>


More information about the Spice-devel mailing list