[aravis] fake_camera: set the number of stream channels.



commit 0e4aa5bd00c487ba6add6925dcd16a346cd05535
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Thu May 12 20:34:23 2011 +0200

    fake_camera: set the number of stream channels.

 src/arvfakecamera.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/arvfakecamera.c b/src/arvfakecamera.c
index a4ac454..3844110 100644
--- a/src/arvfakecamera.c
+++ b/src/arvfakecamera.c
@@ -463,6 +463,8 @@ arv_fake_camera_new (const char *serial_number)
 	arv_fake_camera_write_register (fake_camera, ARV_GVBS_TIMESTAMP_TICK_FREQUENCY_LOW_OFFSET, 1000000000);
 	arv_fake_camera_write_register (fake_camera, ARV_GVBS_CONTROL_CHANNEL_PRIVILEGE_OFFSET, 0);
 
+	arv_fake_camera_write_register (fake_camera, ARV_GVBS_N_STREAM_CHANNELS_OFFSET, 1);
+
 	arv_fake_camera_write_register (fake_camera, ARV_FAKE_CAMERA_REGISTER_TEST,
 					ARV_FAKE_CAMERA_TEST_REGISTER_DEFAULT);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]