Chris, Thanks for your reply.
I have single process - multithreaded application. I am opening engine in _main ()_ function of my application. I am creating a thread to perform coding & in this coding thread I am creating codec instances. This coding thread will be created as and when needed. So I am opening engine one thread and creating codec instances in other thread. Is it creating any problems? Kushal -----Original Message----- From: Ring, Chris [mailto:[EMAIL PROTECTED] Sent: Saturday, January 20, 2007 11:45 PM To: Kushal Dalal; [email protected] Subject: RE: Error messages at creation/deletion of codec instances Are you using multiple processes in your app? I'm not a Link expert, but I think these assertions are thrown when you call MSGQ_Get() (which the internals of the VIDENC_create()/delete() APIs use) from a different process than you called MSGQ_Open() with (which Engine_open() does). (Link experts please correct me) If that's the case, Codec Engine doesn't currently support multiple processes - it does support multiple threads within the same process... but not multiple processes. Some details on your app's threading model might help. I haven't seen these assertions thrown before. Chris > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > ] On Behalf Of Kushal Dalal > Sent: Friday, January 19, 2007 9:32 PM > To: [email protected] > Subject: Error messages at creation/deletion of codec instances > > Hi All, > > I am getting "Assertion failed" error messages from DSP link > when I create > (VIDENC_create) and delete (VIDENC_delete) codec instances. > Here I have > pasted snap of those messages. > ----------------------------------------------------------------- > Assertion failed (PMGR_MSGQ_IsOwner (PMGR_MSGQ_OwnerArray [(MsgqId) > msgqQueue])). File : pmgr_msgq.c Line : 656 > Assertion failed (PMGR_MSGQ_IsOwner (PMGR_MSGQ_OwnerArray [(MsgqId) > msgqQueue])). File : pmgr_msgq.c Line : 656 > Assertion failed (PMGR_MSGQ_IsOwner (PMGR_MSGQ_OwnerArray [(MsgqId) > msgqQueue])). File : pmgr_msgq.c Line : 656 > ------------------------------------------------------------------ > > Please note my encoding/decoding works well in spite of these messages > (which comes only at encoder/decoder instance creation/deletion time). > > What can be the reason for error these error/warning messages? > What is the impact on application? > > Thanks, > Kushal > > > > eInfochips Business Disclaimer: This message may contain confidential, proprietary or legally Privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, Disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by eInfochips Limited and/or eInfochips Inc("eInfochips") unless sent with that express intent and with due authority of eInfochips. eInfochips has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
