[Spice-commits] server/mjpeg-encoder.c
Frediano Ziglio
fziglio at kemper.freedesktop.org
Wed Nov 29 11:18:37 UTC 2017
server/mjpeg-encoder.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 8a9c51bd4f3ff99ccb3911351d96441a5bb6a908
Author: Frediano Ziglio <fziglio at redhat.com>
Date: Tue Nov 28 11:23:44 2017 +0000
mjpeg-encoder: Fix some typos
unexected -> unexpected
esitimation -> estimation
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Acked-by: Christophe Fergeau <cfergeau at redhat.com>
diff --git a/server/mjpeg-encoder.c b/server/mjpeg-encoder.c
index cb70ab1b..d4b5c6fc 100644
--- a/server/mjpeg-encoder.c
+++ b/server/mjpeg-encoder.c
@@ -983,7 +983,7 @@ static void mjpeg_encoder_quality_eval_stop(MJpegEncoder *encoder)
fps = MJPEG_MAX_FPS / 2;
break;
default:
- spice_warning("unexected");
+ spice_warning("unexpected");
return;
}
mjpeg_encoder_reset_quality(encoder, quality_id, fps, 0);
@@ -1025,7 +1025,7 @@ static void mjpeg_encoder_decrease_bit_rate(MJpegEncoder *encoder)
measured_byte_rate = bit_rate_info->sum_enc_size / duration_sec;
measured_fps = bit_rate_info->num_enc_frames / duration_sec;
decrease_size = bit_rate_info->sum_enc_size / bit_rate_info->num_enc_frames;
- spice_debug("bit rate esitimation %.2f (Mbps) fps %u",
+ spice_debug("bit rate estimation %.2f (Mbps) fps %u",
measured_byte_rate*8/1024.0/1024,
measured_fps);
} else {
@@ -1094,7 +1094,7 @@ static void mjpeg_encoder_increase_bit_rate(MJpegEncoder *encoder)
measured_byte_rate = bit_rate_info->sum_enc_size / duration_sec;
measured_fps = bit_rate_info->num_enc_frames / duration_sec;
avg_frame_size = bit_rate_info->sum_enc_size / bit_rate_info->num_enc_frames;
- spice_debug("bit rate esitimation %.2f (Mbps) defined %.2f"
+ spice_debug("bit rate estimation %.2f (Mbps) defined %.2f"
" fps %u avg-frame-size=%.2f (KB)",
measured_byte_rate*8/1024.0/1024,
rate_control->byte_rate*8/1024.0/1024,
More information about the Spice-commits
mailing list