|Microsoft DirectX 9.0|
The FixMediaTimes2 method rounds the specified time values to the nearest frame boundary, as defined by the output frame rate. In general, applications do not need to call this method.
object.FixMediaTimes2( pStart As Double, pStop As Double )
Start time, in seconds. If the call succeeds, this variable is set to the rounded time.
Stop time, in seconds. If the call succeeds, this variable is set to the rounded time.
If the method fails, an error is raised.
This method is similar to the AMTimelineObj.FixTimes2 method, but it preserves the original ratio of media times and timeline times. Just rounding the times to the nearest frame boundary could distort this ratio.