diff options
author | Timo Dritschler <timo.dritschler@kit.edu> | 2014-07-29 19:09:23 +0200 |
---|---|---|
committer | Timo Dritschler <timo.dritschler@kit.edu> | 2014-07-29 19:09:23 +0200 |
commit | 1d49c3e05cf3228c44186ee60541de7b8c7536ea (patch) | |
tree | 2dea0697dcbb463024f58692af41293146505451 /plugins | |
parent | f17ab98df02426106864684967ad76055fab348b (diff) | |
download | libuca-1d49c3e05cf3228c44186ee60541de7b8c7536ea.tar.gz libuca-1d49c3e05cf3228c44186ee60541de7b8c7536ea.tar.bz2 libuca-1d49c3e05cf3228c44186ee60541de7b8c7536ea.tar.xz libuca-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.c | 2 |
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; |