// AForge Direct Show Library
// AForge.NET framework
// http://www.aforgenet.com/framework/
//
// Copyright © AForge.NET, 2009-2012
// contacts@aforgenet.com
//
namespace AForge.Video.DirectShow
{
using System;
///
/// Video input of a capture board.
///
///
/// The class is used to describe video input of devices like video capture boards,
/// which usually provide several inputs.
///
///
public class VideoInput
{
///
/// Index of the video input.
///
public readonly int Index;
///
/// Type of the video input.
///
public readonly PhysicalConnectorType Type;
internal VideoInput( int index, PhysicalConnectorType type )
{
Index = index;
Type = type;
}
///
/// Default video input. Used to specify that it should not be changed.
///
public static VideoInput Default
{
get { return new VideoInput( -1, PhysicalConnectorType.Default ); }
}
}
}