<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 10.7.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureVideoDataOutput/alwaysDiscardsLateVideoFrames",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptureVideoDataOutput(py)alwaysDiscardsLateVideoFrames"
  },
  "title" : "alwaysDiscardsLateVideoFrames"
}
-->

# alwaysDiscardsLateVideoFrames

Indicates whether to drop video frames if they arrive late.

```
var alwaysDiscardsLateVideoFrames: Bool { get set }
```

## Discussion

If this property is <doc://com.apple.documentation/documentation/Swift/true>, the output immediately discard frames that captured while the dispatch queue handling existing frames blocks in the [`captureOutput(_:didOutput:from:)`](/documentation/AVFoundation/AVCaptureVideoDataOutputSampleBufferDelegate/captureOutput(_:didOutput:from:)) delegate method. When set to <doc://com.apple.documentation/documentation/Swift/false>, the output gives delegates more time to process old frames before it discards new frames, but application memory usage may increase significantly as a result.

The default is <doc://com.apple.documentation/documentation/Swift/true>.

---

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)