Microsoft DirectX 9.0 |
The end of a segment was reached.
Parameters
lParam1
Pointer to a REFERENCE_TIME value that specifies the accumulated stream time since the start of the segment.
lParam2
DWORD value indicating the 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.
See Also