Update value of C.TRACK_TYPE_NONE to -2 to allow for future 'real'

track types.

PiperOrigin-RevId: 395460563
This commit is contained in:
ibaker 2021-09-08 14:37:31 +01:00 committed by Ian Baker
parent e6b5392e63
commit 87d2054b67

View File

@ -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 {
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.