IWMVideoDecoderHurryup::SetHurryup

banner art

Sets the speed mode of the video decoder.

Syntax

HRESULT SetHurryup(LONGlHurryup);

Parameters

lHurryup

[in]  The speed mode of the video decoder.

Value Description
-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 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.

Requirements

Client: Requires Windows Vista or Windows XP.

Header: Include wmcodecdsp.h.

See Also