Reputation: 14418
My Android device supports the resolution of 480*800 ie: (Width*height).
I am trying to display 1280 * 720 frame that are received from ffmpeg.
Pertaining to SDL:
Question:
Upvotes: 2
Views: 1281
Reputation: 301
SDL_RenderSetLogicalSize(Renderer, 1280, 720);
That will display a resolution of 1280 by 720 on any resolution while maintaining the proper aspect ratio via letter boxing.
Upvotes: 2