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
f14f0ce8
authored
Dec 02, 2019
by
olly
Committed by
bachinger
Dec 04, 2019
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Remove LibvpxVideoRenderer from nullness blacklist
PiperOrigin-RevId: 283310946
parent
aceba835
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
extensions/vp9/src/main/java/com/google/android/exoplayer2/ext/vp9/LibvpxVideoRenderer.java
extensions/vp9/src/main/java/com/google/android/exoplayer2/ext/vp9/LibvpxVideoRenderer.java
View file @
f14f0ce8
...
@@ -71,8 +71,8 @@ public class LibvpxVideoRenderer extends SimpleDecoderVideoRenderer {
...
@@ -71,8 +71,8 @@ public class LibvpxVideoRenderer extends SimpleDecoderVideoRenderer {
private
final
boolean
enableRowMultiThreadMode
;
private
final
boolean
enableRowMultiThreadMode
;
private
final
int
threads
;
private
final
int
threads
;
private
VpxDecoder
decoder
;
@Nullable
private
VpxDecoder
decoder
;
private
VideoFrameMetadataListener
frameMetadataListener
;
@Nullable
private
VideoFrameMetadataListener
frameMetadataListener
;
/**
/**
* @param allowedJoiningTimeMs The maximum duration in milliseconds for which this video renderer
* @param allowedJoiningTimeMs The maximum duration in milliseconds for which this video renderer
...
@@ -257,7 +257,7 @@ public class LibvpxVideoRenderer extends SimpleDecoderVideoRenderer {
...
@@ -257,7 +257,7 @@ public class LibvpxVideoRenderer extends SimpleDecoderVideoRenderer {
TraceUtil
.
beginSection
(
"createVpxDecoder"
);
TraceUtil
.
beginSection
(
"createVpxDecoder"
);
int
initialInputBufferSize
=
int
initialInputBufferSize
=
format
.
maxInputSize
!=
Format
.
NO_VALUE
?
format
.
maxInputSize
:
DEFAULT_INPUT_BUFFER_SIZE
;
format
.
maxInputSize
!=
Format
.
NO_VALUE
?
format
.
maxInputSize
:
DEFAULT_INPUT_BUFFER_SIZE
;
decoder
=
VpxDecoder
decoder
=
new
VpxDecoder
(
new
VpxDecoder
(
numInputBuffers
,
numInputBuffers
,
numOutputBuffers
,
numOutputBuffers
,
...
@@ -265,6 +265,7 @@ public class LibvpxVideoRenderer extends SimpleDecoderVideoRenderer {
...
@@ -265,6 +265,7 @@ public class LibvpxVideoRenderer extends SimpleDecoderVideoRenderer {
mediaCrypto
,
mediaCrypto
,
enableRowMultiThreadMode
,
enableRowMultiThreadMode
,
threads
);
threads
);
this
.
decoder
=
decoder
;
TraceUtil
.
endSection
();
TraceUtil
.
endSection
();
return
decoder
;
return
decoder
;
}
}
...
...
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