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
f47d06e7
authored
Jan 09, 2020
by
christosts
Committed by
Oliver Woodman
Jan 10, 2020
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Set ExoPlayer's MediaCodecOperationMode
PiperOrigin-RevId: 288868298
parent
91d2b858
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
library/core/src/main/java/com/google/android/exoplayer2/mediacodec/MediaCodecRenderer.java
library/core/src/main/java/com/google/android/exoplayer2/mediacodec/MediaCodecRenderer.java
View file @
f47d06e7
...
@@ -48,8 +48,10 @@ import com.google.android.exoplayer2.util.TimedValueQueue;
...
@@ -48,8 +48,10 @@ import com.google.android.exoplayer2.util.TimedValueQueue;
import
com.google.android.exoplayer2.util.TraceUtil
;
import
com.google.android.exoplayer2.util.TraceUtil
;
import
com.google.android.exoplayer2.util.Util
;
import
com.google.android.exoplayer2.util.Util
;
import
java.lang.annotation.Documented
;
import
java.lang.annotation.Documented
;
import
java.lang.annotation.ElementType
;
import
java.lang.annotation.Retention
;
import
java.lang.annotation.Retention
;
import
java.lang.annotation.RetentionPolicy
;
import
java.lang.annotation.RetentionPolicy
;
import
java.lang.annotation.Target
;
import
java.nio.ByteBuffer
;
import
java.nio.ByteBuffer
;
import
java.util.ArrayDeque
;
import
java.util.ArrayDeque
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
...
@@ -74,6 +76,7 @@ public abstract class MediaCodecRenderer extends BaseRenderer {
...
@@ -74,6 +76,7 @@ public abstract class MediaCodecRenderer extends BaseRenderer {
*/
*/
@Documented
@Documented
@Retention
(
RetentionPolicy
.
SOURCE
)
@Retention
(
RetentionPolicy
.
SOURCE
)
@Target
({
ElementType
.
TYPE_PARAMETER
,
ElementType
.
TYPE_USE
})
@IntDef
({
@IntDef
({
OPERATION_MODE_SYNCHRONOUS
,
OPERATION_MODE_SYNCHRONOUS
,
OPERATION_MODE_ASYNCHRONOUS_PLAYBACK_THREAD
,
OPERATION_MODE_ASYNCHRONOUS_PLAYBACK_THREAD
,
...
...
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