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

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

 



Signed-off-by: Francois Gouget <fgouget@xxxxxxxxxxxxxxx>
---
 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.
      */
     void (*queue_frame)(VideoDecoder *decoder, SpiceMsgIn *frame_msg, int32_t latency);
 
-- 
2.8.1
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




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