I am trying to use h/w decoders for decoding video on N96, using 3rd edition fp2 SDK. I have downloaded the DevVideo plugin and am able to compile the whole code.

I enumerate decoder using mime type (video/mp4v-es), select one, configure postprocessors and initialize every thing. Every init and config succeeds and happens the way I want. But as soon as I post data to the decoder - it crashes with kern-exec 0!!!! I know that it stands for invalid handle and I am totally confused as to which handle is it talking about.

I also prepend a sequence header to the first packet that I send to the decoder (and it crashes ASAP), if I don't prepend a header, WriteCodedDataL leaves with KErrCurrupt

I am looking for tips, common issues, any kind of help one could provide in setting this right