[Spice-devel] [client] streaming: Fix the VideoDecoder queue_frame() documentation
Francois Gouget
fgouget at codeweavers.com
Fri Aug 19 16:53:15 UTC 2016
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.
*/
void (*queue_frame)(VideoDecoder *decoder, SpiceMsgIn *frame_msg, int32_t latency);
--
2.8.1
More information about the Spice-devel
mailing list