From 504a117fbd3c04e5a7f2f14bd97a7db7daad496f Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Wed, 17 Jul 2013 14:32:09 +0200 Subject: Pixelman API expects number of elements --- plugins/xkit/uca-xkit-camera.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/xkit/uca-xkit-camera.cc') 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, -- cgit v1.2.3