IWMVideoDecoderHurryup::SetHurryup method (wmcodecdsp.h)

Sets the speed mode of the video decoder.

Syntax

HRESULT SetHurryup(
  [in] LONG lHurryup
);

Parameters

[in] lHurryup

The speed mode of the video decoder.

Value Meaning
-1 (default)
The decoder will determine the decoding speed.
0
The decoder will decode in real time.
1 to 4
The decoder will decode faster than real time. The higher the value, the faster the decoding.

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.

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

See also

IWMVideoDecoderHurryUp::GetHurryup

IWMVideoDecoderHurryup Interface