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 tis 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.

Thanks for the help!
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to