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
9ec2d2fb
authored
Oct 17, 2019
by
ibaker
Committed by
Oliver Woodman
Oct 18, 2019
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Remove HlsMediaSource from null-checking blacklist
PiperOrigin-RevId: 275233915
parent
d874656e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
library/hls/src/main/java/com/google/android/exoplayer2/source/hls/HlsMediaSource.java
library/hls/src/main/java/com/google/android/exoplayer2/source/hls/HlsMediaSource.java
View file @
9ec2d2fb
...
@@ -440,7 +440,9 @@ public final class HlsMediaSource extends BaseMediaSource
...
@@ -440,7 +440,9 @@ public final class HlsMediaSource extends BaseMediaSource
?
windowStartTimeMs
?
windowStartTimeMs
:
C
.
TIME_UNSET
;
:
C
.
TIME_UNSET
;
long
windowDefaultStartPositionUs
=
playlist
.
startOffsetUs
;
long
windowDefaultStartPositionUs
=
playlist
.
startOffsetUs
;
HlsManifest
manifest
=
new
HlsManifest
(
playlistTracker
.
getMasterPlaylist
(),
playlist
);
// masterPlaylist is non-null because the first playlist has been fetched by now.
HlsManifest
manifest
=
new
HlsManifest
(
Assertions
.
checkNotNull
(
playlistTracker
.
getMasterPlaylist
()),
playlist
);
if
(
playlistTracker
.
isLive
())
{
if
(
playlistTracker
.
isLive
())
{
long
offsetFromInitialStartTimeUs
=
long
offsetFromInitialStartTimeUs
=
playlist
.
startTimeUs
-
playlistTracker
.
getInitialStartTimeUs
();
playlist
.
startTimeUs
-
playlistTracker
.
getInitialStartTimeUs
();
...
...
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