[vlc-devel] commit: Export block_FifoPace (Nick Briggs )
git version control
git at videolan.org
Wed Nov 11 17:39:51 CET 2009
vlc | branch: master | Nick Briggs <briggs at parc.com> | Tue Nov 10 14:19:16 2009 -0800| [13691dd9878fd08b9db68f7837848b80ff4b5304] | committer: Rémi Denis-Courmont
Export block_FifoPace
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=13691dd9878fd08b9db68f7837848b80ff4b5304
---
include/vlc_block.h | 4 ++--
src/libvlccore.sym | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/vlc_block.h b/include/vlc_block.h
index 4b629fc..887cd2d 100644
--- a/include/vlc_block.h
+++ b/include/vlc_block.h
@@ -292,6 +292,7 @@ static inline block_t *block_ChainGather( block_t *p_list )
****************************************************************************
* - block_FifoNew : create and init a new fifo
* - block_FifoRelease : destroy a fifo and free all blocks in it.
+ * - block_FifoPace : wait for a fifo to drain to a specified number of packets or total data size
* - block_FifoEmpty : free all blocks in a fifo
* - block_FifoPut : put a block
* - block_FifoGet : get a packet from the fifo (and wait if it is empty)
@@ -307,8 +308,7 @@ static inline block_t *block_ChainGather( block_t *p_list )
VLC_EXPORT( block_fifo_t *, block_FifoNew, ( void ) LIBVLC_USED );
VLC_EXPORT( void, block_FifoRelease, ( block_fifo_t * ) );
-/* TODO: do we need to export this? */
-void block_FifoPace (block_fifo_t *fifo, size_t max_depth, size_t max_size);
+VLC_EXPORT( void, block_FifoPace, ( block_fifo_t *fifo, size_t max_depth, size_t max_size ) );
VLC_EXPORT( void, block_FifoEmpty, ( block_fifo_t * ) );
VLC_EXPORT( size_t, block_FifoPut, ( block_fifo_t *, block_t * ) );
VLC_EXPORT( void, block_FifoWake, ( block_fifo_t * ) );
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index 73d2aa2..78011de 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -34,6 +34,7 @@ block_FifoCount
block_FifoEmpty
block_FifoGet
block_FifoNew
+block_FifoPace
block_FifoPut
block_FifoRelease
block_FifoShow
More information about the vlc-devel
mailing list