Class DeviceTypeExtensions
Extension class for DeviceType
Inherited Members
Namespace: FFmpeg.HW
Assembly: FFmpeg.dll
Syntax
public static class DeviceTypeExtensions
Methods
View SourceParse(string)
Look up an AVHWDeviceType by name.
Declaration
public static DeviceType Parse(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | String name of the device type (case-insensitive). |
Returns
| Type | Description |
|---|---|
| DeviceType |
ToFFmpegString(DeviceType)
Get the string name of an AVHWDeviceType.
Declaration
public static string ToFFmpegString(this DeviceType type)
Parameters
| Type | Name | Description |
|---|---|---|
| DeviceType | type | Type from enum AVHWDeviceType. |
Returns
| Type | Description |
|---|---|
| string |