Export (0) Print
Expand All

CBaseOutputPin.DeliverNewSegment method

The DeliverNewSegment method delivers a new-segment notification to the connected input pin.

Syntax


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

Parameters

tStart

Starting media position of the segment, in 100-nanosecond units.

tStop

End media position of the segment, in 100-nanosecond units.

dRate

Rate at which this segment should be processed, as a percentage of the original rate.

Return value

Returns an HRESULT value. Possible values include those listed in the following table.

Return codeDescription
S_OK

Success.

VFW_E_NOT_CONNECTED

Pin is not connected.

 

Remarks

This method calls the IPin::NewSegment method on the input pin.

Requirements

Header

Amfilter.h (include Streams.h)

Library

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

See also

CBaseOutputPin Class

 

 

Community Additions

ADD
Show:
© 2014 Microsoft