| /**
| * Creates SDL video renderer for YUV data in format yuv_fmt.
| * If it fails ( e.g. because yuv_fmt is not supported by X server
| * and VideoRenderer::allow_sw_yuv==false ), returns pointer to
| * 'ordinary' fullscreen renderer and puts 0 into yuv_fmt.
| */
| IVideoRenderer* CreateFullscreenRenderer(IPlayerWidget*, void* dpy,
| int width, int height, bool sub = false);
This function looks exactly like what I need to display an AVI file on a
SDL surface. But how to use it? What do I have to put in the first
parameter - the player should not react to any actions in my
application's window. dpy is a SDL display (of type SDL_surface), isn't
it? And how is the sound handled? Do I have to repeatedly call something
to display the video? Do I need to do the synchronization on my own or
does it spawn a thread which plays the file?
Does anyone have a minimalistic example of an AVI player playing a file
on an SDL surface?
And where's the avifile documentation? There must be more than what I
find in avifile/doc. Even README_DEVEL is not really helpful.
TIA
--
[mpg123d] Just playing: .../albums/feelwell/09 Brave Heart.mp3
*PLONCK*
[Pitt Marin in de.comm.technik.dsl]
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile