mirror of
https://github.com/samsonjs/media.git
synced 2026-03-31 10:25:48 +00:00
Fix download cancellation
Issue: #4403 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201525284
This commit is contained in:
parent
10690630bf
commit
a610857017
2 changed files with 6 additions and 4 deletions
|
|
@ -38,6 +38,8 @@
|
|||
CommentFrame to InternalFrame for frames with gapless metadata in MP4.
|
||||
* Allow setting the `Looper`, which is used to access the player, in
|
||||
`ExoPlayerFactory` ([#4278](https://github.com/google/ExoPlayer/issues/4278)).
|
||||
* Fix a bug where download cancellation was ignored
|
||||
([#4403](https://github.com/google/ExoPlayer/issues/4403)).
|
||||
|
||||
### 2.8.2 ###
|
||||
|
||||
|
|
|
|||
|
|
@ -138,11 +138,11 @@ public final class CacheUtil {
|
|||
cache,
|
||||
new CacheDataSource(cache, upstream),
|
||||
new byte[DEFAULT_BUFFER_SIZE_BYTES],
|
||||
null,
|
||||
0,
|
||||
/* priorityTaskManager= */ null,
|
||||
/* priority= */ 0,
|
||||
counters,
|
||||
null,
|
||||
false);
|
||||
isCanceled,
|
||||
/* enableEOFException= */ false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue