summaryrefslogtreecommitdiffstats
path: root/test/test-all.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-04-19 16:45:11 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-04-19 16:45:11 +0200
commit42e3c64fa57039d7673c61f909b5fd40a437bdfd (patch)
treeb9552183c0b1f56aa98395ac760e5d0ec79b2b0e /test/test-all.c
parente23aff7cfa16d7d3446f59e9100341f060a08e11 (diff)
downloaduca-42e3c64fa57039d7673c61f909b5fd40a437bdfd.tar.gz
uca-42e3c64fa57039d7673c61f909b5fd40a437bdfd.tar.bz2
uca-42e3c64fa57039d7673c61f909b5fd40a437bdfd.tar.xz
uca-42e3c64fa57039d7673c61f909b5fd40a437bdfd.zip
Export base properties and string array
The benefits are two-fold: Camera implementations "know" which base properties exist without looking into the implementation source. Moreover, they can re-use the property strings rather than stating them over and over again. These change should reduce potential c&p errors.
Diffstat (limited to 'test/test-all.c')
-rw-r--r--test/test-all.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-all.c b/test/test-all.c
index 941c0cd..37af97d 100644
--- a/test/test-all.c
+++ b/test/test-all.c
@@ -75,7 +75,7 @@ static void test_recording_async(Fixture *fixture, gconstpointer data)
gfloat max_frame_rate = 1.0f;
g_object_get(G_OBJECT(camera),
- "max-frame-rate", &max_frame_rate,
+ "sensor-max-frame-rate", &max_frame_rate,
NULL);
g_assert(max_frame_rate != 0.0f);