in my link , i called Utils_quePut to push the video data to output buffer.
status = Utils_bitbufPutFull(bufOutQue,&outBitBufList);
now i have a problem , in Utils_bitbufPutFull() it called Utils_quePut() to push the data to output buffer
for (idx = 0; idx < pBufList->numBufs; idx++)
{
status =
Utils_quePut(&pHndl->fullQue, pBufList->bufs[idx], BIOS_NO_WAIT);
UTILS_assert(status == FVID2_SOK);
}
now the handle->count is equal to handle->maxElemets , and the link can't push the data to output buffer.
I modify the Utils_quePut
if (handle->count ==handle->maxElements)
handle->=0;
but if i do this , the demo can't work.
what should i do ?