Skip to content

Commit

Permalink
Add extra track flags (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-richards authored Mar 27, 2023
1 parent c023b7b commit b9f6baf
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions elementtable.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ var table = elementTable{
ElementPixelCropLeft: elementDef{[]byte{0x54, 0xCC}, DataTypeUInt, false},
ElementPixelCropRight: elementDef{[]byte{0x54, 0xDD}, DataTypeUInt, false},
ElementFlagForced: elementDef{[]byte{0x55, 0xAA}, DataTypeUInt, false},
ElementFlagHearingImpaired: elementDef{[]byte{0x55, 0xAB}, DataTypeUInt, false},
ElementFlagVisualImpaired: elementDef{[]byte{0x55, 0xAC}, DataTypeUInt, false},
ElementFlagTextDescriptions: elementDef{[]byte{0x55, 0xAD}, DataTypeUInt, false},
ElementFlagOriginal: elementDef{[]byte{0x55, 0xAE}, DataTypeUInt, false},
ElementFlagCommentary: elementDef{[]byte{0x55, 0xAF}, DataTypeUInt, false},
ElementColour: elementDef{[]byte{0x55, 0xB0}, DataTypeMaster, false},
ElementMatrixCoefficients: elementDef{[]byte{0x55, 0xB1}, DataTypeUInt, false},
ElementBitsPerChannel: elementDef{[]byte{0x55, 0xB2}, DataTypeUInt, false},
Expand Down
10 changes: 10 additions & 0 deletions elementtype.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ const (
ElementFlagEnabled
ElementFlagDefault
ElementFlagForced
ElementFlagHearingImpaired
ElementFlagVisualImpaired
ElementFlagTextDescriptions
ElementFlagOriginal
ElementFlagCommentary
ElementFlagLacing
ElementMinCache
ElementMaxCache
Expand Down Expand Up @@ -343,6 +348,11 @@ var elementTypeName = map[ElementType]string{
ElementFlagEnabled: "FlagEnabled",
ElementFlagDefault: "FlagDefault",
ElementFlagForced: "FlagForced",
ElementFlagHearingImpaired: "FlagHearingImpaired",
ElementFlagVisualImpaired: "FlagVisualImpaired",
ElementFlagTextDescriptions: "FlagTextDescriptions",
ElementFlagOriginal: "FlagOriginal",
ElementFlagCommentary: "FlagCommentary",
ElementFlagLacing: "FlagLacing",
ElementMinCache: "MinCache",
ElementMaxCache: "MaxCache",
Expand Down

0 comments on commit b9f6baf

Please sign in to comment.