Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ea471163
authored
Jan 17, 2020
by
Oliver Woodman
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fix build
parent
f146bad4
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
2 deletions
library/core/src/main/java/com/google/android/exoplayer2/offline/DownloadService.java
library/core/src/test/assets/mp4/sample_mdat_too_long.mp4.0.dump
library/core/src/test/assets/mp4/sample_mdat_too_long.mp4.1.dump
library/core/src/test/assets/mp4/sample_mdat_too_long.mp4.2.dump
library/core/src/test/assets/mp4/sample_mdat_too_long.mp4.3.dump
library/core/src/test/java/com/google/android/exoplayer2/extractor/FlacMetadataReaderTest.java
library/core/src/main/java/com/google/android/exoplayer2/offline/DownloadService.java
View file @
ea471163
...
@@ -925,7 +925,7 @@ public abstract class DownloadService extends Service {
...
@@ -925,7 +925,7 @@ public abstract class DownloadService extends Service {
// DownloadService.getForegroundNotification, and concrete subclass implementations may
// DownloadService.getForegroundNotification, and concrete subclass implementations may
// not anticipate the possibility of this method being called before their onCreate
// not anticipate the possibility of this method being called before their onCreate
// implementation has finished executing.
// implementation has finished executing.
Util
.
create
Handler
()
new
Handler
()
.
postAtFrontOfQueue
(
.
postAtFrontOfQueue
(
()
->
downloadService
.
notifyDownloads
(
downloadManager
.
getCurrentDownloads
()));
()
->
downloadService
.
notifyDownloads
(
downloadManager
.
getCurrentDownloads
()));
}
}
...
...
library/core/src/test/assets/mp4/sample_mdat_too_long.mp4.0.dump
View file @
ea471163
...
@@ -24,6 +24,7 @@ track 0:
...
@@ -24,6 +24,7 @@ track 0:
selectionFlags = 0
selectionFlags = 0
language = null
language = null
drmInitData = -
drmInitData = -
metadata = null
initializationData:
initializationData:
data = length 29, hash 4746B5D9
data = length 29, hash 4746B5D9
data = length 10, hash 7A0D0F2B
data = length 10, hash 7A0D0F2B
...
@@ -170,6 +171,7 @@ track 1:
...
@@ -170,6 +171,7 @@ track 1:
selectionFlags = 0
selectionFlags = 0
language = und
language = und
drmInitData = -
drmInitData = -
metadata = entries=[TSSE: description=null: value=Lavf56.1.0]
initializationData:
initializationData:
data = length 2, hash 5F7
data = length 2, hash 5F7
total output bytes = 9529
total output bytes = 9529
...
...
library/core/src/test/assets/mp4/sample_mdat_too_long.mp4.1.dump
View file @
ea471163
...
@@ -24,6 +24,7 @@ track 0:
...
@@ -24,6 +24,7 @@ track 0:
selectionFlags = 0
selectionFlags = 0
language = null
language = null
drmInitData = -
drmInitData = -
metadata = null
initializationData:
initializationData:
data = length 29, hash 4746B5D9
data = length 29, hash 4746B5D9
data = length 10, hash 7A0D0F2B
data = length 10, hash 7A0D0F2B
...
@@ -170,6 +171,7 @@ track 1:
...
@@ -170,6 +171,7 @@ track 1:
selectionFlags = 0
selectionFlags = 0
language = und
language = und
drmInitData = -
drmInitData = -
metadata = entries=[TSSE: description=null: value=Lavf56.1.0]
initializationData:
initializationData:
data = length 2, hash 5F7
data = length 2, hash 5F7
total output bytes = 7464
total output bytes = 7464
...
...
library/core/src/test/assets/mp4/sample_mdat_too_long.mp4.2.dump
View file @
ea471163
...
@@ -24,6 +24,7 @@ track 0:
...
@@ -24,6 +24,7 @@ track 0:
selectionFlags = 0
selectionFlags = 0
language = null
language = null
drmInitData = -
drmInitData = -
metadata = null
initializationData:
initializationData:
data = length 29, hash 4746B5D9
data = length 29, hash 4746B5D9
data = length 10, hash 7A0D0F2B
data = length 10, hash 7A0D0F2B
...
@@ -170,6 +171,7 @@ track 1:
...
@@ -170,6 +171,7 @@ track 1:
selectionFlags = 0
selectionFlags = 0
language = und
language = und
drmInitData = -
drmInitData = -
metadata = entries=[TSSE: description=null: value=Lavf56.1.0]
initializationData:
initializationData:
data = length 2, hash 5F7
data = length 2, hash 5F7
total output bytes = 4019
total output bytes = 4019
...
...
library/core/src/test/assets/mp4/sample_mdat_too_long.mp4.3.dump
View file @
ea471163
...
@@ -24,6 +24,7 @@ track 0:
...
@@ -24,6 +24,7 @@ track 0:
selectionFlags = 0
selectionFlags = 0
language = null
language = null
drmInitData = -
drmInitData = -
metadata = null
initializationData:
initializationData:
data = length 29, hash 4746B5D9
data = length 29, hash 4746B5D9
data = length 10, hash 7A0D0F2B
data = length 10, hash 7A0D0F2B
...
@@ -170,6 +171,7 @@ track 1:
...
@@ -170,6 +171,7 @@ track 1:
selectionFlags = 0
selectionFlags = 0
language = und
language = und
drmInitData = -
drmInitData = -
metadata = entries=[TSSE: description=null: value=Lavf56.1.0]
initializationData:
initializationData:
data = length 2, hash 5F7
data = length 2, hash 5F7
total output bytes = 470
total output bytes = 470
...
...
library/core/src/test/java/com/google/android/exoplayer2/extractor/FlacMetadataReaderTest.java
View file @
ea471163
...
@@ -293,7 +293,7 @@ public class FlacMetadataReaderTest {
...
@@ -293,7 +293,7 @@ public class FlacMetadataReaderTest {
FlacMetadataReader
.
readMetadataBlock
(
input
,
metadataHolder
);
FlacMetadataReader
.
readMetadataBlock
(
input
,
metadataHolder
);
assertThat
(
input
.
getPosition
()).
isGreaterThan
(
640
);
assertThat
(
input
.
getPosition
()).
isGreaterThan
(
new
Long
(
640
)
);
assertThat
(
input
.
getPeekPosition
()).
isEqualTo
(
input
.
getPosition
());
assertThat
(
input
.
getPeekPosition
()).
isEqualTo
(
input
.
getPosition
());
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment