[vlc-devel] [RFC] Get delta of last and first picture in a picture_fifo.
Jean-Paul Saman
jpsaman at videolan.org
Thu May 10 21:23:13 CEST 2012
Dear VLC developers,
The attached 2 patches provide a solution for limiting the growth of a
picture_fifo. Please review.
Patch 0001-* provides the function picture_fifo_GetDeltaDate() that
returns the amount of time worth of pictures is in the given fifo.
It calculates this by giving the difference in time between the last
and first picture.
The second patch 0002- shows how this new function can be used.
Kind regards,
Jean-Paul Saman.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libvlccore-implement-picture_fifo_GetDeltaDate.patch
Type: application/octet-stream
Size: 2206 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120510/3c6a9c1e/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-video_filter-scene.c-Limit-the-maximum-time-worth-of.patch
Type: application/octet-stream
Size: 3199 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120510/3c6a9c1e/attachment-0001.obj>
More information about the vlc-devel
mailing list