CVideoTransformFilter::m_nWaitForKey member
[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.]
The current maximum number of delta frames to drop. While this variable is greater than zero, the filter will drop frames until it reaches a key frame. For each frame that is dropped, the filter decrements this variable by one, which prevents the filter from dropping an excessive number of frames. After 30 delta frames in a row with no key frames, the filter will start delivering frames again.
Syntax
int m_nWaitForKey;
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|