|Microsoft DirectX 9.0|
The ShouldSkipFrame method determines whether the filter should drop a specified sample.
BOOL ShouldSkipFrame( IMediaSample *pIn );
Pointer to the IMediaSample interface of the sample.
Returns TRUE if the filter should drop this sample, or TRUE if the filter should process this sample.
This method returns TRUE if the following conditions are met:
For purposes of this calculation, the filter records the following information as it processes data:
Once the filter drops a frame, it continues to drop frames until it reaches the next key frame. If this method returns TRUE, it also sends an EC_QUALITY_CHANGE event to the Filter Graph Manager.