IWMCodecOutputTimestamp::GetNextOutputTime method (wmcodecdsp.h)
Queries the decoder for the time stamp of the upcoming output sample. Use this method if you need to know the time of the sample before calling IMediaObject::ProcessOutput or IMFTransform::ProcessOutput to get the sample.
Syntax
HRESULT GetNextOutputTime(
[out] REFERENCE_TIME *prtTime
);
Parameters
[out] prtTime
Address of a variable that receives the presentation time of the next sample.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
Remarks
This method is important when decoding video using frame interpolation, because the rendering application cannot predict the time stamps of interpolated frames.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | wmcodecdsp.h |