Hi, sorry I missed this post.
First, here's how you will send the video data to a texture in C++ :
MEngine * engine = MEngine::getInstance();
MSystemContext * system = engine->getSystemContext();
MRenderingContext * render = engine->getRenderingContext();
MLevel * level = engine->getLevel();
// get a texture reference that will receive the video stream
char globalFilename[256];
getGlobalFilename(globalFilename, system->getWorkingDirectory(), name); // "name" if a local path like "maps/dummy.png"
MTextureRef * texture = level->loadTexture(globalFilename, 0, 0);
// send the video clip data to the texture
TheoraVideoFrame * f = clip->getNextFrame();
if(f)
{
unsigned int textureId = texture->getTextureId();
if(textureId == 0)
{
render->createTexture(&textureId);
texture->setTextureId(textureId);
}
render->bindTexture(textureId);
render->setTextureFilterMode(M_TEX_FILTER_LINEAR, M_TEX_FILTER_LINEAR);
render->setTextureUWrapMode(M_WRAP_CLAMP);
render->setTextureVWrapMode(M_WRAP_CLAMP);
render->texImage(0, clip->getWidth(), clip->getHeight(), M_UBYTE, M_RGB, f->getBuffer());
}