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

# requiresFlushToResumeDecoding

A Boolean value that Indicates whether the renderer requires flushing to continue decoding frames.

```
var requiresFlushToResumeDecoding: Bool { get }
```

## Discussion

When your app enters a state where using a video decoder resources is not permissible, the value of this property changes to <doc://com.apple.documentation/documentation/Swift/true> along with the video renderer’s status changing to [`AVQueuedSampleBufferRenderingStatus.failed`](/documentation/AVFoundation/AVQueuedSampleBufferRenderingStatus/failed). To resume rendering sample buffers, you must first reset the video renderer by calling [`flush()`](/documentation/AVFoundation/AVQueuedSampleBufferRendering/flush()) or [`flush(removingDisplayedImage:completionHandler:)`](/documentation/AVFoundation/AVSampleBufferVideoRenderer/flush(removingDisplayedImage:completionHandler:)).

This property is not key-value observable. Instead, track changes to this property by observing notifications of type [`requiresFlushToResumeDecodingDidChangeNotification`](/documentation/AVFoundation/AVSampleBufferVideoRenderer/requiresFlushToResumeDecodingDidChangeNotification).

---

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)