Changing the size of the ROI requires a change in buffer size, for example as in tests/arvriotest.c.
There, the stream is stopped and buffers deleted (i.e. free’d) by calling
arv_stream_stop_thread (data->stream, TRUE);
Then, after creating and pushing the buffers onto the stream, the stream is started by calling
First question: How is the ROI changed in Python? Or perhaps equivalently, how are buffers deleted in Python?
Second, related, question: In the python examples, there is no call to start and stop the stream thread. It is simply created and buffers are pushed onto it. Where or how is the stream thread managed in the Python API?