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
d9b60eda
authored
Sep 26, 2019
by
ibaker
Committed by
Oliver Woodman
Oct 13, 2019
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Remove duplicated tracksEnded check in HlsSampleStreamWrapper
PiperOrigin-RevId: 271364512
parent
87138cee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
library/hls/src/main/java/com/google/android/exoplayer2/source/hls/HlsSampleStreamWrapper.java
library/hls/src/main/java/com/google/android/exoplayer2/source/hls/HlsSampleStreamWrapper.java
View file @
d9b60eda
...
@@ -801,8 +801,6 @@ import java.util.Map;
...
@@ -801,8 +801,6 @@ import java.util.Map;
sampleQueueTrackIds
[
sampleQueueIndex
]
=
id
;
sampleQueueTrackIds
[
sampleQueueIndex
]
=
id
;
return
sampleQueues
[
sampleQueueIndex
];
return
sampleQueues
[
sampleQueueIndex
];
}
}
}
else
if
(
tracksEnded
)
{
return
createDummyTrackOutput
(
id
,
type
);
}
}
}
else
/* sparse track */
{
}
else
/* sparse track */
{
for
(
int
i
=
0
;
i
<
trackCount
;
i
++)
{
for
(
int
i
=
0
;
i
<
trackCount
;
i
++)
{
...
@@ -810,9 +808,9 @@ import java.util.Map;
...
@@ -810,9 +808,9 @@ import java.util.Map;
return
sampleQueues
[
i
];
return
sampleQueues
[
i
];
}
}
}
}
if
(
tracksEnded
)
{
}
return
createDummyTrackOutput
(
id
,
type
);
if
(
tracksEnded
)
{
}
return
createDummyTrackOutput
(
id
,
type
);
}
}
SampleQueue
trackOutput
=
new
PrivTimestampStrippingSampleQueue
(
allocator
);
SampleQueue
trackOutput
=
new
PrivTimestampStrippingSampleQueue
(
allocator
);
trackOutput
.
setSampleOffsetUs
(
sampleOffsetUs
);
trackOutput
.
setSampleOffsetUs
(
sampleOffsetUs
);
...
...
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