mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-27 07:29:32 +00:00
stream: use display_channel_get_stream_id()
As we have a function for that, don't do the math elsewhere. Signed-off-by: Victor Toso <victortoso@redhat.com> Acked-by: Christophe Fergeau <cfergeau@redhat.com>
This commit is contained in:
parent
7254169f7f
commit
970cb2a1d3
@ -422,7 +422,7 @@ static void display_channel_create_stream(DisplayChannel *display, Drawable *dra
|
||||
dcc_create_stream(dcc, stream);
|
||||
}
|
||||
spice_debug("stream %d %dx%d (%d, %d) (%d, %d) %u fps",
|
||||
(int)(stream - display->priv->streams_buf), stream->width,
|
||||
display_channel_get_stream_id(display, stream), stream->width,
|
||||
stream->height, stream->dest_area.left, stream->dest_area.top,
|
||||
stream->dest_area.right, stream->dest_area.bottom,
|
||||
stream->input_fps);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user