[Spice-commits] src/channel-display-priv.h

Victor Toso de Carvalho victortoso at kemper.freedesktop.org
Mon Aug 22 13:32:01 UTC 2016


 src/channel-display-priv.h |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

New commits:
commit a04731b9caa0cb0b69a76de2d419c57f4c4c9f29
Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Fri Aug 19 18:53:15 2016 +0200

    streaming: Fix the VideoDecoder queue_frame() documentation
    
    Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
    Acked-by: Victor Toso <victortoso at redhat.com>

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.
      */
     void (*queue_frame)(VideoDecoder *decoder, SpiceMsgIn *frame_msg, int32_t latency);
 


More information about the Spice-commits mailing list