The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
SDL2 YUV Surface
alejandroicom


Joined: 27 Aug 2014
Posts: 4
I have a video that I can caputre in YUV format only. In SDL1.2 I can create a YUVOverlay but in SDL2 I can't . In SDL2 I can create texture but I need a Surface because I need save a image, If I use SDL_saveBMP I need a Surface

My question is Can I a YUV surface? or can save a Image from a Texture?

Thanks!