MOGoToNextIntra

C Specification

#include <mo/Mobiclip.h>

MOStatus MOGoToNextIntra(MOInstance* pInstance)

Arguments

pInstance Instance of the concerned movie.

Return Values

Description

That function requests a seek to the next intra (keyframe) frame.

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.

See Also

MODecode

MOGoToPreviousIntra

MOGoToIFrame

Revision History

03/26/2009 Parameter renaming done.

07/29/2008 Added description about VideoIndex parameter use in MCJ files.

06/22/2008 Initial version.