From 8a9c51bd4f3ff99ccb3911351d96441a5bb6a908 Mon Sep 17 00:00:00 2001 From: Frediano Ziglio Date: Tue, 28 Nov 2017 11:23:44 +0000 Subject: mjpeg-encoder: Fix some typos unexected -> unexpected esitimation -> estimation Signed-off-by: Frediano Ziglio Acked-by: Christophe Fergeau --- server/mjpeg-encoder.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server') 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, -- cgit v1.2.3