Partager via


IAMDroppedFrames Interface (Compact 2013)

3/26/2014

This interface retrieves performance information from a video capture filter, such as how many frames were dropped and how many frames were delivered. Applications can use this interface to determine capture performance at run-time.

In addition to the methods inherited from IUnknown, the IAMDroppedFrames interface exposes the following methods.

Method

Description

IAMDroppedFrames::GetAverageFrameSize

Retrieves the average size of the frames that the filter has captured.

IAMDroppedFrames::GetDroppedInfo

Retrieves an array of frame numbers that were dropped.

IAMDroppedFrames::GetNumDropped

Retrieves the total number of frames that the filter has dropped since it started streaming.

IAMDroppedFrames::GetNumNotDropped

Retrieves the total number of frames that the filter has delivered since it started streaming.

Remarks

Some filters that expose this interface do not implement the GetDroppedInfo or GetAverageFrameSize method.

A video capture filter automatically exposes this interface if the driver supports the PROPSETID_VIDCAP_DROPPEDFRAMES property set.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

DirectShow Interfaces