#include <mo/Mobiclip.h>MOStatus MOGoToIFrame(MOInstance* pInstance, u32 frame);| pInstance | Instance of the concerned movie. |
| frame | Intra frame to seek to. |
That function requests a seek to an intra (keyframe) frame.
The frame given as argument must be an intra or an error will be returned.
To get the infra preceding a given frame, please use MOGetPreviousIntraFrameNumber.
It is better to call that function in the same thread that the one calling MODecode.
If the movie is local, the return value will be either MO_STATUS_READY(success) or MO_STATUS_ERROR(error).
If the movie is remote (http), the return value might be MO_STATUS_BUSY, meaning the calling application must call repeatedly MORun() until
MOGetStatus() stops responding MO_STATUS_BUSY.
In order to use the feature in this function, the VideoIndex parameter of .mcj file (used by MoCoderAvi program) must be set to true in order to add keyframes information.
See MoCoderAvi section in Quick Start Guide for more information.
03/26/2009 Parameter renaming done.
07/29/2008 Initial version.