diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2011-10-19 14:29:57 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2011-10-19 14:29:57 +0200 |
commit | 338c435be149cdc0a64e548d3ff3a86d12b1ac38 (patch) | |
tree | 1fac47f734c5746d545f730d5a05c73eb3c74669 /test/control.c | |
parent | f4447a4d02d21c4820d8e469b27f308326f77922 (diff) | |
download | libuca-338c435be149cdc0a64e548d3ff3a86d12b1ac38.tar.gz libuca-338c435be149cdc0a64e548d3ff3a86d12b1ac38.tar.bz2 libuca-338c435be149cdc0a64e548d3ff3a86d12b1ac38.tar.xz libuca-338c435be149cdc0a64e548d3ff3a86d12b1ac38.zip |
Fix: timestamp mode
Diffstat (limited to 'test/control.c')
-rw-r--r-- | test/control.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/control.c b/test/control.c index 44befe8..156fea3 100644 --- a/test/control.c +++ b/test/control.c @@ -358,6 +358,9 @@ int main(int argc, char *argv[]) uca_cam_get_property(cam, UCA_PROP_HEIGHT, &height, 0); uca_cam_get_property(cam, UCA_PROP_BITDEPTH, &bits_per_sample, 0); + uint32_t mode = UCA_TIMESTAMP_ASCII | UCA_TIMESTAMP_BINARY; + uca_cam_set_property(cam, UCA_PROP_TIMESTAMP_MODE, &mode); + g_thread_init(NULL); gdk_threads_init(); gtk_init (&argc, &argv); |