Hi all,
I am a newbie in SDL programming. I have got a decoded video frame. I just want to display the decoded frame using SDL. Is that sequence of API call (with appropriate parametes) enough for the display?
SDL_Init()
SDL_SetVideoMode()
SDL_CreateYUVOverlay()
SDL_LockYUVOverlay()
memcpy(…)
SDL_UnlockYUVOverlay()
SDL_DisplayYUVOverlay()
SDL_FreeSurface()
SDL_FreeYUVOverlay()
SDL_Quit()
Any sample example to display frame using overlay ?
Thanks…