]> jfr.im git - yt-dlp.git/commit
[HLS] Fix decryption issues (#1117)
authorshirt <redacted>
Tue, 28 Sep 2021 18:53:24 +0000 (14:53 -0400)
committerGitHub <redacted>
Tue, 28 Sep 2021 18:53:24 +0000 (00:23 +0530)
commit7687c8ac6e223a725b3ef8f56f04779bebdc86c5
tree03178ebcf5ff2749ed0a170c1da749eaa2444f9d
parent80c360d7aad7ccda48ccd13be62dbb6fc5a6f128
[HLS] Fix decryption issues (#1117)

* Unpad HLS fragments with PKCS#7 according to datatracker.ietf.org/doc/html/rfc8216
* media_sequence should only be incremented in for media fragments
* The native decryption should only be used if ffmpeg is unavailable since it is significantly slower. Closes #1086

Authored by: shirt-dev, pukkandan
yt_dlp/downloader/fragment.py
yt_dlp/downloader/hls.py