DemuxerReturn SetContentPosition(s64 newPosition);
| Name | Description | |
|---|---|---|
| in | newPosition | The new Moflex read position, in bytes. |
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.
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.