On Wed, 2016-09-28 at 15:32 -0500, Jeremy White wrote: > Signed-off-by: Jeremy White <jwhite@xxxxxxxxxxxxxxx> Acked-by: Pavel Grunt <pgrunt@xxxxxxxxxx> > --- > display.js | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > > diff --git a/display.js b/display.js > index 9fc13c0..6c6b962 100644 > --- a/display.js > +++ b/display.js > @@ -535,7 +535,10 @@ > SpiceDisplayConn.prototype.process_channel_message = function(msg) > if (msg.type == SPICE_MSG_DISPLAY_STREAM_CREATE) > { > var m = new SpiceMsgDisplayStreamCreate(msg.data); > - DEBUG > 1 && console.log(this.type + ": MsgStreamCreate id" > + m.id); > + STREAM_DEBUG > 1 && console.log(this.type + ": > MsgStreamCreate id" + m.id + > + "; width " + m.stream_width > + "; height " + m.stream_height + > + "; left " + m.dest.left + > "; top " + m.dest.top > + ); > if (!this.streams) > this.streams = new Array(); > if (this.streams[m.id]) > @@ -628,7 +631,7 @@ > SpiceDisplayConn.prototype.process_channel_message = function(msg) > if (msg.type == SPICE_MSG_DISPLAY_STREAM_CLIP) > { > var m = new SpiceMsgDisplayStreamClip(msg.data); > - DEBUG > 1 && console.log(this.type + ": MsgStreamClip id" + > m.id); > + STREAM_DEBUG > 1 && console.log(this.type + ": > MsgStreamClip id" + m.id); > this.streams[m.id].clip = m.clip; > return true; > } > @@ -636,7 +639,7 @@ > SpiceDisplayConn.prototype.process_channel_message = function(msg) > if (msg.type == SPICE_MSG_DISPLAY_STREAM_DESTROY) > { > var m = new SpiceMsgDisplayStreamDestroy(msg.data); > - DEBUG > 1 && console.log(this.type + ": MsgStreamDestroy > id" + m.id); > + STREAM_DEBUG > 1 && console.log(this.type + ": > MsgStreamDestroy id" + m.id); > > if (this.streams[m.id].codec_type == > SPICE_VIDEO_CODEC_TYPE_VP8) > { > _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel