Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- prtTime [out]
 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 | 
|---|---|
| S_OK | 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
| Minimum supported client | Windows XP | 
| Minimum supported server | Windows Server 2003 | 
| Header | Wmcodecdsp.h | 
See Also
IWMCodecOutputTimestamp Interface
Send comments about this topic to Microsoft
Build date: 4/7/2010