[vlc-devel] [PATCH 2/2] srt: Read several chunks per blocking read call

Olivier Crête olivier.crete at collabora.com
Mon Oct 15 17:26:30 CEST 2018


Hi,

On Fri, 2018-10-12 at 15:15 +0200, Romain Vimont wrote:
> On Mon, Aug 20, 2018 at 10:20:10AM +0300, Olivier Crête wrote:
> > On Thu, 2018-07-26 at 17:47 -0400, Olivier Crête wrote:
> > > 
> If the first srt_recvmsg() returns <= 0, then BlockSRT() now returns
> an
> empty block_t, while it returned NULL before the patch.
> 
> I don't know if this is important.
> 

What does returning an empty block do to VLC ?

If srt_recvmsg() returns 0, the right behaviour is to just call the
poll function again. I'll make an update which frees the block if the
size is 0 unless you tell me it's not the right way to do it.

-- 
Olivier Crête
olivier.crete at collabora.com



More information about the vlc-devel mailing list