01-15-2007, 9:50
|
Mric
Joined on 01-09-2007
Posts 2
|
StartConvert() : convert object not ready
|
 
 
|
|
|
Hi
I have a problem, the solution of which may be very simple (that's what I'm afraid of), but I need to ask the question...
I am trying to encode an array - representing an image, of course - to another one with the LEAD MCMP/MJPEG codec (evaluation version). To do so, I create a IltmmConvert *g_pConvert object, where I select the MCMP/MJPEG compressor. Then, I set g_pConvert's source and target, with put_SourceArray and put_TargetArray, with the safearrays I have created. This is where I call StartConvert on g_pConvert, but before that, if I check the object's state, it's always in the state "not ready".
What I am supposed to do to make it ready ? Did I forget something here ?
Thanks by advance,
Emeric
|
|
|
|
|
Report
|
|
|
|