chunky at icculus.org
Tue Feb 17 14:38:04 EST 2004
On Mon, Feb 16, 2004 at 04:12:46PM -0500, Manuel Arguelles wrote:
> I did it, but without success, I just created a new surface
> and (acording to plaympeg) I changed the surface parameter of
> SMPEG_setdisplay(), I also tried to blit and update the new surface,
> but I'm not getting any video :(
> I'm creating the Surface with:
> video = SDL_CreateRGBSurface(SDL_SWSURFACE |
> when do I have to blit it? after the smpeg_setdisplay? after the main
> loop? inside the main loop? what about the update?
> (sorry, as you can see I'm a little lost here...) :(
> thanx for you time
Quite honestly, at this point, you've got further than I've ever
tried. My first two responses are "don't try a HWSURFACE" and "make
sure that the size and bit depth matches your movie", but TBH I'm not
at all sure.
> ----- Original Message -----
> Chunky Kibbles wrote:
> > On Thu, Feb 12, 2004 at 01:41:29AM -0500, Manuel Arguelles wrote:
> > > hi,
> > >
> > > I took a look at smpeg.cpp and notice that SMPEG_setdisplay()
> > > has a parameter for the SDL surface, in plaympeg example the use that
> > > destination surface as screen (the first and main surface); the question
> > > is: if it's possible to asign a different surfac
> > Of course - that's why the feature's there!
> > Just create a different SDL_Surface(3), probably using something like
> > SDL_CreateRGBSurface(3) and friends.
> > Gary (-;
More information about the smpeg