<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "quicktime-file-format",
  "identifier" : "/documentation/quicktime-file-format/Subtitle_sample_description/Display_flags",
  "metadataVersion" : "0.1.0",
  "role" : "Data field",
  "symbol" : {
    "kind" : "Data field",
    "modules" : [
      "QuickTime File Format"
    ],
    "preciseIdentifier" : "__docc_universal_symbol_reference_$Subtitle_sample_description_Display_flags"
  },
  "title" : "Display flags"
}
-->

# Display flags

A 32-bit integer containing flags that describe how the subtitle text should be drawn.

## Overview

The following flags are defined:

- Vertical placement: Controls vertical placement of the subtitle text. If this flag is set, the subtitle media handler uses the top coordinate of the display bounds of the override `'tbox'` text box to determine the subtitle’s vertical placement as described in [Subtitle track header size and placement](/documentation/QuickTime-File-Format/Subtitle_track_header_size_and_placement). Otherwise, the subtitle displays at the bottom of the video. This flag’s value is `0x20000000`.
- Some samples are forced: Indicates whether any subtitle samples contain forced atoms. If this flag is set, at least one sample contains a forced (`'frcd'`) atom as described in [`Subtitle sample data`](/documentation/quicktime-file-format/Subtitle_sample_data). This flag’s value is `0x40000000`.
- All samples are forced: If this flag is set, the subtitle media handler treats all samples as forced subtitles, regardless of the presence or absence of a `'frcd'` atom. This flag’s value is `0x80000000`. If this flag is set, the Some Samples Are Forced flag must also be set (making `0xC0000000`).

---

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)