diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2013-07-17 14:32:09 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2013-09-09 15:56:40 +0200 |
commit | 504a117fbd3c04e5a7f2f14bd97a7db7daad496f (patch) | |
tree | 3315fcf4980ab1c85a8dd539f7c687a880469045 /plugins/xkit/uca-xkit-camera.cc | |
parent | 4e18ec2beb15ea5ff5c611a0a89b0eeafc428bda (diff) | |
download | libuca-504a117fbd3c04e5a7f2f14bd97a7db7daad496f.tar.gz libuca-504a117fbd3c04e5a7f2f14bd97a7db7daad496f.tar.bz2 libuca-504a117fbd3c04e5a7f2f14bd97a7db7daad496f.tar.xz libuca-504a117fbd3c04e5a7f2f14bd97a7db7daad496f.zip |
Pixelman API expects number of elements
Diffstat (limited to 'plugins/xkit/uca-xkit-camera.cc')
-rw-r--r-- | plugins/xkit/uca-xkit-camera.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/xkit/uca-xkit-camera.cc b/plugins/xkit/uca-xkit-camera.cc index 7b580a3..9b163c3 100644 --- a/plugins/xkit/uca-xkit-camera.cc +++ b/plugins/xkit/uca-xkit-camera.cc @@ -154,7 +154,7 @@ uca_xkit_camera_grab (UcaCamera *camera, * provide auto triggering */ priv = UCA_XKIT_CAMERA_GET_PRIVATE (camera); - size = priv->info.pixCount * 2; + size = priv->info.pixCount; if (priv->interface->startAcquisition (priv->device)) { g_set_error_literal (error, UCA_CAMERA_ERROR, UCA_CAMERA_ERROR_RECORDING, |