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. |
This interface supports quality control on a Microsoft DirectX Media Object (DMO).
The following table shows the methods for IDMOQualityControlin the order the compiler calls them.
Method | Description |
---|---|
Specifies the earliest time stamp for which the DMO should deliver data. |
|
Enables or disables quality control. |
|
Determines whether quality control is active. |
The IDMOQualityControlinterface, like all COM interfaces, inherits the IUnknowninterface methods. The IUnknowninterface supports the following three methods:
Remarks
A DMO exposes this interface if it can respond to late samples. When quality control is enabled, the DMO attempts to process samples on time, discarding late samples if necessary. When quality control is disabled, the DMO processes every sample. By default, quality control is disabled.
Applications use this interface to enable or disable quality control. Using quality control is appropriate when you are viewing media data in real time. If you are capturing data to a file, do not enable quality control because the DMO might discard samples. It does not matter in file capture whether samples arrive late and you do not want to lose the data.
To use quality control, perform the following steps:
- Call the
IDMOQualityControl::SetNowmethod with the reference time of the
earliest sample to be processed.
- Call the
IDMOQualityControl::SetStatusmethod with the
DMO_QUALITY_STATUS_ENABLED flag.
To disable quality control, call SetStatuswith no flag.
Requirements
Header | dmo.h |
Library | Dmoguid.lib |
Windows Embedded CE | Windows CE .NET 4.1 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |