I'm running a modified version of the encode demo.
Scenario 1: If I allocate the capture buffers in the application, the image is correct, but there is an apparent buffer contention/overwrite/?? issue. After a period of a few seconds to a minute the capture thread gets an error on the capture_put() call trying to give a buffer back to the capture device. I've verified all arguments to the Capture_put() call.
Scenario 2: If I allocation the capture buffers in the driver, the image has color bars across it (see attached image), but the application will run continuously with no buffer problems as in scenario 1.
I'm assuming that the color bars are buffer size/offset issues related to the chroma buffer.
Any suggestions as to how to fix either of these problems?
TIA!