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

Laurent Aimar fenrir at elivagar.org
Thu May 10 22:08:21 CEST 2012


On Thu, May 10, 2012 at 10:04:31PM +0200, Laurent Aimar wrote:
>  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).
 One issue with the time limit is that it doesn't really prevent
the memory from growing too much. There is no guarantees that a
video filter receives monotonically increasing timestamps
(especially with forced pictures).

-- 
fenrir



More information about the vlc-devel mailing list