|Microsoft DirectX 9.0|
The FixMediaTimes2 method rounds the specified time values to the nearest frame boundary, as defined by the output frame rate. This method is equivalent to IAMTimelineSrc::FixMediaTimes, but takes REFTIME values.
HRESULT FixMediaTimes2( REFTIME *pStart, REFTIME *pStop );
Pointer to a variable that contains the start time, in seconds. If the call succeeds, this variable is set to the rounded time.
Pointer to a variable that contains the stop time, in seconds. If the call succeeds, this variable is set to the rounded time.
Returns S_OK if successful, or E_POINTER otherwise.
Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.
Library: Use strmiids.lib.