[Spice-devel] [PATCH spice-html5 3/4] Move the queue length debug up to stream level 2.

Jeremy White jwhite at codeweavers.com
Thu Dec 15 16:46:57 UTC 2016


It's a fair amount of noise, and not useful at level 1.

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

diff --git a/display.js b/display.js
index 0646744..788fcc6 100644
--- a/display.js
+++ b/display.js
@@ -1185,7 +1185,7 @@ function video_handle_event_debug(e)
     if (STREAM_DEBUG > 1 && s.source_buffer)
         console.log("  source_buffer " + dump_source_buffer(s.source_buffer));
 
-    if (STREAM_DEBUG > 0 || s.queue.length > 1)
+    if (STREAM_DEBUG > 1 || s.queue.length > 1)
         console.log('  queue len ' + s.queue.length + '; append_okay: ' + s.append_okay);
 }
 
-- 
2.1.4



More information about the Spice-devel mailing list