[SDL] SDL_Overlay, SDL_CreateYUVOverlay, SDL_LockYUVOverlay...

brada bradallred at me.com
Thu Mar 28 15:29:00 PDT 2013

the sample works fine with color. are you passing monochrome=true or something?

you render video the same way you render anything else. Dimitris already pointed out that you should use streaming textures for video. you create a texture of the format your video data is in then use the SDL_LockTexture to write new frame data to it as it is decoded. (decoding isnt part of the SDL api btw)

To give you more help we would need to know the format of the video data. maybe some code?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20130328/3ed49353/attachment-0009.htm>

More information about the SDL mailing list