Pass DRM and Segment objects to Track OnDecrypted event

This commit is contained in:
rlaphoenix
2024-02-10 17:48:26 +00:00
parent 439e376b38
commit c18fe5706b
4 changed files with 6 additions and 5 deletions

View File

@@ -507,7 +507,7 @@ class DASH:
drm.decrypt(save_path)
track.drm = None
if callable(track.OnDecrypted):
track.OnDecrypted()
track.OnDecrypted(drm)
progress(downloaded="Decrypted", completed=100)
track.path = save_path