summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorTimo Dritschler <timo.dritschler@kit.edu>2014-07-29 19:09:23 +0200
committerTimo Dritschler <timo.dritschler@kit.edu>2014-07-29 19:09:23 +0200
commit1d49c3e05cf3228c44186ee60541de7b8c7536ea (patch)
tree2dea0697dcbb463024f58692af41293146505451 /plugins
parentf17ab98df02426106864684967ad76055fab348b (diff)
downloaduca-1d49c3e05cf3228c44186ee60541de7b8c7536ea.tar.gz
uca-1d49c3e05cf3228c44186ee60541de7b8c7536ea.tar.bz2
uca-1d49c3e05cf3228c44186ee60541de7b8c7536ea.tar.xz
uca-1d49c3e05cf3228c44186ee60541de7b8c7536ea.zip
Fixed a bug in mock plugin
Fixed test-mock still using obsolete 'frame-rate' property
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mock/uca-mock-camera.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mock/uca-mock-camera.c b/plugins/mock/uca-mock-camera.c
index c97344e..4ae4077 100644
--- a/plugins/mock/uca-mock-camera.c
+++ b/plugins/mock/uca-mock-camera.c
@@ -202,7 +202,7 @@ mock_grab_func(gpointer data)
UcaMockCameraPrivate *priv = UCA_MOCK_CAMERA_GET_PRIVATE(mock_camera);
UcaCamera *camera = UCA_CAMERA(mock_camera);
- gfloat fps = 0;
+ gdouble fps = 0;
g_object_get (G_OBJECT (data), "frames-per-second", &fps, NULL);
const gulong sleep_time = (gulong) G_USEC_PER_SEC / fps;