forked from google/ExoPlayer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add loading error reports to ExtractorSampleSource
This CL also implements loading errors in the DemoApp by logging them. The sourceId in the ExtractorSampleSource interface allows a class to implement the same signature for all the SampleSources. The eventSourceId in the ExtractorSampleSource is unlikely to be useful, considering it is expected to use one single source. However, it was added for two reasons: * Consistency, since the ChunkSampleSource * In the strange case that two ExtractorSampleSources live at the same time, it would be possible to diferentiate them. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=116366928
- Loading branch information
1 parent
5f46958
commit c6faacb
Showing
3 changed files
with
89 additions
and
10 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
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