Re: [PATCH spice-common] proto: Improve documentation for stream_report::num_drops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Wed, Jul 04, 2018 at 06:57:17PM +0100, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
> ---
>  spice.proto | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/spice.proto b/spice.proto
> index e678ef8..3084c2b 100644
> --- a/spice.proto
> +++ b/spice.proto
> @@ -1005,8 +1005,10 @@ channel DisplayChannel : BaseChannel {
>          // the stream is not supported or that the client was not able
>          // to decode it
>          uint32 num_frames;
> -        // the part of the above frames that were dropped by the client due
> -        // to late arrival time
> +        // the number of the above frames that were dropped by the client due
> +        // to late arrival time (with latency < 0).
> +        // This field set to UINT32_MAX and num_frames set to 0 indicate stream
> +        // not supported by client.

What is missing on the doc above where it says:

 |  // A special case is when num_frames == 0 and num_drops ==
 |  // 0xffffffffu, this is used in the client to communicate that
 |  // the stream is not supported or that the client was not able
 |  // to decode it


>          uint32 num_drops;
>          // end_frame_mm_time - client_mm_time
>          int32 last_frame_delay;
> -- 
> 2.17.1
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/spice-devel

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]