Considering the real resolution of the video as well as the aspect ratio of pixel data that may need to be stretched when being displayed; this function calculates what the natural size of the underlying video source is.
The natural size has the correct aspect ratio for displaying the video and is the minimum size where downscaling is not required.
<note>This natural size is calculated assuming that the video will be displayed on square pixels.</note>
this | |
width |
return location for the video's natural width |
height |
return location for the video's natural height |