No longer pass the track through track events
If you are setting a callable onto a track event, then you have access to the track variable, so just include/use that in your lambda/callable.
This commit is contained in:
@@ -511,7 +511,7 @@ class HLS:
|
||||
newest_segment_key[0].decrypt(out_path)
|
||||
track.drm = None
|
||||
if callable(track.OnDecrypted):
|
||||
track.OnDecrypted(track)
|
||||
track.OnDecrypted()
|
||||
|
||||
return download_size
|
||||
|
||||
|
||||
Reference in New Issue
Block a user