[Spice-devel] [spice] streaming: Clarify GStreamer's virtual buffer size documentation

Frediano Ziglio fziglio at redhat.com
Tue Nov 1 12:35:58 UTC 2016


> 
> Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
> ---
>  server/gstreamer-encoder.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/server/gstreamer-encoder.c b/server/gstreamer-encoder.c
> index 6afc7e4..f9cd3ca 100644
> --- a/server/gstreamer-encoder.c
> +++ b/server/gstreamer-encoder.c
> @@ -182,7 +182,8 @@ typedef struct SpiceGstEncoder {
>      /* The bit rate control is performed using a virtual buffer to allow
>       * short term variations: bursts are allowed until the virtual buffer is
>       * full. Then frames are dropped to limit the bit rate. VBUFFER_SIZE
> -     * defines the size of the virtual buffer in milliseconds worth of data.
> +     * defines the size of the virtual buffer in milliseconds worth of data
> +     * while vbuffer_size holds the limit in bytes for the current bit rate.
>       */
>  #   define SPICE_GST_VBUFFER_SIZE 300
>  

Acked-by: Frediano Ziglio <fziglio at redhat.com>

Frediano


More information about the Spice-devel mailing list