[Spice-devel] [PATCH spice-server] mjpeg-encoder: Fix some typos

Christophe Fergeau cfergeau at redhat.com
Wed Nov 29 11:06:22 UTC 2017


Sure,

Acked-by: Christophe Fergeau <cfergeau at redhat.com>

On Tue, Nov 28, 2017 at 11:25:09AM +0000, Frediano Ziglio wrote:
> unexected -> unexpected
> esitimation -> estimation
> 
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  server/mjpeg-encoder.c | 6 +++---
>  1 file 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,
> -- 
> 2.14.3
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20171129/454b7068/attachment.sig>


More information about the Spice-devel mailing list