Skip to main content
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.

Members

The IWMPlayerTimestampHook interface inherits from the IUnknown interface. IWMPlayerTimestampHook also has these types of members:

Methods

The IWMPlayerTimestampHook interface has these methods.

MethodDescription
MapTimestamp

Provides the decoder with a time stamp that it will apply to the sample before delivering it to the video renderer.

 

See also

Enabling DirectX Video Acceleration