Open dev-zzo opened 1 year ago
Thanks for reporting that. I think the problem is that the preview thinks it has acquired a "handle" on the request currently being displayed, only when you're running with only a single buffer it can't actually do that. So I'll patch that up but in the meantime you should find it works ok if you add buffer_count=2
to your configuration. (Actually it may run better too with two buffers, maybe even increase the buffer count by more.)
Thanks for having a look, David. Increasing buffer count did fix the issue indeed!
Please only report one bug per issue!
Describe the bug Calling
set_overlay()
afterstart()
is called results in an exception getting raised. Doing the same beforestart()
is called works properly but precludes updating the overlay at a later point. I do believe this is a bug, however it might be me misusing the API in some way.To Reproduce
I tried piecing together the code for you to reproduce the issue while sticking as close to what I have as I could:
Expected behaviour I would expect to be able to set/update overlay images at any point while the camera is running.
Console Output, Screenshots
Hardware : Pi 3B with HQ camera attached.
Additional context Add any other context about the problem here.