[Spice-devel] [client] streaming: Fix the VideoDecoder queue_frame() documentation

Victor Toso lists at victortoso.com
Mon Aug 22 13:32:51 UTC 2016


Hi,

On Fri, Aug 19, 2016 at 06:53:15PM +0200, Francois Gouget wrote:
> Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
> ---
>  src/channel-display-priv.h | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)
> 
> diff --git a/src/channel-display-priv.h b/src/channel-display-priv.h
> index 3fcf2e2..aa57f95 100644
> --- a/src/channel-display-priv.h
> +++ b/src/channel-display-priv.h
> @@ -42,15 +42,14 @@ struct VideoDecoder {
>      void (*destroy)(VideoDecoder *decoder);
>  
>      /* Notifies the decoder that the mm-time clock changed. */
> -    void (*reschedule)(VideoDecoder *video_decoder);
> +    void (*reschedule)(VideoDecoder *decoder);
>  
>      /* Decompresses the specified frame.
>       *
>       * @decoder:   The video decoder.
>       * @frame_msg: The Spice message containing the compressed frame.
> -     * @return:    A pointer to the buffer holding the decoded frame. This
> -     *             buffer will be invalidated by the next call to
> -     *             decode_frame().
> +     * @latency:   How long in milliseconds until the frame should be
> +     *             displayed. Negative values mean the frame is late.
>       */

Acked-by: Victor Toso <victortoso at redhat.com>
and pushed a04731b9caa0cb0b69a76de2d419c57f4c4c9f29

Cheers,
  toso
>      void (*queue_frame)(VideoDecoder *decoder, SpiceMsgIn *frame_msg, int32_t latency);
>  
> -- 
> 2.8.1
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel


More information about the Spice-devel mailing list