Skip to content

Commit

Permalink
pssh_playready: Use snake_case sym values
Browse files Browse the repository at this point in the history
  • Loading branch information
wader committed Mar 11, 2024
1 parent 79e7c71 commit 8705273
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions format/mp4/pssh_playready.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion format/mp4/testdata/pssh.fqtest
Original file line number Diff line number Diff line change
Expand Up @@ -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.|
Expand Down

0 comments on commit 8705273

Please sign in to comment.