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. |
Receives a quality-control notification and provides an opportunity to alter the media stream's quality.
virtual HRESULT AlterQuality( Quality q );
Parameters
Return Values
Returns an HRESULTvalue. S_FALSE means to pass the message to the upstream filter (whether or not any action has been taken). An overriding member function can return NOERROR to indicate that the message has been handled completely (or as completely as possible) and no further action should be taken.
Remarks
This member function returns S_FALSE by default. It is called by the CTransformOutputPin::Notifymember function before calling the CBaseInputPin::PassNotifymember function to pass the quality control message upstream. If the filter is responsible for affecting the quality of the media stream, override this member function and respond to the quality-notification message.