[SDL] SDL_Overlay, SDL_CreateYUVOverlay, SDL_LockYUVOverlay...
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...
More information about the SDL