Skip to content

VideoCompression_GetInt

function

Delphi
function VideoCompression_GetInt (Setting: TVideoCompression_int; var Value: LongInt): Boolean;
C++Builder
bool __fastcall VideoCompression_GetInt(TVideoCompression_int Setting, System::LongInt &Value);
C#
public bool VideoCompression_GetInt(TVideoCompression_int Setting, ref int Value);
VB.NET
Public Function VideoCompression_GetInt(Setting As TVideoCompression_int, ByRef Value As Integer) As Boolean
C++/Qt
BOOL VideoCompression_GetInt (TVideoCompression_int Setting, int *Value);

Retrieves the value of a TVideoCompression_int setting: the value assigned by VideoCompression_SetInt (-1: not set), or, for the _readonly values, the value of the encoder of the current recording (-1 when no recording runs, with another compressor, or when the value is not known).

vc_DataRate, vc_KeyFrameRate and vc_Quality return the values of the VideoCompression_DataRate, VideoCompression_KeyFrameRate and VideoCompression_Quality (x 100) properties, e.g. 15 for vc_KeyFrameRate by default.

Returns false if Setting is not a TVideoCompression_int value.