Share via


EC_SEGMENT_STARTED

 
Microsoft DirectShow 9.0

EC_SEGMENT_STARTED

A new segment has started.

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

This event is not sent to the application. Applications cannot override the default action for this event.

Remarks

If a filter will send an EC_END_OF_SEGMENT at the end of a segment, it sends this event at the start of the segment. The filter graph manager uses this event notification to compute how many EC_END_OF_SEGMENT notifications it should expect at the end of the segment.

By default, filters do not send EC_END_OF_SEGMENT events at the end of segments, and therefore should not send this event. For more information, see IMediaSeeking::SetPositions.

Requirements

  Header: Dshow.h.

See Also