[vlc-devel] [PATCH v4] udp: pull and buffer received packets in udp access module

Rémi Denis-Courmont remi at remlab.net
Tue Aug 20 18:52:08 CEST 2013


Le mercredi 21 août 2013 00:41:36 Tzu-Jung Lee a écrit :
> On Wed, Aug 21, 2013 at 12:33 AM, Rémi Denis-Courmont <remi at remlab.net> 
wrote:
> > Le lundi 19 août 2013 03:27:02 Tzu-Jung Lee a écrit :
> >> Signed-off-by: Tzu-Jung Lee <tjlee at ambarella.com>
> >> ---
> >> 
> >> Test memory allocation with unlikely() optimization.
> >> Continue streaming when the net_Read() returns less or equal than zero.
> > 
> > This seems to get stuck if there is no incoming data. Stop and Next no
> > longer work and VLC refuses to terminate.
> 
> Err.. any suggestion how to improve this?
> I reference other plugins for the net_Read() call, but haven't figured out
> a better way to do this.

net_Read() returns -1, errno = EINTR when the input is stopped. That is not 
exactly great design, but that is that.

-- 
Rémi Denis-Courmont
http://www.remlab.net/




More information about the vlc-devel mailing list