---
title: kCMSampleAttachmentKey_DependsOnOthers
framework: coremedia
role: symbol
role_heading: Global Variable
path: coremedia/kcmsampleattachmentkey_dependsonothers
---

# kCMSampleAttachmentKey_DependsOnOthers

Indicates whether the sample depends on other samples for decoding (type CFBoolean).

## Declaration

```swift
let kCMSampleAttachmentKey_DependsOnOthers: CFString
```

## Discussion

Discussion This key has no default value. If this key is not present, dependency information for the sample is unknown. A value of kCFBooleanFalse indicates that the sample does not depend on other samples (for example, an I frame).  A value of kCFBooleanTrue indicates that the sample does depend on other samples (for example, a P or B frame). This attachment is read from and written to media files.

## See Also

### Sample Keys

- [kCMSampleAttachmentKey_NotSync](coremedia/kcmsampleattachmentkey_notsync.md)
- [kCMSampleAttachmentKey_PartialSync](coremedia/kcmsampleattachmentkey_partialsync.md)
- [kCMSampleAttachmentKey_IsDependedOnByOthers](coremedia/kcmsampleattachmentkey_isdependedonbyothers.md)
- [kCMSampleAttachmentKey_DisplayImmediately](coremedia/kcmsampleattachmentkey_displayimmediately.md)
- [kCMSampleAttachmentKey_DoNotDisplay](coremedia/kcmsampleattachmentkey_donotdisplay.md)
- [kCMSampleAttachmentKey_EarlierDisplayTimesAllowed](coremedia/kcmsampleattachmentkey_earlierdisplaytimesallowed.md)
- [kCMSampleAttachmentKey_HasRedundantCoding](coremedia/kcmsampleattachmentkey_hasredundantcoding.md)
- [kCMSampleAttachmentKey_PostDecodeProcessingMetadata](coremedia/kcmsampleattachmentkey_postdecodeprocessingmetadata.md)
