From 36883e6277fed2fbec5a83afddc8c93e1838b884 Mon Sep 17 00:00:00 2001 From: olly Date: Tue, 15 Jan 2019 15:02:38 +0000 Subject: [PATCH] Bump version for 2.9.4 release PiperOrigin-RevId: 229364563 --- RELEASENOTES.md | 26 ++++++++++--------- constants.gradle | 4 +-- .../exoplayer2/ExoPlayerLibraryInfo.java | 6 ++--- 3 files changed, 19 insertions(+), 17 deletions(-) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 4d03b06687..071f6e05ff 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -17,7 +17,8 @@ * Add `setStreamKeys` method to factories of DASH, SmoothStreaming and HLS media sources to simplify filtering by downloaded streams. * Caching: - * Improve performance of `SimpleCache`. + * Improve performance of `SimpleCache` + ([#4253](https://github.com/google/ExoPlayer/issues/4253)). * Cache data with unknown length by default. The previous flag to opt in to this behavior (`DataSpec.FLAG_ALLOW_CACHING_UNKNOWN_LENGTH`) has been replaced with an opt out flag @@ -27,29 +28,30 @@ * Rename TaskState to DownloadState. * Add new states to DownloadState. * Replace DownloadState.action with DownloadAction fields. -* SmoothStreaming: Fix support for subtitles in DRM protected streams - ([#5378](https://github.com/google/ExoPlayer/issues/5378)). * Add support for SHOUTcast ICY metadata ([#3735](https://github.com/google/ExoPlayer/issues/3735)). * CEA-608: Improved conformance to the specification ([#3860](https://github.com/google/ExoPlayer/issues/3860)). -* IMA extension: - * Clear ads loader listeners on release - ([#4114](https://github.com/google/ExoPlayer/issues/4114)). - * Require setting the `Player` on `AdsLoader` instances before playback. +* IMA extension: Require setting the `Player` on `AdsLoader` instances before + playback. +* Add `Handler` parameter to `ConcatenatingMediaSource` methods which take a + callback `Runnable`. +* Remove `player` and `isTopLevelSource` parameters from `MediaSource.prepare`. + +### 2.9.4 ### + +* IMA extension: Clear ads loader listeners on release + ([#4114](https://github.com/google/ExoPlayer/issues/4114)). +* SmoothStreaming: Fix support for subtitles in DRM protected streams + ([#5378](https://github.com/google/ExoPlayer/issues/5378)). * FFmpeg extension: Treat invalid data errors as non-fatal to match the behavior of MediaCodec ([#5293](https://github.com/google/ExoPlayer/issues/5293)). * Fix issue where sending callbacks for playlist changes may cause problems because of parallel player access ([#5240](https://github.com/google/ExoPlayer/issues/5240)). -* Add `Handler` parameter to `ConcatenatingMediaSource` methods which take a - callback `Runnable`. -* Remove `player` and `isTopLevelSource` parameters from `MediaSource.prepare`. * Fix issue with reusing a `ClippingMediaSource` with an inner `ExtractorMediaSource` and a non-zero start position ([#5351](https://github.com/google/ExoPlayer/issues/5351)). -* Downloading/Caching: Improve cache performance - ([#4253](https://github.com/google/ExoPlayer/issues/4253)). * Fix issue where uneven track durations in MP4 streams can cause OOM problems ([#3670](https://github.com/google/ExoPlayer/issues/3670)). diff --git a/constants.gradle b/constants.gradle index ac801d2d3b..716ddbadba 100644 --- a/constants.gradle +++ b/constants.gradle @@ -13,8 +13,8 @@ // limitations under the License. project.ext { // ExoPlayer version and version code. - releaseVersion = '2.9.3' - releaseVersionCode = 2009003 + releaseVersion = '2.9.4' + releaseVersionCode = 2009004 // Important: ExoPlayer specifies a minSdkVersion of 14 because various // components provided by the library may be of use on older devices. // However, please note that the core media playback functionality provided diff --git a/library/core/src/main/java/com/google/android/exoplayer2/ExoPlayerLibraryInfo.java b/library/core/src/main/java/com/google/android/exoplayer2/ExoPlayerLibraryInfo.java index 792f6cf651..36723c5d73 100644 --- a/library/core/src/main/java/com/google/android/exoplayer2/ExoPlayerLibraryInfo.java +++ b/library/core/src/main/java/com/google/android/exoplayer2/ExoPlayerLibraryInfo.java @@ -29,11 +29,11 @@ public final class ExoPlayerLibraryInfo { /** The version of the library expressed as a string, for example "1.2.3". */ // Intentionally hardcoded. Do not derive from other constants (e.g. VERSION_INT) or vice versa. - public static final String VERSION = "2.9.3"; + public static final String VERSION = "2.9.4"; /** The version of the library expressed as {@code "ExoPlayerLib/" + VERSION}. */ // Intentionally hardcoded. Do not derive from other constants (e.g. VERSION) or vice versa. - public static final String VERSION_SLASHY = "ExoPlayerLib/2.9.3"; + public static final String VERSION_SLASHY = "ExoPlayerLib/2.9.4"; /** * The version of the library expressed as an integer, for example 1002003. @@ -43,7 +43,7 @@ public final class ExoPlayerLibraryInfo { * integer version 123045006 (123-045-006). */ // Intentionally hardcoded. Do not derive from other constants (e.g. VERSION) or vice versa. - public static final int VERSION_INT = 2009003; + public static final int VERSION_INT = 2009004; /** * Whether the library was compiled with {@link com.google.android.exoplayer2.util.Assertions}