AVCodecHWConfig.device_type

The device type associated with the configuration.

Must be set for AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX and AV_CODEC_HW_CONFIG_METHOD_HW_FRAMES_CTX, otherwise unused.

struct AVCodecHWConfig
AVHWDeviceType device_type;

Meta