Microsoft DirectX 9.0

CTransformFilter::NewSegment

The NewSegment method notifies the filter that media samples received after this call are grouped as a segment.

Syntax

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

Parameters

tStart

Start time of the segment, relative to the original source.

tStop

Stop time of the segment, relative to the original source.

dRate

Rate at which the segment should be processed.

Return Value

Returns S_OK.

Remarks

The input pin's CTransformInputPin::NewSegment method calls this method. This method delivers the NewSegment call to the downstream input pin.

See Also

CTransformFilter Class