Gets the characteristics of the media sink.
- pdwCharacteristics [out]
Receives a bitwise OR of zero or more flags. The following flags are defined:
The media sink cannot match rates with an external clock.
For best results, this media sink should be used as the time source for the presentation clock. If any other time source is used, the media sink cannot match rates with the clock, with poor results (for example, glitching).
This flag should be used sparingly, because it limits how the pipeline can be configured.
For more information about the presentation clock, see Presentation Clock.
The media sink is rateless. It consumes samples as quickly as possible, and does not synchronize itself to a presentation clock.
Most archiving sinks are rateless.
The media sink requires a presentation clock. The presentation clock is set by calling the media sink's IMFMediaSink::SetPresentationClock method.
This flag is obsolete, because all media sinks must support the SetPresentationClock method, even if the media sink ignores the clock (as in a rateless media sink).
The media sink can accept preroll samples before the presentation clock starts. The media sink exposes the IMFMediaSinkPreroll interface.
The first stream sink (index 0) is a reference stream. The reference stream must have a media type before the media types can be set on the other stream sinks.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
The method succeeded.
The media sink's Shutdown method has been called.
The characteristics of a media sink are fixed throughout the life time of the sink.
Minimum supported client
|Windows Vista [desktop apps | Windows Store apps]|
Minimum supported server
|Windows Server 2008 [desktop apps | Windows Store apps]|