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

Tzu-Jung Lee roylee17 at gmail.com
Tue Aug 20 19:01:47 CEST 2013


On Wed, Aug 21, 2013 at 12:52 AM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> 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.

Still any chance to get the patch merged?
Any inline editing is welcome.

Thanks

Roy



More information about the vlc-devel mailing list