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
8cad3873
authored
Jul 04, 2014
by
Oliver Woodman
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fix ChunkSource disable definition.
parent
ea796f91
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
library/src/main/java/com/google/android/exoplayer/chunk/ChunkSource.java
library/src/main/java/com/google/android/exoplayer/chunk/MultiTrackChunkSource.java
library/src/main/java/com/google/android/exoplayer/dash/DashMp4ChunkSource.java
library/src/main/java/com/google/android/exoplayer/dash/DashWebmChunkSource.java
library/src/main/java/com/google/android/exoplayer/smoothstreaming/SmoothStreamingChunkSource.java
library/src/main/java/com/google/android/exoplayer/chunk/ChunkSource.java
View file @
8cad3873
...
@@ -58,7 +58,7 @@ public interface ChunkSource {
...
@@ -58,7 +58,7 @@ public interface ChunkSource {
*
*
* @param queue A representation of the currently buffered {@link MediaChunk}s.
* @param queue A representation of the currently buffered {@link MediaChunk}s.
*/
*/
void
disable
(
List
<
MediaChunk
>
queue
);
void
disable
(
List
<
?
extends
MediaChunk
>
queue
);
/**
/**
* Indicates to the source that it should still be checking for updates to the stream.
* Indicates to the source that it should still be checking for updates to the stream.
...
...
library/src/main/java/com/google/android/exoplayer/chunk/MultiTrackChunkSource.java
View file @
8cad3873
...
@@ -68,7 +68,7 @@ public class MultiTrackChunkSource implements ChunkSource, ExoPlayerComponent {
...
@@ -68,7 +68,7 @@ public class MultiTrackChunkSource implements ChunkSource, ExoPlayerComponent {
}
}
@Override
@Override
public
void
disable
(
List
<
MediaChunk
>
queue
)
{
public
void
disable
(
List
<
?
extends
MediaChunk
>
queue
)
{
selectedSource
.
disable
(
queue
);
selectedSource
.
disable
(
queue
);
enabled
=
false
;
enabled
=
false
;
}
}
...
...
library/src/main/java/com/google/android/exoplayer/dash/DashMp4ChunkSource.java
View file @
8cad3873
...
@@ -129,7 +129,7 @@ public class DashMp4ChunkSource implements ChunkSource {
...
@@ -129,7 +129,7 @@ public class DashMp4ChunkSource implements ChunkSource {
}
}
@Override
@Override
public
void
disable
(
List
<
MediaChunk
>
queue
)
{
public
void
disable
(
List
<
?
extends
MediaChunk
>
queue
)
{
evaluator
.
disable
();
evaluator
.
disable
();
}
}
...
...
library/src/main/java/com/google/android/exoplayer/dash/DashWebmChunkSource.java
View file @
8cad3873
...
@@ -110,7 +110,7 @@ public class DashWebmChunkSource implements ChunkSource {
...
@@ -110,7 +110,7 @@ public class DashWebmChunkSource implements ChunkSource {
}
}
@Override
@Override
public
void
disable
(
List
<
MediaChunk
>
queue
)
{
public
void
disable
(
List
<
?
extends
MediaChunk
>
queue
)
{
evaluator
.
disable
();
evaluator
.
disable
();
}
}
...
...
library/src/main/java/com/google/android/exoplayer/smoothstreaming/SmoothStreamingChunkSource.java
View file @
8cad3873
...
@@ -141,7 +141,7 @@ public class SmoothStreamingChunkSource implements ChunkSource {
...
@@ -141,7 +141,7 @@ public class SmoothStreamingChunkSource implements ChunkSource {
}
}
@Override
@Override
public
void
disable
(
List
<
MediaChunk
>
queue
)
{
public
void
disable
(
List
<
?
extends
MediaChunk
>
queue
)
{
// Do nothing.
// Do nothing.
}
}
...
...
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