mw::mo::moflex::Demuxer::GetStreamFrameCount Function

Syntax


DemuxerReturn GetStreamFrameCount(u32 streamIndex, u32& nbFrame);

Arguments

Name Description
in streamIndex Index of the wanted stream.
out nbFrame An integer that will store the number of frames of the stream 'streamIndex' in the Moflex content.

Returns

mw::mo::moflex::DEMUXER_RETURN_OK if success.
mw::mo::moflex::DEMUXER_RETURN_NULL if Create method was not previously called.
mw::mo::moflex::DEMUXER_RETURN_STREAM_NOT_FOUND if stream 'streamIndex' does not exist.

Description

Gets the number of frames of a wanted stream in a Moflex content.

Revision History

2010/04/15
Initial version.