[Spice-devel] [PATCH spice-html5 1/3] Catch and note updateend messages after video destruction.

Jeremy White jwhite at codeweavers.com
Mon Dec 19 21:20:56 UTC 2016


Signed-off-by: Jeremy White <jwhite at codeweavers.com>
---
 display.js | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/display.js b/display.js
index 40a809e..c124483 100644
--- a/display.js
+++ b/display.js
@@ -1106,6 +1106,12 @@ function handle_append_video_buffer_done(e)
     {
         stream.append_okay = true;
     }
+
+    if (!stream.video)
+    {
+        if (STREAM_DEBUG > 0)
+            console.log("Stream id " + stream.id + " received updateend after video is gone.");
+    }
 }
 
 function handle_video_buffer_error(e)
-- 
2.1.4



More information about the Spice-devel mailing list