disallow go links in Media3 open source code

PiperOrigin-RevId: 599455204
This commit is contained in:
tofunmi 2024-01-18 03:26:08 -08:00 committed by Copybara-Service
parent e730feb98a
commit 5eb1f4043b
3 changed files with 3 additions and 8 deletions

View File

@ -3312,7 +3312,7 @@ public final class Util {
* @param newFromIndex The new from index. * @param newFromIndex The new from index.
*/ */
@UnstableApi @UnstableApi
@SuppressWarnings("ExtendsObject") // See go/lsc-extends-object @SuppressWarnings("ExtendsObject")
public static <T extends Object> void moveItems( public static <T extends Object> void moveItems(
List<T> items, int fromIndex, int toIndex, int newFromIndex) { List<T> items, int fromIndex, int toIndex, int newFromIndex) {
ArrayDeque<T> removedItems = new ArrayDeque<>(); ArrayDeque<T> removedItems = new ArrayDeque<>();

View File

@ -42,10 +42,9 @@ import org.checkerframework.checker.nullness.qual.RequiresNonNull;
* Sample transformer that flattens SEF slow motion videos in H.264/AVC and H.265/HEVC format using * Sample transformer that flattens SEF slow motion videos in H.264/AVC and H.265/HEVC format using
* temporal layers. * temporal layers.
* *
* <p>If the input is not an SEF slow motion video, samples will be unchanged. The mathematical * <p>If the input is not an SEF slow motion video, samples will be unchanged.
* formulas used in this class are explained in [Internal ref:
* http://go/exoplayer-sef-slomo-video-flattening].
*/ */
/* package */ final class SefSlowMotionFlattener { /* package */ final class SefSlowMotionFlattener {
/** /**

View File

@ -36,10 +36,6 @@ import java.util.TreeMap;
/** A {@link SpeedProvider} for slow motion segments. */ /** A {@link SpeedProvider} for slow motion segments. */
/* package */ class SegmentSpeedProvider implements SpeedProvider { /* package */ class SegmentSpeedProvider implements SpeedProvider {
/**
* Input frame rate of Samsung Slow motion videos is always 30. See
* go/exoplayer-sef-slomo-video-flattening.
*/
private static final int INPUT_FRAME_RATE = 30; private static final int INPUT_FRAME_RATE = 30;
private final ImmutableSortedMap<Long, Float> speedsByStartTimeUs; private final ImmutableSortedMap<Long, Float> speedsByStartTimeUs;