summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois Gouget <fgouget@codeweavers.com>2016-08-19 18:53:15 +0200
committerVictor Toso <victortoso@redhat.com>2016-08-22 15:27:48 +0200
commita04731b9caa0cb0b69a76de2d419c57f4c4c9f29 (patch)
treea46cc8348a289a027c437b7d55cd472669e1949f
parent11dcc17b0a01e9f06a3cc6dbb6051326779677e3 (diff)
streaming: Fix the VideoDecoder queue_frame() documentation
Signed-off-by: Francois Gouget <fgouget@codeweavers.com> Acked-by: Victor Toso <victortoso@redhat.com>
-rw-r--r--src/channel-display-priv.h7
1 files 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);