MOGetDisplayedFrameNumber

C Specification

#include <mo/Mobiclip.h>

MOResult MOGetDisplayedFrameNumber(const MOInstance* pInstance, u32 *pFrameNumber)

Arguments

pInstance Instance of the concerned movie.
pFrameNumber Will contain the last displayed frame number.

Return Values

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.

Description

That functions will return the absolute frame number of the last displayed (or skipped) frame.
Warning, if you use seek functions such as MOGoToIFrame, the framenumber will not always be the incremented by one at each call.

See Also

MODecode

MOGetDecodedFrameNumber

Revision History

03/26/2009 Parameter renaming done.

06/22/2008 Initial version.