<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.8.0 -",
    "tvOS: 10.2.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VideoToolbox",
  "identifier" : "/documentation/VideoToolbox/VTDecompressionSessionFinishDelayedFrames(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Video Toolbox"
    ],
    "preciseIdentifier" : "c:@F@VTDecompressionSessionFinishDelayedFrames"
  },
  "title" : "VTDecompressionSessionFinishDelayedFrames(_:)"
}
-->

# VTDecompressionSessionFinishDelayedFrames(_:)

Directs the decompression session to emit all delayed frames.

```
func VTDecompressionSessionFinishDelayedFrames(_ session: VTDecompressionSession) -> OSStatus
```

## Parameters

`session`

The decompression session.

## Return Value

An `OSStatus` value that indicates the result of the operation.

## Discussion

By default, the decompression session may not delay frames indefinitely;  frames may only be indefinitely delayed if the client opts in via [`kVTDecodeFrame_EnableTemporalProcessing`](/documentation/VideoToolbox/VTDecodeFrameFlags/kVTDecodeFrame_EnableTemporalProcessing).

> Important:
> This function may return before all delayed frames are emitted.  To wait for them, call ``doc://com.apple.videotoolbox/documentation/VideoToolbox/VTDecompressionSessionWaitForAsynchronousFrames(_:)`` instead.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)