Hi Badri / Brijesh,
You both are correct in that the buffers weren't being freed! I'm trying to figure out why though. Is it possible that because I'm no longer looping frames back to the decoder in the A8 it's messing up the queues?
I've tried to simplify the initialization for the demo code to isolate the issue (attached as init.c). The issue seems to be in the ipcBitsProcessFullBufs function of the ipc rd wr module. Specifically the call to OSA_queGet(). It never returns. I've attached the output of the buffer statistics when this happens (output_2.txt).
As an experiment I skipped the buffer copying and file write routines. So basically the function got the buffer from the encoder and then released it immediately. What I see is the frames appear to make their way through! At least the statistics show they do (attached as output_3.txt). Have you come accross this behavior of being stuck wiating on the queue? I couldn't find anything specific in the forums.
Thanks as always for your help!
Jason
(Please visit the site to view this file)
(Please visit the site to view this file)
(Please visit the site to view this file)