Share via


IAMTimelineTrans::GetCutPoint

 
Microsoft DirectShow 9.0

IAMTimelineTrans::GetCutPoint

The GetCutPoint method retrieves the cut point. If you render a transition as a cut, the cut point is the time when the transition cuts from one source to the next. By default, this value is the middle of the transition. For example, in a transition that spans one second, the default cut point is 0.5 seconds into the transition.

Syntax

  HRESULT GetCutPoint(
    REFERENCE_TIME *pTLTime
);

Parameters

pTLTime

Pointer to a variable that receives the cut point, relative to the start time of the transition, in 100-nanosecond units.

Return Value

Returns one of the following HRESULT values:

Value Description
S_FALSE The cut point was not set. The value returned is the default value.
S_OK The cut point was set to a value other than the default.
E_POINTER NULL pointer argument.

Requirements

Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.

Library: Use strmiids.lib.

See Also