[vlc-devel] Re: stream_Block blocking?
fenrir at via.ecp.fr
Wed May 23 09:44:25 CEST 2007
On Tue, May 22, 2007, Rémi Denis-Courmont wrote:
> Le lundi 21 mai 2007, Brian Raymond a écrit :
> > I was looking at stream_Block in vlc_stream.h and the comment
> > indicates it's non blocking however it seems to block until the there
> > are enough bytes available to fill the requested size.
> It is non-blocking. If not there is a bug.
Nope, stream_Read/Block are blocking (it is access_Block which is not)
(They will stop blocking when ask to stop or at the end of the stream)
Because of the stream layer between access and demuxer it would be hard
to implement what you ask, are you sure you really need it ?
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel