@@ -249,7 +249,7 @@ int CameraSensor::init()
propertyValue = rotationControl->second.def().get<int32_t>();
else
propertyValue = 0;
- properties_.set(properties::Rotation, propertyValue);
+ properties_.set(properties::draft::Rotation, propertyValue);
/* Enumerate, sort and cache media bus codes and sizes. */
formats_ = subdev_->formats(pad_);
@@ -270,7 +270,7 @@ CameraConfiguration::Status RPiCameraConfiguration::validate()
* error means the platform can never run. Let's just print a warning
* and continue regardless; the rotation is effectively set to zero.
*/
- int32_t rotation = data_->sensor_->properties().get(properties::Rotation);
+ int32_t rotation = data_->sensor_->properties().get(properties::draft::Rotation);
bool success;
Transform rotationTransform = transformFromRotation(rotation, &success);
if (!success)
@@ -28,6 +28,7 @@ controls:
- Rotation:
type: int32_t
+ draft: true
description: |
The camera rotation is expressed as the angular difference in degrees
between two reference systems, one relative to the camera module, and