Removed commented code.

This commit is contained in:
Dustin 2022-02-15 10:30:53 -07:00
parent 3886f5f0b6
commit ac96a2be65
4 changed files with 0 additions and 5 deletions

View file

@ -92,7 +92,6 @@ public class AvcChunkHandler extends NalChunkHandler {
//We skip IDR in the switch //We skip IDR in the switch
if (spsData.picOrderCountType == 0) { if (spsData.picOrderCountType == 0) {
int picOrderCountLsb = in.readBits(spsData.picOrderCntLsbLength); int picOrderCountLsb = in.readBits(spsData.picOrderCntLsbLength);
//Log.d("Test", "FrameNum: " + frame + " cnt=" + picOrderCountLsb);
picCountClock.setPicCount(picOrderCountLsb); picCountClock.setPicCount(picOrderCountLsb);
return; return;
} else if (spsData.picOrderCountType == 2) { } else if (spsData.picOrderCountType == 2) {

View file

@ -95,8 +95,6 @@ public class AviSeekMap implements SeekMap {
} else { } else {
return new SeekPoints(getSeekPoint(firstSeekIndex)); return new SeekPoints(getSeekPoint(firstSeekIndex));
} }
//Log.d(AviExtractor.TAG, "SeekPoint: us=" + outUs + " pos=" + position);
} }
/** /**

View file

@ -173,7 +173,6 @@ public class ChunkHandler {
trackOutput.sampleMetadata( trackOutput.sampleMetadata(
clock.getUs(), (isKeyFrame() ? C.BUFFER_FLAG_KEY_FRAME : 0), size, 0, null); 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(); clock.advance();
} }

View file

@ -132,7 +132,6 @@ public class MpegAudioChunkHandler extends ChunkHandler {
frameRemaining -= bytes; frameRemaining -= bytes;
if (frameRemaining == 0) { if (frameRemaining == 0) {
trackOutput.sampleMetadata(timeUs, C.BUFFER_FLAG_KEY_FRAME, header.frameSize, 0, null); 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; timeUs += header.samplesPerFrame * C.MICROS_PER_SECOND / samplesPerSecond;
} }
chunkRemaining -= bytes; chunkRemaining -= bytes;