mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
Removed commented code.
This commit is contained in:
parent
3886f5f0b6
commit
ac96a2be65
4 changed files with 0 additions and 5 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -95,8 +95,6 @@ public class AviSeekMap implements SeekMap {
|
|||
} else {
|
||||
return new SeekPoints(getSeekPoint(firstSeekIndex));
|
||||
}
|
||||
|
||||
//Log.d(AviExtractor.TAG, "SeekPoint: us=" + outUs + " pos=" + position);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue