[aravis] js: pixel format are defines now.



commit c7371305dc177d932b880e1579eac68e683a72c6
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Tue May 1 19:53:48 2012 +0200

    js: pixel format are defines now.

 tests/js/arv-camera-test.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/js/arv-camera-test.js b/tests/js/arv-camera-test.js
index 891b0f1..333465d 100644
--- a/tests/js/arv-camera-test.js
+++ b/tests/js/arv-camera-test.js
@@ -38,7 +38,7 @@ const Aravis = imports.gi.Aravis;
 let camera = Aravis.Camera.new ("Fake_1");
 
 camera.set_region (0,0,128,128);
-camera.set_pixel_format (Aravis.PixelFormat.MONO_8);
+camera.set_pixel_format (Aravis.PIXEL_FORMAT_MONO_8);
 camera.set_frame_rate (10.0);
 
 let [x,y,width,height] = camera.get_region ();



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