<!--
{
  "availability" : [
    "DriverKit: 27.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VideoDriverKit",
  "identifier" : "/documentation/VideoDriverKit/IOUserVideoStream/SetCurrentStreamFormat",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "VideoDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOUserVideoStream@F@SetCurrentStreamFormat#*1$@N@VideoDriverKit@S@IOUserVideoStreamBasicDescription#"
  },
  "title" : "SetCurrentStreamFormat"
}
-->

# SetCurrentStreamFormat

Sets the current stream format.

```
kern_return_t SetCurrentStreamFormat(const IOUserVideoStreamBasicDescription *in_format);
```

## Parameters

`in_format`

Pointer to a description.

## Discussion

Changing the format send sa notification to the host to update the object state if successful.
The object’s work queue synchronizes access to the stream format.

---

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)