Microsoft DirectX 9.0 |
The CanStep method determines whether the MPEG-2 decoder on the local system can perform frame stepping in a specified direction.
Syntax
[ bCanStep = ] MSWebDVD.CanStep(bDirection);
Parameters
bDirection
Boolean used as a flag to specify the direction, forward or backward, of decoder's frame-stepping ability.
Value | Description |
true | Can decoder step backward? |
false | Can decoder step forward? This is the default value. |
Return Value
Returns a Boolean value of true if the decoder can step in the specified direction, and false otherwise.
Remarks
Not all hardware MPEG-2 decoders support the new frame stepping capabilities in DirectShow® 8.0. This method queries the decoder for its frame stepping capabilities. If the decoder can perform frame stepping, an application can use the Step method to step through frames. This method will always return true if a software decoder is being used.