[vlc-devel] vlc: svn commit r25020 (courmisch), waitpipe
techfreak
smile4you at gmx.ch
Wed Feb 13 22:06:26 CET 2008
Hi Rémi
I looked at your waitpipe for windows implementation from revision 23910
(pipe in objects.c) and made some tests.
The two loopback sockets are visible with "netstat" command, one in
state CLOSE_WAIT and the other in state FIN_WAIT_2.
When the polling of my socket is interrupted, only the socket in
CLOSE_WAIT is still there, the other in state FIN_WAIT_2 disappears. It
looks like windos closed it by a timeout.
(The polling is always interrupted after about 120 seconds, I found that
this is the default FIN_WAIT_2 timeout in windows.)
I removed the two lines with shutdown and now it works fine for me. The
polling is then no longer interrupted.
What do you think about?
Regards, Matthias
techfreak schrieb:
> Hello Rémi
>
> I don't know how to put a breakpoint to debug the cross-compiled code,
> but I added a Debug-Message in vlc_object_kill().
> Bad news: vlc_object_kill() is not called before the polling is
> interrupted. (But it is called several times after pressing the
> "stop"-button.)
>
> I hope that I will understand your waitpipe for windows implementation
> and can help you fixing the problem.
>
> My video-filter project seems to become more complex than expected.
>
> Regards, Matthias
>
>
> Rémi Denis-Courmont schrieb:
>
>> Le Sunday 10 February 2008 17:29:02 techfreak, vous avez écrit :
>>
>>
>>> In this case I have to find out why my object has been killed.
>>>
>>>
>> Should be easy as putting a breakpoint on vlc_object_kill().
>>
>> That, or Winsock is so desperately broken that [23910] does not work. Not that
>> I would be surprised. If that is the case, well too bad, I will simply give
>> up on porting/fixing Win32 support of yet another part of LibVLC, and wait
>> for someone else to fix it.
>>
_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
http://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list