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
04218bde
authored
Jan 31, 2020
by
olly
Committed by
Oliver Woodman
Jan 31, 2020
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Remove deprecated Format constructors
PiperOrigin-RevId: 292554283
parent
660cfd28
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
89 deletions
library/common/src/main/java/com/google/android/exoplayer2/Format.java
library/common/src/main/java/com/google/android/exoplayer2/Format.java
View file @
04218bde
...
@@ -172,38 +172,6 @@ public final class Format implements Parcelable {
...
@@ -172,38 +172,6 @@ public final class Format implements Parcelable {
// Video.
// Video.
/**
* @deprecated Use {@link #createVideoContainerFormat(String, String, String, String, String,
* Metadata, int, int, int, float, List, int, int)} instead.
*/
@Deprecated
public
static
Format
createVideoContainerFormat
(
@Nullable
String
id
,
@Nullable
String
containerMimeType
,
@Nullable
String
sampleMimeType
,
@Nullable
String
codecs
,
int
bitrate
,
int
width
,
int
height
,
float
frameRate
,
@Nullable
List
<
byte
[]>
initializationData
,
@C
.
SelectionFlags
int
selectionFlags
)
{
return
createVideoContainerFormat
(
id
,
/* label= */
null
,
containerMimeType
,
sampleMimeType
,
codecs
,
/* metadata= */
null
,
bitrate
,
width
,
height
,
frameRate
,
initializationData
,
selectionFlags
,
/* roleFlags= */
0
);
}
public
static
Format
createVideoContainerFormat
(
public
static
Format
createVideoContainerFormat
(
@Nullable
String
id
,
@Nullable
String
id
,
@Nullable
String
label
,
@Nullable
String
label
,
...
@@ -357,38 +325,6 @@ public final class Format implements Parcelable {
...
@@ -357,38 +325,6 @@ public final class Format implements Parcelable {
// Audio.
// Audio.
/**
* @deprecated Use {@link #createAudioContainerFormat(String, String, String, String, String,
* Metadata, int, int, int, List, int, int, String)} instead.
*/
@Deprecated
public
static
Format
createAudioContainerFormat
(
@Nullable
String
id
,
@Nullable
String
containerMimeType
,
@Nullable
String
sampleMimeType
,
@Nullable
String
codecs
,
int
bitrate
,
int
channelCount
,
int
sampleRate
,
@Nullable
List
<
byte
[]>
initializationData
,
@C
.
SelectionFlags
int
selectionFlags
,
@Nullable
String
language
)
{
return
createAudioContainerFormat
(
id
,
/* label= */
null
,
containerMimeType
,
sampleMimeType
,
codecs
,
/* metadata= */
null
,
bitrate
,
channelCount
,
sampleRate
,
initializationData
,
selectionFlags
,
/* roleFlags= */
0
,
language
);
}
public
static
Format
createAudioContainerFormat
(
public
static
Format
createAudioContainerFormat
(
@Nullable
String
id
,
@Nullable
String
id
,
@Nullable
String
label
,
@Nullable
String
label
,
...
@@ -768,31 +704,6 @@ public final class Format implements Parcelable {
...
@@ -768,31 +704,6 @@ public final class Format implements Parcelable {
// Generic.
// Generic.
/**
* @deprecated Use {@link #createContainerFormat(String, String, String, String, String, int, int,
* int, String)} instead.
*/
@Deprecated
public
static
Format
createContainerFormat
(
@Nullable
String
id
,
@Nullable
String
containerMimeType
,
@Nullable
String
sampleMimeType
,
@Nullable
String
codecs
,
int
bitrate
,
@C
.
SelectionFlags
int
selectionFlags
,
@Nullable
String
language
)
{
return
createContainerFormat
(
id
,
/* label= */
null
,
containerMimeType
,
sampleMimeType
,
codecs
,
bitrate
,
selectionFlags
,
/* roleFlags= */
0
,
language
);
}
public
static
Format
createContainerFormat
(
public
static
Format
createContainerFormat
(
@Nullable
String
id
,
@Nullable
String
id
,
@Nullable
String
label
,
@Nullable
String
label
,
...
...
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