GitHub user mike-jumper opened a pull request:

    https://github.com/apache/guacamole-server/pull/128

    GUACAMOLE-307: The "size" instruction can also apply to buffers, not just 
layers.

    When running the guacenc utility against Guacamole session recordings, the 
following warning is sometimes repeatedly printed while the video is encoded:
    
        guacenc: WARNING: Layer index out of bounds: -1
    
    This warning is coming from `guacenc_display_get_layer()`, a function used 
within guacenc to retrieve the layer for a given index, within guacenc's 
implementation of the "size" instruction. Because the "size" instruction can 
apply to both buffers and layers, calling `guacenc_display_get_layer()` is 
incorrect. We should instead use `guacenc_display_get_related_buffer()`, which 
can deal with both buffers and layers.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mike-jumper/guacamole-server fix-guacenc-size

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/guacamole-server/pull/128.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #128
    
----
commit ff6c4b04f4234dfcee667269b761a97603f8a211
Author: Michael Jumper <[email protected]>
Date:   2017-12-08T22:54:15Z

    GUACAMOLE-307: The "size" instruction can also apply to buffers, not just 
layers.

----


---

Reply via email to