VideoInput
Delphi
property VideoInput: LongInt read GetVideoInput write SetVideoInput default DEF_StoredValueDefaults;
C++Builder
__property System::LongInt VideoInput = {read=GetVideoInput, write=SetVideoInput, default=-1};
C#
public int VideoInput { get; set; }
VB.NET
Public Property VideoInput As Integer
C++/Qt
int GetVideoInput ();
void SetVideoInput (int Value);
Selects the video input. This property is an index in the VideoInputs list, in the 0 ... VideoInputsCount - 1 range.
Important: the current video input index differs from one video capture device to another. It is reloaded when the video capture device is selected by assigning the VideoDevice property.
-
Any control displaying this value should re-read it from the OnVideoDeviceSelected event (which occurs when the video device is selected).
-
Make sure that the video capture device has been selected (by assigning the VideoDevice property) before setting this property.
See VideoInputs and device-dependent properties.