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
1d36083e
authored
Aug 26, 2021
by
bachinger
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Replace fully qualified link annotation
PiperOrigin-RevId: 393081803
parent
b42aa4c8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
library/transformer/src/main/java/com/google/android/exoplayer2/transformer/Transformer.java
testutils/src/main/java/com/google/android/exoplayer2/testutil/FakeMediaChunkIterator.java
library/transformer/src/main/java/com/google/android/exoplayer2/transformer/Transformer.java
View file @
1d36083e
...
@@ -51,6 +51,7 @@ import com.google.android.exoplayer2.extractor.DefaultExtractorsFactory;
...
@@ -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 {
...
@@ -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 {
...
@@ -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
...
...
testutils/src/main/java/com/google/android/exoplayer2/testutil/FakeMediaChunkIterator.java
View file @
1d36083e
...
@@ -19,16 +19,17 @@ package com.google.android.exoplayer2.testutil;
...
@@ -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
...
...
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