From d2c6871ce613129cb60a26bf9a5cd180792a8041 Mon Sep 17 00:00:00 2001 From: aquilescanta Date: Thu, 19 Apr 2018 04:09:10 -0700 Subject: [PATCH] Fix HLS encryption method detection Issue:#4145 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=193494319 --- RELEASENOTES.md | 7 +- .../hls/playlist/HlsPlaylistParser.java | 3 +- .../playlist/HlsMediaPlaylistParserTest.java | 72 +++++++++++++++++++ 3 files changed, 79 insertions(+), 3 deletions(-) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 72ca26c6b74..ff723c943c3 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -66,8 +66,11 @@ ([#4022][https://github.com/google/ExoPlayer/issues/4022]). * Fix handling of 307/308 redirects when making license requests ([#4108](https://github.com/google/ExoPlayer/issues/4108)). -* HLS: Fix playlist loading error propagation when the current selection does - not include all of the playlist's variants. +* HLS: + * Fix playlist loading error propagation when the current selection does + not include all of the playlist's variants. + * Fix SAMPLE-AES-CENC and SAMPLE-AES-CTR EXT-X-KEY methods + ([#4145](https://github.com/google/ExoPlayer/issues/4145)). * Fix ClearKey decryption error if the key contains a forward slash ([#4075](https://github.com/google/ExoPlayer/issues/4075)). * Fix crash when switching surface on Huawei P9 Lite diff --git a/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/playlist/HlsPlaylistParser.java b/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/playlist/HlsPlaylistParser.java index acd0746e720..68491f44344 100644 --- a/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/playlist/HlsPlaylistParser.java +++ b/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/playlist/HlsPlaylistParser.java @@ -123,7 +123,8 @@ public final class HlsPlaylistParser implements ParsingLoadable.Parser