Flag

public struct Flag : OptionSet

Undocumented

  • key

    The packet contains a keyframe.

    Declaration

    Swift

    public static let key: AVPacket.Flag
  • The packet content is corrupted.

    Declaration

    Swift

    public static let corrupt: AVPacket.Flag
  • Flag is used to discard packets which are required to maintain valid decoder state but are not required for output and should be dropped after decoding.

    Declaration

    Swift

    public static let discard: AVPacket.Flag
  • The packet comes from a trusted source.

    Otherwise-unsafe constructs such as arbitrary pointers to data outside the packet may be followed.

    Declaration

    Swift

    public static let trusted: AVPacket.Flag
  • Flag is used to indicate packets that contain frames that can be discarded by the decoder. I.e. Non-reference frames.

    Declaration

    Swift

    public static let disposable: AVPacket.Flag
  • Declaration

    Swift

    public let rawValue: Int32
  • Declaration

    Swift

    public init(rawValue: Int32)
  • Declaration

    Swift

    public var description: String { get }