summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrediano Ziglio <freddy77@gmail.com>2021-05-31 07:55:30 +0100
committerFrediano Ziglio <freddy77@gmail.com>2021-06-01 21:47:27 +0100
commitc63f166bb11ccf631b2190ed918e75339af7657d (patch)
tree90e34ef1723d7b5015f6e73736468807da92106d
parent435ba9228fa0fb6404d3e7db5bab38e1ea81329a (diff)
display-channel: Rename parameter for consistency
display_channel -> display. In all the rest of the file display is used. Signed-off-by: Frediano Ziglio <freddy77@gmail.com> Acked-by: Victor Toso <victortoso@redhat.com>
-rw-r--r--server/display-channel.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/display-channel.cpp b/server/display-channel.cpp
index 44e4af34..52abe18f 100644
--- a/server/display-channel.cpp
+++ b/server/display-channel.cpp
@@ -74,17 +74,17 @@ void display_channel_compress_stats_reset(DisplayChannel *display)
image_encoder_shared_stat_reset(&display->priv->encoder_shared_data);
}
-void display_channel_compress_stats_print(DisplayChannel *display_channel)
+void display_channel_compress_stats_print(DisplayChannel *display)
{
#ifdef COMPRESS_STAT
uint32_t id;
- spice_return_if_fail(display_channel);
+ spice_return_if_fail(display);
- id = display_channel->id();
+ id = display->id();
spice_info("==> Compression stats for display %u", id);
- image_encoder_shared_stat_print(&display_channel->priv->encoder_shared_data);
+ image_encoder_shared_stat_print(&display->priv->encoder_shared_data);
#endif
}