Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CTransformFilter.NewSegment method

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

Transfrm.h (include Streams.h)

Library

Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

CTransformFilter Class

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.