[Spice-commits] 3 commits - server/dcc.c server/glz-encoder-dict.c server/gstreamer-encoder.c server/image-encoders.c

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jul 4 09:06:18 UTC 2019


 server/dcc.c               |    2 +-
 server/glz-encoder-dict.c  |    2 +-
 server/gstreamer-encoder.c |    2 +-
 server/image-encoders.c    |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit c964ca4040f43e4080ef297e901253fa98650e78
Author: Uri Lublin <uril at redhat.com>
Date:   Wed Jul 3 17:34:17 2019 +0300

    typo: fix the spelling of precede
    
    Acked-by: Frediano Ziglio <fziglio at redhat.com>

diff --git a/server/glz-encoder-dict.c b/server/glz-encoder-dict.c
index c3c4606c..7bf16bfb 100644
--- a/server/glz-encoder-dict.c
+++ b/server/glz-encoder-dict.c
@@ -410,7 +410,7 @@ static WindowImage *glz_dictionary_window_get_new_head(SharedDictionary *dict, i
     GLZ_ASSERT(dict->cur_usr, dict->window.used_segs_head != NULL_IMAGE_SEG_ID);
     GLZ_ASSERT(dict->cur_usr, dict->window.used_segs_tail != NULL_IMAGE_SEG_ID);
 
-    // used_segs_head is the latest logical head (the physical head may preceed it)
+    // used_segs_head is the latest logical head (the physical head may precede it)
     cur_head = dict->window.segs[dict->window.used_segs_head].image;
     cur_win_size = dict->window.segs[dict->window.used_segs_tail].pixels_num +
         dict->window.segs[dict->window.used_segs_tail].pixels_so_far -
diff --git a/server/gstreamer-encoder.c b/server/gstreamer-encoder.c
index 172745e5..1fd1633e 100644
--- a/server/gstreamer-encoder.c
+++ b/server/gstreamer-encoder.c
@@ -667,7 +667,7 @@ static void set_bit_rate(SpiceGstEncoder *encoder, uint64_t bit_rate)
     encoder->vbuffer_size = new_size;
     update_next_frame_mm_time(encoder);
 
-    /* Frames preceeding the bit rate change are not relevant to the current
+    /* Frames preceding the bit rate change are not relevant to the current
      * situation anymore.
      */
     encoder->stat_first = encoder->history_last;
commit 44d6d587b0aaac55d6cc5897bc5b6dc5d90f7ef9
Author: Uri Lublin <uril at redhat.com>
Date:   Wed Jul 3 17:34:16 2019 +0300

    typo: image-encoders: fix the spelling of guaranteed
    
    Acked-by: Frediano Ziglio <fziglio at redhat.com>

diff --git a/server/image-encoders.c b/server/image-encoders.c
index d4d486c3..81dc076a 100644
--- a/server/image-encoders.c
+++ b/server/image-encoders.c
@@ -217,7 +217,7 @@ static void encoder_data_reset(EncoderData *data)
 }
 
 /* Allocate more space for compressed buffer.
- * The pointer returned in io_ptr is garanteed to be aligned to 4 bytes.
+ * The pointer returned in io_ptr is guaranteed to be aligned to 4 bytes.
  */
 static int encoder_usr_more_space(EncoderData *enc_data, uint8_t **io_ptr)
 {
commit 8c510901ddca990a4662388dc837464b7f61b104
Author: Uri Lublin <uril at redhat.com>
Date:   Wed Jul 3 17:34:15 2019 +0300

    typo: dcc: fix the spelling of unknown
    
    Acked-by: Frediano Ziglio <fziglio at redhat.com>

diff --git a/server/dcc.c b/server/dcc.c
index 71d09b77..bd393e04 100644
--- a/server/dcc.c
+++ b/server/dcc.c
@@ -1177,7 +1177,7 @@ static int dcc_handle_preferred_video_codec_type(DisplayChannelClient *dcc,
 
         if (video_codec < SPICE_VIDEO_CODEC_TYPE_MJPEG ||
             video_codec >= SPICE_VIDEO_CODEC_TYPE_ENUM_END) {
-            spice_debug("Client has sent unknow video-codec (value %d at index %d). "
+            spice_debug("Client has sent unknown video-codec (value %d at index %d). "
                         "Ignoring as server can't handle it",
                          video_codec, i);
             continue;


More information about the Spice-commits mailing list