|Microsoft DirectX 9.0|
The SetMediaTime method sets the media times for this sample. This method implements the IMediaSample::SetMediaTime method.
HRESULT SetMediaTime( LONGLONG *pStart, LONGLONG *pEnd );
Pointer to the media start time, or NULL.
Pointer to the media stop time, or NULL.
The media stop time must be greater than the media start time. Use NULL to invalidate the media times.
The pEnd parameter specifies an absolute media time, but the CMediaSample::m_MediaEnd member variable is calculated as an offset from pStart. In other words, m_MediaEnd = *pTimeEnd *pTimeStart.
For information about media times, see Time and Clocks in DirectShow.