mw::mo::helper::Player::SetPositionByTimeline Function

Syntax


PlayerStatus SetPositionByTimeline (mw::mo::moflex::TimelineEntry* timelineEntry);

Arguments

Name Description
in timelineEntry The timeline entry that tells where to perform seeking.

Returns

mw::mo::helper::PLAYER_STOPPED if success.
mw::mo::helper::PLAYER_ERROR in case of error, or if timeline entry pointer is NULL.

Description

Seeks into the Moflex content to a position specified by the given timeline entry.
This method retrieves in the timeline entry the raw file offset to where perform seeking, then internally call the SetPositionByFileOffset method.

Revision History

2011/10/03
Initial version.