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

Tony Anecito adanecito at yahoo.com
Sat Feb 9 22:41:42 CET 2008


Many Thanks Remi,

Even though I put in a hack that is now confirmed by
other people testing fixes the video freeze problem
for them I am trying to understand if there is some
more things I should look into to help out since I can
hopefully debug this issue.

It seems as if once the pollin is set for the
fd[1].revents the code stays stuck in that state
forever.

Where should I start to look to find out why it stays
stuck in that state so I can help with this error?
Seems like elsewhere in the VLC code the fd from the
waitpipe should change state so the reading of the
video stream (file actually) can continue to the end.

Thanks,
-Tony


Thanks,
-Tony

--- Rémi Denis-Courmont <rdenis at simphalempin.com>
wrote:

> Le Saturday 09 February 2008 23:05:52 Tony Anecito,
> vous avez écrit :
> > 1. Why does the fd from wait pipe fail the
> FD_ISSET
> > most of the time during the beginning of the movie
> but
> > is found to match later in the movie?
> 
> Whenever the waitpipe of the VLC object becomes
> readable.
> 
> > For the ufd[0].fd there is always a matching rdset
> or wrset
> > thus the revents is set to POLLIN and works with
> the
> > io.c code.
> 
> net_Read() only ever sets POLLIN, hence wrset is
> always empty.
> 
> > 2. Why is finding the matching fd in rdset & wrset
> > considered a interrupted function when fd is not
> -1?
> 
> That's the whole point of the waitpipe.
> 
> > 3. Why is exset checked yet it is not passed into
> the
> > select but instead a null is passed. Does that not
> > mean exset should not be checked using FD_ISSET?
> 
> This was a bug, but it is irrelevant, as VLC never
> set POLLPRI in the first 
> place.
> 
> -- 
> Rémi Denis-Courmont
> http://www.remlab.net/
> > _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
> 



      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
_______________________________________________
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