IAMVideoControl::GetCurrentActualFrameRate
Microsoft DirectShow 9.0 |
IAMVideoControl::GetCurrentActualFrameRate
The GetCurrentActualFrameRate method retrieves the actual frame rate, expressed as a frame duration in 100-nanosecond units. USB (Universal Serial Bus) and IEEE 1394 cameras may provide lower frame rates than requested because of bandwidth availability. This is only available during video streaming.
Syntax
HRESULT GetCurrentActualFrameRate ( IPin *pPin, LONGLONG *ActualFrameRate );
Parameters
pPin
[in] Pointer to the pin to retrieve the frame rate from.
ActualFrameRate
[out] Pointer to the frame rate in frame duration in 100-nanosecond units.
Return Values
Returns an HRESULT value that depends on the implementation of the interface.
Requirements
Header: Declared in Strmif.h; include Dshow.h.
Library: Use Strmiids.lib.
See Also