[Libav-user] Cached Frames
James Board
jpboard2 at yahoo.com
Wed Sep 18 03:56:14 CEST 2013
In the libAV examples distributed with ffmpeg, I see the following code:
// Flush cache frames
do {
decode_packet(&got_frame, 1);
} while (got_frame);
What are cached frames and what does the above do? Is this explained
anywhere?
In my libav app, I'm trying to do simple edits. So, I seek to the edit-start,
decode all packets until I reach the edit-end, then seek to the next
edit-start. After all edits are processed, I call the above (not knowing
what it does) and it loops forever.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130917/f3ddf012/attachment.html>
More information about the Libav-user
mailing list