summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorFrediano Ziglio <fziglio@redhat.com>2017-11-28 11:23:44 +0000
committerFrediano Ziglio <fziglio@redhat.com>2017-11-29 11:17:21 +0000
commit8a9c51bd4f3ff99ccb3911351d96441a5bb6a908 (patch)
tree81d35ef5cae0219d4c6cab2d4eaea9eb06bd5ce0 /server
parent529ab493829636cefe32514fcee9fde1da4240cf (diff)
mjpeg-encoder: Fix some typos
unexected -> unexpected esitimation -> estimation Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Christophe Fergeau <cfergeau@redhat.com>
Diffstat (limited to 'server')
-rw-r--r--server/mjpeg-encoder.c6
1 files changed, 3 insertions, 3 deletions
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,