[vlc-devel] [PATCH 0/3] Chromecast file skipping and seeking

Rémi Denis-Courmont remi at remlab.net
Fri Apr 29 10:31:02 CEST 2016


Le 2016-04-29 10:26, Steve Lhomme a écrit :
> On Fri, Apr 29, 2016 at 9:22 AM, Rémi Denis-Courmont 
> <remi at remlab.net> wrote:
>> Le 2016-04-29 08:52, Steve Lhomme a écrit :
>>>
>>> On Thu, Apr 28, 2016 at 8:40 PM, Rémi Denis-Courmont 
>>> <remi at remlab.net>
>>> wrote:
>>>>
>>>> It should be obvious but never use INET/INET6 sockets as 
>>>> intra-process
>>>> synchronization.
>>>
>>>
>>> I agree it's not pretty, but is there another way to make the 
>>> blocking
>>> receiver poll() exit ?
>>
>>
>> Obviously yes?
>
> I updated my patch with vlc_socket() and AF_UNSPEC. Is this what you
> had in mind ?

There are various ways to wake up from poll(), including some already 
in the code base. Using an INET/INET6 socket is a big no no.

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


More information about the vlc-devel mailing list