Commit ac96a2be by Dustin

Removed commented code.

parent 3886f5f0
...@@ -92,7 +92,6 @@ public class AvcChunkHandler extends NalChunkHandler { ...@@ -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) {
......
...@@ -95,8 +95,6 @@ public class AviSeekMap implements SeekMap { ...@@ -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);
} }
/** /**
......
...@@ -173,7 +173,6 @@ public class ChunkHandler { ...@@ -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();
} }
......
...@@ -132,7 +132,6 @@ public class MpegAudioChunkHandler extends ChunkHandler { ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment