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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]