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
87d2054b
authored
Sep 08, 2021
by
ibaker
Committed by
Ian Baker
Sep 08, 2021
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Update value of C.TRACK_TYPE_NONE to -2 to allow for future 'real'
track types. PiperOrigin-RevId: 395460563
parent
e6b5392e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
library/common/src/main/java/com/google/android/exoplayer2/C.java
library/common/src/main/java/com/google/android/exoplayer2/C.java
View file @
87d2054b
...
@@ -672,6 +672,8 @@ public final class C {
...
@@ -672,6 +672,8 @@ public final class C {
TRACK_TYPE_NONE
,
TRACK_TYPE_NONE
,
})
})
public
@interface
TrackType
{}
public
@interface
TrackType
{}
/** A type constant for a fake or empty track. */
public
static
final
int
TRACK_TYPE_NONE
=
-
2
;
/** A type constant for tracks of unknown type. */
/** A type constant for tracks of unknown type. */
public
static
final
int
TRACK_TYPE_UNKNOWN
=
-
1
;
public
static
final
int
TRACK_TYPE_UNKNOWN
=
-
1
;
/** A type constant for tracks of some default type, where the type itself is unknown. */
/** A type constant for tracks of some default type, where the type itself is unknown. */
...
@@ -688,8 +690,6 @@ public final class C {
...
@@ -688,8 +690,6 @@ public final class C {
public
static
final
int
TRACK_TYPE_METADATA
=
5
;
public
static
final
int
TRACK_TYPE_METADATA
=
5
;
/** A type constant for camera motion tracks. */
/** A type constant for camera motion tracks. */
public
static
final
int
TRACK_TYPE_CAMERA_MOTION
=
6
;
public
static
final
int
TRACK_TYPE_CAMERA_MOTION
=
6
;
/** A type constant for a fake or empty track. */
public
static
final
int
TRACK_TYPE_NONE
=
7
;
/**
/**
* Applications or extensions may define custom {@code TRACK_TYPE_*} constants greater than or
* Applications or extensions may define custom {@code TRACK_TYPE_*} constants greater than or
* equal to this value.
* equal to this value.
...
...
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