IAMDroppedFrames::GetAverageFrameSize (Compact 2013)
3/26/2014
This method retrieves the average size of the frames that the filter has captured.
Syntax
HRESULT GetAverageFrameSize(
long* plAverageSize
);
Parameters
- plAverageSize
[out] Pointer to a long value that receives the average frame size, in bytes, since the filter began streaming.
Return Value
Returns an HRESULT value. The following table shows some possible return values.
Value |
Description |
---|---|
S_OK |
Success. |
E_NOTIMPL |
Not implemented. |
E_POINTER |
NULL pointer argument. |
Remarks
If the device does not report a value, the method might succeed but return zero in the plAverageSize parameter.
Requirements
Header |
dshow.h |
Library |
Strmiids.lib |