Поделиться через


EC_NEED_RESTART

 
Microsoft DirectShow 9.0

EC_NEED_RESTART

A filter is requesting that the graph be restarted.

Parameters

lParam1

Zero.

lParam2

Zero.

Default Action

The filter graph manager pauses and restarts the graph. It does not pass the event to the application.

Remarks

If a filter rejects a sample in the middle of a stream, the upstream pin will stop delivering samples. The filter can restart the stream by sending this event. For example, the audio renderer might lose access to the sound device, because a video window has lost focus. At that point, the audio renderer starts rejecting samples. When it regains access to the sound device, it sends this event to restart the audio stream.

Requirements

  Header: Dshow.h.

See Also