MOGetTotalFrames

C Specification

#include <mo/Mobiclip.h>

MOResult MOGetTotalFrames(const MOInstance* pInstance, u32 *pTotalFrames)

Arguments

pInstance Instance of the concerned movie.
pTotalFrames Will contain the number of video frames in the movie.

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 function is used to get the number of video frames in the movie.

Revision History

03/26/2009 Parameter renaming done.

06/22/2008 Initial version.