---
title: kVTCompressionPropertyKey_AllowFrameReordering
framework: videotoolbox
role: symbol
role_heading: Global Variable
path: videotoolbox/kvtcompressionpropertykey_allowframereordering
---

# kVTCompressionPropertyKey_AllowFrameReordering

A Boolean value that indicates whether frame reordering is enabled.

## Declaration

```swift
let kVTCompressionPropertyKey_AllowFrameReordering: CFString
```

## Discussion

Discussion In order to encode B frames, a video encoder must reorder frames, which means that the order in which the frames are emitted and stored (the decode order) is different from the order in which they were presented to the video encoder (the display order).  The default value is true.  Set this value to false to prevent frame reordering.

## See Also

### Frame Dependency

- [kVTCompressionPropertyKey_AllowOpenGOP](videotoolbox/kvtcompressionpropertykey_allowopengop.md)
- [kVTCompressionPropertyKey_AllowTemporalCompression](videotoolbox/kvtcompressionpropertykey_allowtemporalcompression.md)
- [kVTCompressionPropertyKey_MaxKeyFrameInterval](videotoolbox/kvtcompressionpropertykey_maxkeyframeinterval.md)
- [kVTCompressionPropertyKey_MaxKeyFrameIntervalDuration](videotoolbox/kvtcompressionpropertykey_maxkeyframeintervalduration.md)
