[Spice-devel] [PATCH spice-html5 2/3] Add more stream information in high debug situations at an updateend event.

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


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

diff --git a/display.js b/display.js
index c124483..d4baef7 100644
--- a/display.js
+++ b/display.js
@@ -1111,7 +1111,11 @@ function handle_append_video_buffer_done(e)
     {
         if (STREAM_DEBUG > 0)
             console.log("Stream id " + stream.id + " received updateend after video is gone.");
+        return;
     }
+
+    if (STREAM_DEBUG > 1)
+        console.log(stream.video.currentTime + ":id " +  stream.id + " updateend " + dump_media_element(stream.video));
 }
 
 function handle_video_buffer_error(e)
-- 
2.1.4



More information about the Spice-devel mailing list