[SDL] Mouse events and Threads...any suggestions?

shu it3husu at ituniv.se
Thu Mar 31 15:19:31 PST 2005


Quoting Stephane Marchesin <stephane.marchesin at wanadoo.fr>:

> shu wrote:
>
> >I am making a client/server program, and the clients will be using SDL to
> play
> >short movie clips (the clip is decided by the server and broadcast to the
> >clients) and subsequently changes to one client will affect the video play
> on
> >other clients (this is for an art project...).
> >
> >The client needs to be able to take mouse input (SDL MouseButtonEvent) while
> the
> >movie is playing and do the following:
> >A) interrupt the movie clip and play a different movie upon mouse input
> >B) send the mouse input information to the server
> >
> >I am new to SDL and threading but my suspicion is that the SDL movie playing
> is
> >already on its own thread (correct?).
> >
> SDL by itself doesn't play movies. What are you using to play these movies ?
>
> Stephane
>
>
>
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
>


I'm using the SMPEG libraries.

Thanks,
//shu




More information about the SDL mailing list