IAMVideoControl::GetCurrentActualFrameRate (Compact 2013)
3/26/2014
This 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] A pointer to the IPin interface to retrieve the frame rate from.
- ActualFrameRate
[out] Pointer to a LONGLONG value that will contain the frame rate in terms of 100-nanosecond units.
Return Value
Returns an HRESULT value that depends on the implementation of the interface.
Remarks
DirectShow applications and DirectShow filters have different include file and link library requirements.
Requirements
Header |
dshow.h |
Library |
Strmiids.lib |