1
1
mirror of https://github.com/wader/fq.git synced 2024-11-26 10:33:53 +03:00

Merge pull request #894 from wader/pssh_playready-sym-snake_case

pssh_playready: Use snake_case sym values
This commit is contained in:
Mattias Wadman 2024-03-11 17:26:22 +01:00 committed by GitHub
commit b5a96e06e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -22,8 +22,8 @@ const (
)
var recordTypeNames = scalar.UintMapSymStr{
recordTypeRightsManagementHeader: "Rights management header",
recordTypeLicenseStore: "License store",
recordTypeRightsManagementHeader: "rights_management_header",
recordTypeLicenseStore: "license_store",
}
func playreadyPsshDecode(d *decode.D) any {

View File

@ -25,7 +25,7 @@ $ fq ddv pssh.mp4
0x040| 01 00 | .. | count: 1 0x48-0x4a (2)
| | | records[0:1]: 0x4a-0x47e (1076)
| | | [0]{}: record 0x4a-0x47e (1076)
0x040| 01 00 | .. | type: "Rights management header" (1) 0x4a-0x4c (2)
0x040| 01 00 | .. | type: "rights_management_header" (1) 0x4a-0x4c (2)
0x040| 30 04 | 0. | len: 1072 0x4c-0x4e (2)
0x040| 3c 00| <.| xml: "<WRMHEADER xmlns=\"http://schemas.microsoft.com/..." 0x4e-0x47e (1072)
0x050|57 00 52 00 4d 00 48 00 45 00 41 00 44 00 45 00|W.R.M.H.E.A.D.E.|