Partager via


IMSVidStreamBufferSource2::put_RateEx

 
Microsoft DirectShow 9.0

IMSVidStreamBufferSource2::put_RateEx

This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005.

The put_RateEx method sets the playback rate, and sets the frame rate for fast-forward play ("trick mode").

Syntax

  HRESULT put_RateEx(
  double  dRate,
  DWORD  dwFramesPerSecond
);

Parameters

dRate

[in]  Playback rate. The valid range is (dRate >= 0.1 || dRate <= –0.1).

dwFramesPerSecond

[in]  Frames per second for fast-forward play. For more information, see IStreamBufferMediaSeeking2::SetRateEx.

Return Values

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

None.

See Also