Autoexposure set values from last time instead of default

Hey, I have implemented a sensor driver for my custom camera sensor.

When I start a stream with GStreamer:

gst-launch-1.0 nvarguscamerasrc ! nvoverlaysink -e

it’s working fine.

But if I start a stream again, it is using the default settings for exposure, gain and framerate instead of using the old ones. I would like to change the behaviour to using the old ones. Is it possible?

I thought therefor is OVERRIDE_ENABLE in v4l2-ctl but it does not seem to change anything.

Thank you for your help!

Best regards,

hello busch.johannes,

yes, it’s by default to load default settings from device tree property to initial camera stream.
may I know what’s your use-case to change the behavior by using the old settings.

Thank you for your response. I changed how I am doing what I want to achieve so that I don’t need to restart the stream. Thank you anyway!