Standard SDL_Surfaces above SDL_Overlay causes flickering

hi folks!

currently i am using the SDL-based example player from the Ogg theora project to display video frames.

i am trying to display a HUD and a cursor above the YUV overlay.

the problem: when having these 2 SDL_Surfaces which are updated directly after the YUV overlay,
the full screen flickers very bad…

how can i avoid this?

btw: IIRC those surfaces are blitted to the screen-Surface, where the overlay is bound to. is this the right way?

thanks,

—david_________________________________________________________________________
Mit der Gruppen-SMS von WEB.DE FreeMail k?nnen Sie eine SMS an alle
Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179

hm, seems noone has occured this problem.

generally: does SDL support RGB surfaces above YUV surfaces?
or can i abandon this idea?

—david

“A list for developers using the SDL library. (includes SDL-announce)” schrieb am 04.07.05 13:58:30:>

hi folks!

currently i am using the SDL-based example player from the Ogg theora project to display video frames.

i am trying to display a HUD and a cursor above the YUV overlay.

the problem: when having these 2 SDL_Surfaces which are updated directly after the YUV overlay,
the full screen flickers very bad…

how can i avoid this?

btw: IIRC those surfaces are blitted to the screen-Surface, where the overlay is bound to. is this the right way?

thanks,

—david


Mit der Gruppen-SMS von WEB.DE FreeMail k?nnen Sie eine SMS an alle
Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Mit der Gruppen-SMS von WEB.DE FreeMail k?nnen Sie eine SMS an alle
Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179

david kment a ?crit :

hm, seems noone has occured this problem.

generally: does SDL support RGB surfaces above YUV surfaces?
or can i abandon this idea?

Yes, you should forget about it.

It’s not that bad actually : you can easily draw the HUD over the YUV
surface, and working in the YUV space allows nice color manipulation
operations.

Stephane