Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

utils_queput is full

$
0
0

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);
}

in Utils_quePut ,
if (handle->count < handle->maxElements)
 handle++;

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 ? 


Viewing all articles
Browse latest Browse all 262198

Trending Articles