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
ac96a2be
authored
Feb 15, 2022
by
Dustin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Removed commented code.
parent
3886f5f0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
5 deletions
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/avi/AvcChunkHandler.java
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/avi/AviSeekMap.java
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/avi/ChunkHandler.java
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/avi/MpegAudioChunkHandler.java
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/avi/AvcChunkHandler.java
View file @
ac96a2be
...
...
@@ -92,7 +92,6 @@ public class AvcChunkHandler extends NalChunkHandler {
//We skip IDR in the switch
if
(
spsData
.
picOrderCountType
==
0
)
{
int
picOrderCountLsb
=
in
.
readBits
(
spsData
.
picOrderCntLsbLength
);
//Log.d("Test", "FrameNum: " + frame + " cnt=" + picOrderCountLsb);
picCountClock
.
setPicCount
(
picOrderCountLsb
);
return
;
}
else
if
(
spsData
.
picOrderCountType
==
2
)
{
...
...
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/avi/AviSeekMap.java
View file @
ac96a2be
...
...
@@ -95,8 +95,6 @@ public class AviSeekMap implements SeekMap {
}
else
{
return
new
SeekPoints
(
getSeekPoint
(
firstSeekIndex
));
}
//Log.d(AviExtractor.TAG, "SeekPoint: us=" + outUs + " pos=" + position);
}
/**
...
...
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/avi/ChunkHandler.java
View file @
ac96a2be
...
...
@@ -173,7 +173,6 @@ public class ChunkHandler {
trackOutput
.
sampleMetadata
(
clock
.
getUs
(),
(
isKeyFrame
()
?
C
.
BUFFER_FLAG_KEY_FRAME
:
0
),
size
,
0
,
null
);
}
//Log.d(AviExtractor.TAG, "Frame: " + (isVideo()? 'V' : 'A') + " us=" + clock.getUs() + " size=" + size + " frame=" + clock.getIndex() + " key=" + isKeyFrame());
clock
.
advance
();
}
...
...
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/avi/MpegAudioChunkHandler.java
View file @
ac96a2be
...
...
@@ -132,7 +132,6 @@ public class MpegAudioChunkHandler extends ChunkHandler {
frameRemaining
-=
bytes
;
if
(
frameRemaining
==
0
)
{
trackOutput
.
sampleMetadata
(
timeUs
,
C
.
BUFFER_FLAG_KEY_FRAME
,
header
.
frameSize
,
0
,
null
);
//Log.d(AviExtractor.TAG, "MP3: us=" + us);
timeUs
+=
header
.
samplesPerFrame
*
C
.
MICROS_PER_SECOND
/
samplesPerSecond
;
}
chunkRemaining
-=
bytes
;
...
...
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