Microsoft DirectX 9.0

CTransformInputPin::NewSegment

The NewSegment method notifies the pin that media samples received after this call are grouped as a segment. This method implements the IPin::NewSegment method.

Syntax

HRESULT NewSegment(
    REFERENCE_TIME tStart,
    REFERENCE_TIME tStop,
    double dRate
);

Parameters

tStart

Start time of the segment.

tStop

Stop time of the segment.

dRate

Rate of the segment.

Return Value

Returns S_OK or another HRESULT value.

Remarks

This method overrides the CBasePin::NewSegment method. It calls the filter's CTransformFilter::NewSegment method to deliver the call downstream.

See Also

CTransformInputPin Class