#include <mo/Mobiclip.h>MOResult MOGetNumberOfBufferedFrames(const MOInstance* pInstance, u32 *pBufferedFrames)| pInstance | Instance of the concerned movie. |
| pBufferedFrames | Will contain the number of frames buffered in the video queue. |
MO_RESULT_OK |
Success. |
MO_RESULT_NULL |
MOInstance pointer is NULL. |
MO_RESULT_NOT_OPENED |
A successfull call to MOOpen function have not been done before, or open process not complete yet. |
Video frames are buffered (up to MO_MAX_BUFFERED_FRAME, see MODecode).
The MOGetNumberOfBufferedFrames function will return the number of already decoded frames present in the video queue.
If the return value is for example 4, it means that you can call up to 4 times MOGetRGBImage or MOGetYUVImage before calling MODecode.
03/26/2009 Parameter renaming done.
06/22/2008 Initial version.