PyObject * _wrap_smpeg_render_final (PyObject *self, PyObject *args) { PyObject *py_s; PyObject *py_v; int x, y; if (!PyArg_ParseTuple (args, "OOii:render_final", &py_s, &py_v, &x, &y)) return NULL; GLASSERT (py_s && py_s != Py_None); GLASSERT (py_v && py_v != Py_None); SMPEG *smpeg = AS_PTR(SMPEG, py_s); GLASSERT (smpeg); SDL_Surface *surface = AS_PTR(SDL_Surface, py_v); GLASSERT (surface); SMPEG_renderFinal (smpeg, surface, x, y); RETURN_NONE; }
// Render the final frame of the movie void CSmpeg::RenderFinal() { SMPEG_renderFinal( movie, movieSurface, 0, 0 ); if(SMPEG_error(movie) != NULL) log << WARN << "RenderFinal() error: " << SMPEG_error(movie) << endl; }