Transform SDL_Overlay in SDl_Surface

Hello,
I’m working on a video player. I use overlay for printing video on SDL_Surface.
But I can’t print text on overlay, so I would like to know if someone have the
source code for transform overlay in surface. Thx

LeNain wrote:

Hello,
I’m working on a video player. I use overlay for printing video on SDL_Surface.
But I can’t print text on overlay, so I would like to know if someone have the
source code for transform overlay in surface.

Why would you want to do convert an overlay to RGB ? Can’t you draw your
text on the overlay instead ?

Stephane