diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2011-10-21 11:25:46 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2011-10-21 11:25:46 +0200 |
commit | ccaf5dfc7727ea32920527a7622509b9724ae42f (patch) | |
tree | 0a94f7a4a77b75fb83582de11005ab41221eea6c /test/grab-async.c | |
parent | 7e1ec3056d1fdb6786c452ba6ed7e978355a98c2 (diff) | |
download | uca-ccaf5dfc7727ea32920527a7622509b9724ae42f.tar.gz uca-ccaf5dfc7727ea32920527a7622509b9724ae42f.tar.bz2 uca-ccaf5dfc7727ea32920527a7622509b9724ae42f.tar.xz uca-ccaf5dfc7727ea32920527a7622509b9724ae42f.zip |
Add: readout state
Diffstat (limited to 'test/grab-async.c')
-rw-r--r-- | test/grab-async.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/grab-async.c b/test/grab-async.c index 945bf15..22774d7 100644 --- a/test/grab-async.c +++ b/test/grab-async.c @@ -51,11 +51,11 @@ int main(int argc, char *argv[]) uca_cam_register_callback(cam, &grab_callback, &props); uca_cam_start_recording(cam); - printf("grabbing for 2 seconds\n"); - sleep(2); + printf("grabbing for 1 second ... "); + fflush(stdout); + sleep(1); uca_cam_stop_recording(cam); printf("done\n"); - fflush(stdout); uca_destroy(u); return 0; |