[SDL] execute an aplication in a video window?
criswell at geekcomix.com
Wed Mar 7 08:32:30 PST 2001
On Wed, 07 Mar 2001, you wrote:
> On Wednesday 07 March 2001 08:25, Zubizarreta Urbizu, Joseba wrote:
> > Hi!
> > I´m quite principiant with SDL, so probably my problem will be quite
> > simple. When I'm playing a mpeg video, I generate a event, and I cath it.
> > And I would like to stop the video and start executing a new aplication (a
> > game, the netscape ...) in the window where was the video.
> In the very window you we're rendering the video output into...?
> Anyway; none of the above is directly supported by SDL.
Actually, I was just thinking about this, and you could "fake" this sort of
behavior using SDL under the right circumstances...
1) Play your MPEG video full-screen.
2) When it stops, start the new application full-screen.
Now I realize there are a scant few circumstances where you could do this, and
many problems (for one, the OS/Desktop must be able to and is setup to support
full-screen applications, for another the calling app must also support a
full-screen mode). But under certain situations, this would work (albeit with
the probable chance of a flicker of the desktop inbetween apps).
It would certainly work if you had total control over the OS, its setups, and
all the apps on it (as in an embedded device). But it wouldn't necessarily work
for apps intended to be used more generally.
(Tho, you still don't have a platform independant way to start a new external
Sam "Criswell" Hart <criswell at geekcomix.com> AIM, Yahoo!: <criswell4069>
Homepage: < http://www.geekcomix.com/snh/ >
PGP Info: < http://www.geekcomix.com/snh/contact/ >
Advogato: < http://advogato.org/person/criswell/ >
More information about the SDL