Compartilhar via


CVideoTransformFilter::m_nWaitForKey

 
Microsoft DirectShow 9.0

CVideoTransformFilter::m_nWaitForKey

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

**  Header:** Declared in Vtrans.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also