[SDL] Mouse events and Threads...any suggestions?
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
> >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
> >other clients (this is for an art project...).
> >The client needs to be able to take mouse input (SDL MouseButtonEvent) while
> >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
> >already on its own thread (correct?).
> SDL by itself doesn't play movies. What are you using to play these movies ?
> SDL mailing list
> SDL at libsdl.org
I'm using the SMPEG libraries.
More information about the SDL