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
552db2fa
authored
Oct 28, 2014
by
Oliver Woodman
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Avoid spurious preparing->idle->preparing transition in demo app.
Issue #81
parent
c34f7368
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
demo/src/main/java/com/google/android/exoplayer/demo/full/player/DemoPlayer.java
demo/src/main/java/com/google/android/exoplayer/demo/full/player/DemoPlayer.java
View file @
552db2fa
...
@@ -131,7 +131,7 @@ public class DemoPlayer implements ExoPlayer.Listener, ChunkSampleSource.EventLi
...
@@ -131,7 +131,7 @@ public class DemoPlayer implements ExoPlayer.Listener, ChunkSampleSource.EventLi
* A listener for receiving notifications of timed text.
* A listener for receiving notifications of timed text.
*/
*/
public
interface
TextListener
{
public
interface
TextListener
{
public
abstract
void
onText
(
String
text
);
void
onText
(
String
text
);
}
}
// Constants pulled into this class for convenience.
// Constants pulled into this class for convenience.
...
@@ -287,7 +287,6 @@ public class DemoPlayer implements ExoPlayer.Listener, ChunkSampleSource.EventLi
...
@@ -287,7 +287,6 @@ public class DemoPlayer implements ExoPlayer.Listener, ChunkSampleSource.EventLi
this
.
trackNames
=
trackNames
;
this
.
trackNames
=
trackNames
;
this
.
multiTrackSources
=
multiTrackSources
;
this
.
multiTrackSources
=
multiTrackSources
;
rendererBuildingState
=
RENDERER_BUILDING_STATE_BUILT
;
rendererBuildingState
=
RENDERER_BUILDING_STATE_BUILT
;
maybeReportPlayerState
();
pushSurfaceAndVideoTrack
(
false
);
pushSurfaceAndVideoTrack
(
false
);
pushTrackSelection
(
TYPE_AUDIO
,
true
);
pushTrackSelection
(
TYPE_AUDIO
,
true
);
pushTrackSelection
(
TYPE_TEXT
,
true
);
pushTrackSelection
(
TYPE_TEXT
,
true
);
...
...
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