[vlc-commits] vlc_codec: decoder_QueueCc: fix documentation

Filip Roséen git at videolan.org
Thu May 18 18:21:34 CEST 2017


vlc | branch: master | Filip Roséen <filip at atch.se> | Thu May 18 12:50:30 2017 +0200| [c68b0850ce94838b6b2d68ff3eae7082cac03473] | committer: Rémi Denis-Courmont

vlc_codec: decoder_QueueCc: fix documentation

These changes include removal of a duplicate usage of "queues", as
well as extending the documentation to include description of all
arguments.

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c68b0850ce94838b6b2d68ff3eae7082cac03473
---

 include/vlc_codec.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/include/vlc_codec.h b/include/vlc_codec.h
index 4066b72792..f152fa14cf 100644
--- a/include/vlc_codec.h
+++ b/include/vlc_codec.h
@@ -305,8 +305,12 @@ static inline int decoder_QueueVideo( decoder_t *dec, picture_t *p_pic )
 }
 
 /**
- * This function queues queues the Closed Captions
+ * This function queues the Closed Captions
  *
+ * \param dec the decoder object
+ * \param p_cc the closed-caption to queue
+ * \param p_cc_present array-of-bool where each entry indicates whether the
+ *                     given channel is present or not
  * \return 0 if queued, -1 on error
  */
 static inline int decoder_QueueCc( decoder_t *dec, block_t *p_cc,



More information about the vlc-commits mailing list