<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div><br></div><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial" data-mce-style="line-height: 1.7; color: #000000; font-size: 14px; font-family: Arial;"><div>Hi,</div><div><br></div><div>My spice server is 0.14.1 and gtk is master in the repository.</div><div><br></div><div>I was testing video stream. I set video-streaming to "filter" and played a .mp4 file. The CPU usage of the gtk is about 180%. When I pause the video, theoretically the stream should be destroyed and no data sould be sent, but the server still sending streaming data, and the gtk CPU usage was still 180%.</div><div><br></div><div>I added log to spice server and found <span style="color: rgb(220, 220, 170); background-color: rgb(30, 30, 30); font-family: Consolas, "Courier New", monospace; white-space: pre;" data-mce-style="color: #dcdcaa; background-color: #1e1e1e; font-family: Consolas, 'Courier New', monospace; white-space: pre;">video_stream_maintenance</span> was always called to attach drawable to stream, then sent to the client.</div><div><br></div><div>Is that a bug? Souuldn't the server destroy the stream when the video is paused so there is no data to be sent?</div></div></blockquote><div>Probably of your player that keeps drawing the last frame, spice-server don't craft frames, video_stream_maintainance is called when new frames arrive.<br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial" data-mce-style="line-height: 1.7; color: #000000; font-size: 14px; font-family: Arial;"><div>BR,</div><div>Don</div></div></blockquote><div>Frediano</div></div></body></html>