Hi,
in our application we need to change video resolution at run time, passing from raw 1024 x 219 image to 1024 x 1000. So when we need, we stop the driver with FVID_CONTROL, deallocate all frame buffers, reload the video port parameter and reopen the video channel, allocating new frame buffers with the desired dimension.
All seems to work fine, sometimes when we pass from 1024 x 219 image to 1024 x 1000 and viceversa, the address of buffer are correct when we allocate them, but FVID_DEQUEUE gives to us some buffer with frameBuffPtr->frame.frameBufferPtr with wrong address (like 0xf0f0f0f0)! At this point the video port crash or don't work correctly!
what we do wrong! This problem is not sistematic, and I don't understand what I can change!
Regards,
David