I sent out a similar series earlier, but it was a bit haphazard and we weren't sure if it was really worth pursuing. I hope this series is a bit more targeted and doesn't try to do too much. This series also adds a GSource for video stream timeouts, which helps encapsulate more of the video stream stuff within the display channel rather than having the RedWorker handle it. Jonathon Jongsma (7): Rename RedStreamClipItem to VideoStreamClipItem VideoStream: store channel in stream Move stream creation/maintenance funcs to DisplayChannel DisplayChannel: Use NSEC_PER_MILLISEC DisplayChannel: add GSource for video stream timeouts video_stream_detach_and_stop -> display_channel_stop_video_streams() Move dcc_detach_stream_gracefully to dcc.[ch] server/dcc-send.c | 4 +- server/dcc.c | 84 +++++++- server/dcc.h | 3 + server/display-channel.c | 540 ++++++++++++++++++++++++++++++++++++++++++++-- server/display-channel.h | 3 +- server/red-worker.c | 11 +- server/video-stream.c | 551 ++--------------------------------------------- server/video-stream.h | 20 +- 8 files changed, 631 insertions(+), 585 deletions(-) -- 2.13.6 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel