IMFClockConsumer interface
[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]
Implemented by an app in order to get access to the IMFPresentationClock.
Members
The IMFClockConsumer interface inherits from the IUnknown interface. IMFClockConsumer also has these types of members:
Methods
The IMFClockConsumer interface has these methods.
| Method | Description |
|---|---|
| GetPresentationClock |
Called by the media pipeline to get an instance of IMFPresentationClock. |
| SetPresentationClock |
Called by the media pipeline to provide the app with an instance of IMFPresentationClock. |
Remarks
The media pipeline checks for the presence of this interface by calling QueryInterface. Components can use the presentation clock supplied through this interface to determine how much buffering there is in the pipeline after the component. You can do this in the IMFTransform::ProcessInput method by calculating the difference between the value returned by IMFPresentationClock::GetTime and the value returned by IMFSample::GetSampleTime. This difference represents the amount of buffered data after the MFT in the pipeline.
Requirements
|
Minimum supported client |
Windows 10, version 1703 [desktop apps only] |
|---|---|
|
Minimum supported server |
None supported |
|
Header |
|
|
Library |
|