aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormorefigs <morefigs@gmail.com>2014-08-04 13:21:49 +1000
committermorefigs <morefigs@gmail.com>2014-08-04 13:21:49 +1000
commit4ce1ba30cfcc8d53adea400e476fc2c513da7106 (patch)
tree62c07225c54e23f42e40a6a32f99e001d43e1d11
parent6650922d1e94f21091354320a3914084b473fd11 (diff)
downloadpymba-4ce1ba30cfcc8d53adea400e476fc2c513da7106.tar.gz
pymba-4ce1ba30cfcc8d53adea400e476fc2c513da7106.zip
Revert "Update vimbaframe.py"
This reverts commit 6650922d1e94f21091354320a3914084b473fd11.
-rw-r--r--pymba/vimbaframe.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pymba/vimbaframe.py b/pymba/vimbaframe.py
index 24f2dd7..c65f160 100644
--- a/pymba/vimbaframe.py
+++ b/pymba/vimbaframe.py
@@ -105,7 +105,7 @@ class VimbaFrame(object):
POINTER(c_ubyte * self.payloadSize))
# make array of c_ubytes from buffer
+
array = (c_ubyte * self.height * self.width).from_address(addressof(data.contents))
- # ^ TODO for RGB try array = (c_ubyte * self.height * self.width * 3).from_address(addressof(data.contents))
return array