<!--
{
  "availability" : [
    "ProVideo Encoder Extensions: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "professional_video_applications",
  "identifier" : "/documentation/professional_video_applications/CompressorExtensionEncoder/setSettings(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Professional Video Applications"
    ],
    "preciseIdentifier" : "c:objc(pl)CompressorExtensionEncoder(im)setSettings:"
  },
  "title" : "setSettings(_:)"
}
-->

# setSettings(_:)

Sets the current encoding settings based on the given setting values.

```
func setSettings(_ settings: CompressorExtensionSettingsPtr!)
```

## Parameters

`settings`

A pointer to the [`CompressorExtensionSettings`](/documentation/professional_video_applications/CompressorExtensionSettings) object.

## Discussion

During an encoding process, the Compressor app provides the extension with the current encoder settings. If the `settings` object contains an empty encoder setting string, use default values for the encoder settings.

---

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)