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
2a832fd3
authored
Nov 20, 2014
by
Oliver Woodman
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Minor stylistic tweaks.
parent
d506d766
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
library/src/main/java/com/google/android/exoplayer/MediaCodecTrackRenderer.java
library/src/main/java/com/google/android/exoplayer/MediaCodecTrackRenderer.java
View file @
2a832fd3
...
@@ -737,11 +737,11 @@ public abstract class MediaCodecTrackRenderer extends TrackRenderer {
...
@@ -737,11 +737,11 @@ public abstract class MediaCodecTrackRenderer extends TrackRenderer {
return
false
;
return
false
;
}
}
int
decodeOnlyI
d
x
=
getDecodeOnlyIndex
(
outputBufferInfo
.
presentationTimeUs
);
int
decodeOnlyI
nde
x
=
getDecodeOnlyIndex
(
outputBufferInfo
.
presentationTimeUs
);
if
(
processOutputBuffer
(
positionUs
,
elapsedRealtimeUs
,
codec
,
outputBuffers
[
outputIndex
],
if
(
processOutputBuffer
(
positionUs
,
elapsedRealtimeUs
,
codec
,
outputBuffers
[
outputIndex
],
outputBufferInfo
,
outputIndex
,
decodeOnlyI
dx
>=
0
))
{
outputBufferInfo
,
outputIndex
,
decodeOnlyI
ndex
!=
-
1
))
{
if
(
decodeOnlyI
dx
>=
0
)
{
if
(
decodeOnlyI
ndex
!=
-
1
)
{
decodeOnlyPresentationTimestamps
.
remove
(
decodeOnlyI
d
x
);
decodeOnlyPresentationTimestamps
.
remove
(
decodeOnlyI
nde
x
);
}
else
{
}
else
{
currentPositionUs
=
outputBufferInfo
.
presentationTimeUs
;
currentPositionUs
=
outputBufferInfo
.
presentationTimeUs
;
}
}
...
@@ -794,4 +794,5 @@ public abstract class MediaCodecTrackRenderer extends TrackRenderer {
...
@@ -794,4 +794,5 @@ public abstract class MediaCodecTrackRenderer extends TrackRenderer {
}
}
return
-
1
;
return
-
1
;
}
}
}
}
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