forked from hex007/freej2me
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PlatformPlayer + MPEGPlayer: Improve MPEG playback with looping
Looping has been fixed and is now non-blocking as well. Can't have that be handled by MPEGPlayer internall, it has to be placed in PlatformPlayer's start() method instead. Also add a few null checks all around, and change getDuration to return TIME_UNKNOWN if it can't get the MPEG stream's duration.
- Loading branch information
1 parent
c319fb4
commit 7ad51ad
Showing
2 changed files
with
38 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters