
Grabber::getFrameRate Method |
||
| Returns the currently set time between two frames. | ||
| Syntax: | long getFrameRate() const; |
|
| Return value: | The desired time in milliseconds between the start of frame n and the start of frame n + 1. A return value of 0 indicates that an error occurred. This time may be set with Grabber::setFrameRate. In case of low bandwidth on the bus, the device may not be able to send frames according to the desired frame rate. Thus, the interval between to frames will become greater than the one specified by the desired frame rate. Call Grabber::getCurrentActualFrameRate in order to get the actual interval. |
|
| Remarks: | This method is only available, if a device is open and valid. |
|
| See also: | Grabber, Grabber::setFrameRate, Grabber::getAvailableFrameRates, Grabber::getCurrentActualFrameRate | |