From fff92908b2bb5ae06f33ade2f85420ed5f42df0e Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Thu, 27 Oct 2016 19:04:55 +0200 Subject: [PATCH] streaming: Clarify GStreamer's virtual buffer size documentation Signed-off-by: Francois Gouget Acked-by: Frediano Ziglio --- 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 641ae96a..3d5f8a06 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