Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
Determines if the filter should start, continue, or stop skipping frames.
BOOL ShouldSkipFrame( IMediaSample * pIn );
Parameters
Return Values
Returns TRUE if the filter should skip this sample; otherwise, returns FALSE.
Remarks
This member function sets the m_bSkippingmember variable to FALSE if the sample is a key frame (sync point) and returns FALSE. This stops any skipping that has started. This member function starts skipping samples (sets m_bSkippingto TRUE and returns TRUE) only if all of the following conditions are true.
This member function sends an EC_QUALITY_CHANGEnotification when sample skipping starts. Once skipping starts, all samples are skipped until the next key frame arrives.