[aravis] viewer: 5 frames for the queue is enough.
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aravis] viewer: 5 frames for the queue is enough.
- Date: Thu, 6 Jan 2011 16:46:11 +0000 (UTC)
commit 26b24aca8a4ab140a5ff8c310654faf76945338f
Author: Emmanuel Pacaud <emmanuel pacaud lapp in2p3 fr>
Date: Thu Jan 6 17:45:39 2011 +0100
viewer: 5 frames for the queue is enough.
viewer/arvviewer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/viewer/arvviewer.c b/viewer/arvviewer.c
index 762710e..3215b53 100644
--- a/viewer/arvviewer.c
+++ b/viewer/arvviewer.c
@@ -232,7 +232,7 @@ arv_viewer_select_camera_cb (GtkComboBox *combo_box, ArvViewer *viewer)
viewer->stream = arv_camera_create_stream (viewer->camera, NULL, NULL);
arv_stream_set_emit_signals (viewer->stream, TRUE);
payload = arv_camera_get_payload (viewer->camera);
- for (i = 0; i < 50; i++)
+ for (i = 0; i < 5; i++)
arv_stream_push_buffer (viewer->stream, arv_buffer_new (payload, NULL));
arv_camera_get_region (viewer->camera, NULL, NULL, &width, &height);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]