Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

MediaSeeker

Functions for seeking

Synopsis:

static MediaSeeker media_seeker =
{
  Seek
};

Description:

This interface defines the functionality for seeking a graph to a different timestamp. It defines the following function:

Seek()

int32_t (*Seek)(MmFilter_t *filter,
                MmTime_t media_time);

This function should seek the filter to the timestamp media_time. "Media time" is the elapsed media file time, and is of type MmTime_t, an int_64 that stores time in microseconds.

If successful, this function should return 0.

Classification:

Neutrino

See also:

MediaControl

Extending the Multimedia Framework.