diff options
author | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-07-02 17:08:29 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-07-02 17:08:29 +0200 |
commit | 73264f0bfa7a6a3aaf59dd4bed1e52b0b35b816e (patch) | |
tree | 16fc03356d969a20c33467c5a9384c820b13235c /src | |
parent | 9551b293504f772cbcbd0e67714a30149738118b (diff) | |
download | uca-73264f0bfa7a6a3aaf59dd4bed1e52b0b35b816e.tar.gz uca-73264f0bfa7a6a3aaf59dd4bed1e52b0b35b816e.tar.bz2 uca-73264f0bfa7a6a3aaf59dd4bed1e52b0b35b816e.tar.xz uca-73264f0bfa7a6a3aaf59dd4bed1e52b0b35b816e.zip |
Implement ROI multipliers in mock camera
Diffstat (limited to 'src')
-rw-r--r-- | src/cameras/uca-mock-camera.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cameras/uca-mock-camera.c b/src/cameras/uca-mock-camera.c index 6f3344f..a8a8d25 100644 --- a/src/cameras/uca-mock-camera.c +++ b/src/cameras/uca-mock-camera.c @@ -41,6 +41,8 @@ static const gint mock_overrideables[] = { PROP_ROI_Y, PROP_ROI_WIDTH, PROP_ROI_HEIGHT, + PROP_ROI_HEIGHT_MULTIPLIER, + PROP_ROI_WIDTH_MULTIPLIER, PROP_SENSOR_MAX_FRAME_RATE, PROP_HAS_STREAMING, PROP_HAS_CAMRAM_RECORDING, @@ -299,6 +301,12 @@ static void uca_mock_camera_get_property(GObject *object, guint property_id, GVa case PROP_ROI_HEIGHT: g_value_set_uint(value, priv->height); break; + case PROP_ROI_WIDTH_MULTIPLIER: + g_value_set_uint(value, 1); + break; + case PROP_ROI_HEIGHT_MULTIPLIER: + g_value_set_uint(value, 1); + break; case PROP_SENSOR_MAX_FRAME_RATE: g_value_set_float(value, priv->max_frame_rate); break; |