Replace fully qualified link annotation

PiperOrigin-RevId: 393081803
This commit is contained in:
bachinger 2021-08-26 10:46:28 +01:00
parent b42aa4c8dd
commit 1d36083e25
2 changed files with 8 additions and 6 deletions

View File

@ -51,6 +51,7 @@ import com.google.android.exoplayer2.extractor.DefaultExtractorsFactory;
import com.google.android.exoplayer2.extractor.mp4.Mp4Extractor; import com.google.android.exoplayer2.extractor.mp4.Mp4Extractor;
import com.google.android.exoplayer2.metadata.MetadataOutput; import com.google.android.exoplayer2.metadata.MetadataOutput;
import com.google.android.exoplayer2.source.DefaultMediaSourceFactory; import com.google.android.exoplayer2.source.DefaultMediaSourceFactory;
import com.google.android.exoplayer2.source.MediaSource;
import com.google.android.exoplayer2.source.MediaSourceFactory; import com.google.android.exoplayer2.source.MediaSourceFactory;
import com.google.android.exoplayer2.source.TrackGroupArray; import com.google.android.exoplayer2.source.TrackGroupArray;
import com.google.android.exoplayer2.text.TextOutput; import com.google.android.exoplayer2.text.TextOutput;
@ -407,8 +408,8 @@ public final class Transformer {
* <p>Concurrent transformations on the same Transformer object are not allowed. * <p>Concurrent transformations on the same Transformer object are not allowed.
* *
* <p>The output can contain at most one video track and one audio track. Other track types are * <p>The output can contain at most one video track and one audio track. Other track types are
* ignored. For adaptive bitrate {@link com.google.android.exoplayer2.source.MediaSource media * ignored. For adaptive bitrate {@link MediaSource media sources}, the highest bitrate video and
* sources}, the highest bitrate video and audio streams are selected. * audio streams are selected.
* *
* @param mediaItem The {@link MediaItem} to transform. The supported sample formats depend on the * @param mediaItem The {@link MediaItem} to transform. The supported sample formats depend on the
* {@link Muxer} and on the output container format. For the {@link FrameworkMuxer}, they are * {@link Muxer} and on the output container format. For the {@link FrameworkMuxer}, they are
@ -432,8 +433,8 @@ public final class Transformer {
* <p>Concurrent transformations on the same Transformer object are not allowed. * <p>Concurrent transformations on the same Transformer object are not allowed.
* *
* <p>The output can contain at most one video track and one audio track. Other track types are * <p>The output can contain at most one video track and one audio track. Other track types are
* ignored. For adaptive bitrate {@link com.google.android.exoplayer2.source.MediaSource media * ignored. For adaptive bitrate {@link MediaSource media sources}, the highest bitrate video and
* sources}, the highest bitrate video and audio streams are selected. * audio streams are selected.
* *
* @param mediaItem The {@link MediaItem} to transform. The supported sample formats depend on the * @param mediaItem The {@link MediaItem} to transform. The supported sample formats depend on the
* {@link Muxer} and on the output container format. For the {@link FrameworkMuxer}, they are * {@link Muxer} and on the output container format. For the {@link FrameworkMuxer}, they are

View File

@ -19,16 +19,17 @@ package com.google.android.exoplayer2.testutil;
import android.net.Uri; import android.net.Uri;
import com.google.android.exoplayer2.C; import com.google.android.exoplayer2.C;
import com.google.android.exoplayer2.source.chunk.BaseMediaChunkIterator; import com.google.android.exoplayer2.source.chunk.BaseMediaChunkIterator;
import com.google.android.exoplayer2.source.chunk.MediaChunkIterator;
import com.google.android.exoplayer2.upstream.DataSpec; import com.google.android.exoplayer2.upstream.DataSpec;
/** Fake {@link com.google.android.exoplayer2.source.chunk.MediaChunkIterator}. */ /** Fake {@link MediaChunkIterator}. */
public final class FakeMediaChunkIterator extends BaseMediaChunkIterator { public final class FakeMediaChunkIterator extends BaseMediaChunkIterator {
private final long[] chunkTimeBoundariesSec; private final long[] chunkTimeBoundariesSec;
private final long[] chunkLengths; private final long[] chunkLengths;
/** /**
* Creates a fake {@link com.google.android.exoplayer2.source.chunk.MediaChunkIterator}. * Creates a fake {@link MediaChunkIterator}.
* *
* @param chunkTimeBoundariesSec An array containing the time boundaries where one chunk ends and * @param chunkTimeBoundariesSec An array containing the time boundaries where one chunk ends and
* the next one starts. The first value is the start time of the first chunk and the last * the next one starts. The first value is the start time of the first chunk and the last