[vlc-devel] [RFC] Get delta of last and first picture in a picture_fifo.

Laurent Aimar fenrir at elivagar.org
Thu May 10 22:20:44 CEST 2012

On Thu, May 10, 2012 at 11:16:01PM +0300, Rémi Denis-Courmont wrote:
> Le jeudi 10 mai 2012 23:04:31 Laurent Aimar, vous avez écrit :
> >  If you prefer the time limit, then it is simpler/faster IMHO
> > to use picture_fifo_Peek() and check the limit before pushing
> > into the pool (picture_fifo_Peek does a safe hold() for you).
> I think keeping only one picture should be enough, and far simpler. If there 
> is still one queued picture when the next comes, the system is probably 
> overflowed already.
Mhh, yes, I tought wrongly that a few consecutive pictures where dumped at

Also, if a unique picture is kept, a simple way is to hold() the picture to avoid
one copy.


More information about the vlc-devel mailing list