---
title: actualThreadCount
framework: MediaExtension
role: symbol
role_heading: Instance Property
platforms: [macOS 14.0+]
path: mediaextension/mevideodecoder/actualthreadcount
---

# actualThreadCount

The actual number of threads the decoder uses.

## Declaration

```swift
optional var actualThreadCount: Int { get }
```

## Discussion

Discussion The system queries this property on the extension when Video Toolbox queries the kVTDecompressionPropertyKey_ThreadCount on the hosting VTDecompressionSession.

## See Also

### Inspecting a video decoder

- [contentHasInterframeDependencies](mediaextension/mevideodecoder/contenthasinterframedependencies.md)
- [recommendedThreadCount](mediaextension/mevideodecoder/recommendedthreadcount.md)
- [supportedPixelFormatsOrderedByQuality](mediaextension/mevideodecoder/supportedpixelformatsorderedbyquality.md)
- [reducedResolution](mediaextension/mevideodecoder/reducedresolution.md)
- [pixelFormatsWithReducedResolutionDecodeSupport](mediaextension/mevideodecoder/pixelformatswithreducedresolutiondecodesupport.md)
- [producesRAWOutput](mediaextension/mevideodecoder/producesrawoutput.md)
- [isReadyForMoreMediaData](mediaextension/mevideodecoder/isreadyformoremediadata.md)
