VideoCaptureDeviceDesiredAverageTimePerFrame Property |
Namespace: Accord.Video.DirectShow
This property controls the initialization of the AvgTimePerFrame member of the DirectShow's VideoInfoHeader structure. In normal situations this property does not need to be set, but some combinations of hardware and DirectShow filters might require this property to be set to 0 to achieve a good frame rate. If this property is set to -1, the AvgTimePerFrame member will not be initialized at all.
The default value for this property is 0 (AvgTimePerFrame will be initialized with 0).