[aravis] python: check for buffer.data access.



commit 634aafae26e83c6bfbf5cf9485f15e0182ec3c9f
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Sun Nov 3 10:03:56 2013 +0100

    python: check for buffer.data access.

 tests/python/arv-camera-test.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/python/arv-camera-test.py b/tests/python/arv-camera-test.py
index db4290f..76386c1 100644
--- a/tests/python/arv-camera-test.py
+++ b/tests/python/arv-camera-test.py
@@ -73,7 +73,7 @@ print "Acquisition"
 
 for i in range(0,20):
        buffer = stream.pop_buffer ()
-       print buffer
+       print buffer.data
        if buffer:
                stream.push_buffer (buffer)
 


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