get_width_for_height


Description:

public float get_width_for_height (float height)

Calculates a suitable output width for a specific output height that will maintain the video's aspect ratio.

Parameters:

this

A VideoSink

height

A specific output height

Returns:

An output width for the given output height.