---
title: "VTRegisterSupplementalVideoDecoderIfAvailable(_:)"
framework: videotoolbox
role: symbol
role_heading: Function
path: "videotoolbox/vtregistersupplementalvideodecoderifavailable(_:)"
---

# VTRegisterSupplementalVideoDecoderIfAvailable(_:)

Registers a video decoder for the specified codec type, if one exists on the current system.

## Declaration

```swift
func VTRegisterSupplementalVideoDecoderIfAvailable(_ codecType: CMVideoCodecType)
```

## Parameters

- `codecType`: A codec type for which to register a decoder.

## Discussion

Discussion Call this function to find and register video decoders that aren’t registered by default.

## See Also

### Codec Support

- [VTIsHardwareDecodeSupported(_:)](videotoolbox/vtishardwaredecodesupported(_:).md)
- [VTRegisterProfessionalVideoWorkflowVideoEncoders()](videotoolbox/vtregisterprofessionalvideoworkflowvideoencoders().md)
- [VTRegisterProfessionalVideoWorkflowVideoDecoders()](videotoolbox/vtregisterprofessionalvideoworkflowvideodecoders().md)
- [VTCopySupportedPropertyDictionaryForEncoder(width:height:codecType:encoderSpecification:encoderIDOut:supportedPropertiesOut:)](videotoolbox/vtcopysupportedpropertydictionaryforencoder(width:height:codectype:encoderspecification:encoderidout:supportedpropertiesout:).md)
- [VTCopyVideoEncoderList(_:_:)](videotoolbox/vtcopyvideoencoderlist(_:_:).md)
- [Video Encoder List Keys](videotoolbox/video-encoder-list-keys.md)
