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
e64f70ef
authored
Feb 24, 2023
by
kimvde
Committed by
tonihei
Feb 27, 2023
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Clarify some threading requirements.
PiperOrigin-RevId: 512079471
parent
2b02eb8c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
library/transformer/src/main/java/com/google/android/exoplayer2/transformer/AssetLoader.java
library/transformer/src/main/java/com/google/android/exoplayer2/transformer/CompositeAssetLoader.java
library/transformer/src/main/java/com/google/android/exoplayer2/transformer/AssetLoader.java
View file @
e64f70ef
...
@@ -90,8 +90,8 @@ public interface AssetLoader {
...
@@ -90,8 +90,8 @@ public interface AssetLoader {
* <p>Must be called once per {@linkplain #onTrackCount(int) declared} track.
* <p>Must be called once per {@linkplain #onTrackCount(int) declared} track.
*
*
* <p>Must be called from the thread that will be used to call the returned {@link
* <p>Must be called from the thread that will be used to call the returned {@link
* SampleConsumer}'s methods. This thread
is generally different from the one used to access the
* SampleConsumer}'s methods. This thread
must be the same for all the tracks added, and is
* {@link AssetLoader} methods.
*
generally different from the one used to access the
{@link AssetLoader} methods.
*
*
* @param format The {@link Format} of the input media (prior to video slow motion flattening or
* @param format The {@link Format} of the input media (prior to video slow motion flattening or
* to decoding).
* to decoding).
...
...
library/transformer/src/main/java/com/google/android/exoplayer2/transformer/CompositeAssetLoader.java
View file @
e64f70ef
...
@@ -146,7 +146,7 @@ import java.util.concurrent.atomic.AtomicInteger;
...
@@ -146,7 +146,7 @@ import java.util.concurrent.atomic.AtomicInteger;
*
*
* <p>There can't be more than one {@link OnMediaItemChangedListener} for the same track type.
* <p>There can't be more than one {@link OnMediaItemChangedListener} for the same track type.
*
*
* <p>
Can be called from
any thread.
* <p>
Must always be called from the same thread. This thread can be
any thread.
*
*
* @param onMediaItemChangedListener The {@link OnMediaItemChangedListener}.
* @param onMediaItemChangedListener The {@link OnMediaItemChangedListener}.
* @param trackType The {@link C.TrackType} for which to listen to {@link MediaItem} change
* @param trackType The {@link C.TrackType} for which to listen to {@link MediaItem} change
...
...
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