mw::mo::moflex::Demuxer::SetContentPosition Function

Syntax


DemuxerReturn SetContentPosition(s64 newPosition);

Arguments

Name Description
in newPosition The new Moflex read position, in bytes.

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_SEEK_NOT_DONE if seek couln't be done, that is mw::mo::moflex::reader::m_SetPosition function pointer returned false.

Description

Sets the current read position in a Moflex content in bytes.
When this function is called, all queued frames of all streams are flushed from the demuxer.
As a result there is no need to call PopStreamFrame() or FlushStream() methods to do that task.

Revision History

2011/04/08
Added additional information in Description section.
2010/04/15
Initial version.