diff options
author | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2013-03-13 18:07:21 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2013-03-13 18:07:21 +0100 |
commit | ca1a74cafa8f75a20e42bbdf501f5c8e8f184920 (patch) | |
tree | f4e99bbc93abad34e24f7db89d786adb8fbfc834 /tools/benchmark.c | |
parent | 0c2a3b8d2f35ccc4dc67616e430df7fb72cb5e62 (diff) | |
download | uca-ca1a74cafa8f75a20e42bbdf501f5c8e8f184920.tar.gz uca-ca1a74cafa8f75a20e42bbdf501f5c8e8f184920.tar.bz2 uca-ca1a74cafa8f75a20e42bbdf501f5c8e8f184920.tar.xz uca-ca1a74cafa8f75a20e42bbdf501f5c8e8f184920.zip |
Use GInitable to pass properties to plugins
Diffstat (limited to 'tools/benchmark.c')
-rw-r--r-- | tools/benchmark.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/benchmark.c b/tools/benchmark.c index e062e61..170a96c 100644 --- a/tools/benchmark.c +++ b/tools/benchmark.c @@ -140,7 +140,6 @@ grab_frames_async (UcaCamera *camera, gpointer buffer, guint n_frames) ; uca_camera_stop_recording (camera, &error); - } static void @@ -255,7 +254,7 @@ main (int argc, char *argv[]) g_log_set_handler (NULL, G_LOG_LEVEL_MASK, log_handler, log_channel); manager = uca_plugin_manager_new (); - camera = uca_plugin_manager_get_camera (manager, argv[1], &error); + camera = uca_plugin_manager_get_camera (manager, argv[1], &error, NULL); if (camera == NULL) { g_error ("Initialization: %s", error->message); |