get_aspect


Description:

public float get_aspect ()

Returns a width-for-height aspect ratio that lets you calculate a suitable width for displaying your video based on a given height by multiplying your chosen height by the returned aspect ratio.

This aspect ratio is calculated based on the underlying size of the video buffers and the current pixel-aspect-ratio.

Parameters:

this

A VideoSink

Returns:

a width-for-height aspect ratio