[Spice-devel] [PATCH RFC 12/12] Fix a bug... why this happens ??

Frediano Ziglio fziglio at redhat.com
Fri Jul 15 13:49:37 UTC 2016


Was trying different gstreamer encoders and low bandwidth
---
 server/display-channel.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/server/display-channel.c b/server/display-channel.c
index 967070c..f3fe6c8 100644
--- a/server/display-channel.c
+++ b/server/display-channel.c
@@ -265,6 +265,9 @@ static void pipes_add_drawable_after(DisplayChannel *display,
     int num_other_linked = 0;
 
     DRAWABLE_FOREACH_DPI_SAFE(pos_after, dpi_link, dpi_next, dpi_pos_after) {
+        if (!ring_item_is_linked(&dpi_pos_after->dpi_pipe_item.link)) {
+            continue;
+        }
         num_other_linked++;
         dcc_add_drawable_after(dpi_pos_after->dcc, drawable, &dpi_pos_after->dpi_pipe_item);
     }
-- 
2.7.4



More information about the Spice-devel mailing list