[vlc-commits] vlc_codec: decoder_GetPicture doesn't exist anymore
Steve Lhomme
git at videolan.org
Tue Oct 4 09:29:27 CEST 2016
vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Tue Oct 4 08:45:45 2016 +0200| [8111ce91945ac3202a8c5468311dfd83ab8bc9bb] | committer: Thomas Guillem
vlc_codec: decoder_GetPicture doesn't exist anymore
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8111ce91945ac3202a8c5468311dfd83ab8bc9bb
---
include/vlc_codec.h | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/include/vlc_codec.h b/include/vlc_codec.h
index 85bc487..af7b979 100644
--- a/include/vlc_codec.h
+++ b/include/vlc_codec.h
@@ -212,7 +212,7 @@ struct encoder_t
* This function notifies the video output pipeline of a new video output
* format (fmt_out.video). If there was no video output from the decoder so far
* or if the video output format has changed, a new video output will be set
- * up. decoder_GetPicture() can then be used to allocate picture buffers.
+ * up. decoder_NewPicture() can then be used to allocate picture buffers.
*
* If the format is unchanged, this function has no effects and returns zero.
*
@@ -253,12 +253,11 @@ static inline picture_t *decoder_NewPicture( decoder_t *dec )
}
/**
- * Abort any calls of decoder_NewPicture / decoder_GetPicture
+ * Abort any calls of decoder_NewPicture
*
- * If b_abort is true, all pending and futures calls of decoder_NewPicture /
- * decoder_GetPicture will be aborted. This function can be used by
- * asynchronous video decoders to unblock a thread that is waiting for a
- * picture.
+ * If b_abort is true, all pending and futures calls of decoder_NewPicture
+ * will be aborted. This function can be used by asynchronous video decoders
+ * to unblock a thread that is waiting for a picture.
*/
VLC_API void decoder_AbortPictures( decoder_t *dec, bool b_abort );
More information about the vlc-commits
mailing list