[vlc-devel] vlc: svn commit r25020 (courmisch), waitpipe

Tony Anecito adanecito at yahoo.com
Wed Feb 13 22:48:32 CET 2008


Hi techfreak,

What two lines of code are you talking about? I do not
have the code with me right now (or updated for maybe
a week) but I thought the timeouts were set to
infinite.

Thx,
-Tony

Thanks,
-Tony
--- techfreak <smile4you at gmx.ch> wrote:

> 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
> 



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

_______________________________________________
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