description | ms.assetid | title | ms.topic | ms.date | ms.custom |
---|---|---|---|---|---|
A filter is requesting that the graph be restarted. |
58f17338-dd60-4b77-80d3-b6b6a76af9b2 |
EC_NEED_RESTART (Dshow.h) |
reference |
4/26/2023 |
UpdateFrequency5 |
[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
A filter is requesting that the graph be restarted.
-
lParam1
-
Zero.
-
lParam2
-
Zero.
The filter graph manager pauses and restarts the graph. It does not pass the event to the application.
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.
Requirement | Value |
---|---|
Header |
|