Compartir a través de


CTransformFilter::NewSegment

 
Microsoft DirectShow 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.

Requirements

**  Header:** Declared in Transfrm.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also