[PATCH v1] gstreamer: Restore `AeEnable` control

Barnabás Pőcze barnabas.pocze at ideasonboard.com
Tue Apr 1 16:05:27 CEST 2025


Hi

2025. 04. 01. 16:03 keltezéssel, Kieran Bingham írta:
> Quoting Barnabás Pőcze (2025-04-01 14:52:57)
>> Commit "gstreamer: Generate the new AEGC controls" removed the
>> `AeEnable` control from gen-gst-controls.py. However, the patch
>> set it was part of did not end up removing the `AeEnable`
>> control after all. So restore it for gstreamer users.
>>
>> See 85cb179f289d29 ("controls: Redefine AeEnable").
>>
> 
> Does this also relate to Bugzilla 261 "IMX296 on PI 4 / CM4 have no wb
> automatics" ?

No, I don't think so. The "removal" has not been in any libcamera release yet.


Regards,
Barnabás Pőcze

> 
> If so, lets add:
> 
> Bug: https://bugs.libcamera.org/show_bug.cgi?id=261
> 
>> Fixes: 187f2d537be5a4 ("gstreamer: Generate the new AEGC controls")
>> Signed-off-by: Barnabás Pőcze <barnabas.pocze at ideasonboard.com>
> 
> 
> Reviewed-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
> 
>> ---
>>   utils/codegen/gen-gst-controls.py | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/utils/codegen/gen-gst-controls.py b/utils/codegen/gen-gst-controls.py
>> index 07af7653b..4ca76049e 100755
>> --- a/utils/codegen/gen-gst-controls.py
>> +++ b/utils/codegen/gen-gst-controls.py
>> @@ -19,7 +19,7 @@ from controls import Control
>>   
>>   
>>   exposed_controls = [
>> -    'AeMeteringMode', 'AeConstraintMode', 'AeExposureMode',
>> +    'AeEnable', 'AeMeteringMode', 'AeConstraintMode', 'AeExposureMode',
>>       'ExposureValue', 'ExposureTime', 'ExposureTimeMode',
>>       'AnalogueGain', 'AnalogueGainMode', 'AeFlickerPeriod',
>>       'Brightness', 'Contrast', 'AwbEnable', 'AwbMode', 'ColourGains',
>> -- 
>> 2.49.0
>>



More information about the libcamera-devel mailing list