PSSH: Create a string representation
This commit is contained in:
parent
0e4275bd1e
commit
e31ba61302
|
@ -99,6 +99,9 @@ class PSSH:
|
||||||
self.__key_ids = box.key_IDs
|
self.__key_ids = box.key_IDs
|
||||||
self.init_data = box.init_data
|
self.init_data = box.init_data
|
||||||
|
|
||||||
|
def __repr__(self) -> str:
|
||||||
|
return f"PSSH<{self.system_id}>(v{self.version}; {self.flags}, {self.key_ids}, {self.init_data})"
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def new(
|
def new(
|
||||||
cls,
|
cls,
|
||||||
|
|
Loading…
Reference in New Issue