Tao.Sdl SDK Documentation |
|
Smpeg.SMPEG_setdisplay Method
Set the destination surface for MPEG video playback
Parameters
-
mpeg
- Handle to MPEG file.
-
dst
-
-
surfLock
- 'surfLock' is a mutex used to synchronize access to 'dst', and can be NULL.
-
callback
- 'callback' is a function called when an area of 'dst' needs to be updated. If 'callback' is NULL, the default function (SDL_UpdateRect) will be used.
Remarks
Binds to a C-function call in smpeg.h
void SMPEG_setdisplay(SMPEG* mpeg, SDL_Surface* dst, SDL_mutex* surfLock, SMPEG_DisplayCallback callback);
See Also
Smpeg Class | Tao.Sdl Namespace