get_height_for_width


Description:

public float get_height_for_width (float width)

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

Parameters:

this

A VideoSink

width

A specific output width

Returns:

An output height for the given output width.