IWMPlayerTimestampHook interface
The IWMPlayerTimestampHook interface is implemented on a player's source filter. It enables the filter to modify the time stamps on the samples before sending them to the renderer.
This method is provided to provide the filter with a greater degree of control over the streaming process than would otherwise be possible. Specifically, the method enables changing video time stamps to allow playback at higher rates than normal.
When DirectX video acceleration is enabled, the OnSample method is never called. Therefore, if you plan to play video on a different timeline than a media timeline, this is the only chance to update the time stamp on the media sample to match the timeline.
Methods
The IWMPlayerTimestampHook interface has these methods.
Method | Description |
---|---|
IWMPlayerTimestampHook::MapTimestamp | The MapTimestamp method is called by the WMV Decoder DMO to enable the source filter to provide the decoder with a time stamp. The decoder applies the time stamp to the sample before delivering the sample to the video renderer. |
Requirements
Target Platform | Windows |
Header | wmdxva.h |