Two yuv movies

hi *,

how can i show two yuv movies together - side by side? everytime i initialize
the second display, SDL chrashes with “Fatal signal: Segmentation Fault (SDL
Parachute Deployed)”

Thanks in advance,

Klaus

There was a source posted some time ago which toggles from windowed mode to
full screen,
working other platforms too as the SDL_WM_ToggleFullScreen().

Can’t remember where i copy it, please repost it.

Thx
MichToen

the function void SDL_WM_SetIcon(SDL_Surface *icon, Uint8 *mask) needs a
mask for
doing transparency for the windows icon.

Which program can generate this kind of mask fron a given icon?

Thx
Michael

There was a source posted some time ago which toggles from windowed
mode to full screen, working other platforms too as the
SDL_WM_ToggleFullScreen().

Can’t remember where i copy it, please repost it.

http://www.libsdl.org/pipermail/sdl/2001-October/039721.html

–ryan.

how can i show two yuv movies together - side by side? everytime i initialize
the second display, SDL chrashes with “Fatal signal: Segmentation Fault (SDL
Parachute Deployed)”

SDL only supports one YUV surface at a time right now.

–ryan.

Generally the mask will be a black and white image. Where it is black,
the image is transparent. Where white, the color of the icon. I’d have
to check the source to see whether that is a bit mask or a byte mask.

It’s a bit mask, one bit per pixel. If you have 256 color icon with a
color key, you don’t need a mask. Just feed the icon and a NULL mask, SDL
will make it for you.

If your icons are high-color, you should make your own bitmask (I highly
recommend you make sure they work if scaled down to 256 color, though 16
is thankfully not expected by anyone to look right anymore… It’s easy
to just use an indexed image in the first place, really.)On Sat, May 11, 2002 at 07:50:19PM +0200, Michael Toennies wrote:

the function void SDL_WM_SetIcon(SDL_Surface *icon, Uint8 *mask) needs a
mask for
doing transparency for the windows icon.

Which program can generate this kind of mask fron a given icon?


Joseph Carter This end upside-down

“In the event of a percieved failing of the project leadership #debian is
empowered to take drastic and descisive action to correct the failing,
including by not limited to expelling officials, apointing new officials
and generally abusing power”
– proposed amendment to Debian Constitution

-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 273 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20020513/f478df5c/attachment.pgp

----- Original Message -----
From: knghtbrd@bluecherry.net (Joseph Carter)
To:
Sent: Tuesday, May 14, 2002 6:10 AM
Subject: Re: [SDL] mask for SDL_WM_SetIcon