diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2011-03-23 09:36:41 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2011-03-23 09:36:41 +0100 |
commit | 8c48a8ad1c6153770c24ae2e8a9b0f9efedfc4af (patch) | |
tree | 5b39b777aec9dd10b61b1d117fd97c33cc397019 /src/uca-grabber.h | |
parent | bc152fef853627c971b1fc9eb3aab985af83b248 (diff) | |
download | uca-8c48a8ad1c6153770c24ae2e8a9b0f9efedfc4af.tar.gz uca-8c48a8ad1c6153770c24ae2e8a9b0f9efedfc4af.tar.bz2 uca-8c48a8ad1c6153770c24ae2e8a9b0f9efedfc4af.tar.xz uca-8c48a8ad1c6153770c24ae2e8a9b0f9efedfc4af.zip |
Some very important person at SiSo decided to have 64-bit frame numbers on 64-
bit systems and 32-bit frame numbers on 32-bit systems. This commit changes the
API to the former, which means it now takes 1.44x10^10 years to have an overflow
at a very slow frame rate of 1000 frames per second.
Diffstat (limited to 'src/uca-grabber.h')
-rw-r--r-- | src/uca-grabber.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uca-grabber.h b/src/uca-grabber.h index b7a8736..024777e 100644 --- a/src/uca-grabber.h +++ b/src/uca-grabber.h @@ -99,7 +99,7 @@ typedef uint32_t (*uca_grabber_stop_acquire) (struct uca_grabber *grabber); * * \param[out] frame_number Number of the grabbed frame */ -typedef uint32_t (*uca_grabber_grab) (struct uca_grabber *grabber, void **buffer, uint32_t *frame_number); +typedef uint32_t (*uca_grabber_grab) (struct uca_grabber *grabber, void **buffer, uint64_t *frame_number); /** |