I’m looking to keep a certain video on the center of the screen without stretching. What is the fastest way to keep every loaded video in the center of some rectangle? I have .draw(x, y, w, h) and it in fact is “hardcoded” to be always in the center. But the video texture may not match these coordinates and will end up stretching. Is it possible to resize the video keeping the aspect ratio without doing the math by hand?
Thanks in advance.