Condividi tramite


EC_END_OF_SEGMENT

 
Microsoft DirectShow 9.0

EC_END_OF_SEGMENT

The end of a segment was reached.

Parameters

lParam1

(const REFERENCE_TIME*) Pointer to a REFERENCE_TIME value that specifies the accumulated stream time since the start of the segment, in 100-nanosecond units.

lParam2

(DWORD) Segment number (zero-based).

Default Action

The filter graph manager checks the number of EC_END_OF_SEGMENT events against the number of EC_SEGMENT_STARTED events. If they match, it forwards the EC_END_OF_SEGMENT event to the application. Applications cannot override the default action for this event.

Remarks

This event code supports seamless looping. When a call to the IMediaSeeking::SetPositions method includes the AM_SEEKING_Segment flag, the source filter sends this event code instead of calling IPin::EndOfStream.

Requirements

  Header: Dshow.h.

See Also