Log a message based on what type of decoding is being used

This commit is contained in:
Cameron Gutman 2013-11-20 01:35:39 -05:00
parent 5a4a0d55e3
commit 9b46155af2
2 changed files with 4 additions and 0 deletions

View File

@ -27,6 +27,8 @@ public class CpuDecoderRenderer implements DecoderRenderer {
}
decoderBuffer = ByteBuffer.allocate(128*1024);
System.out.println("Using software decoding");
}
private int getPerFrameDelayMs(int frameRate) {

View File

@ -50,6 +50,8 @@ public class MediaCodecDecoderRenderer implements DecoderRenderer {
videoDecoder.start();
videoDecoderInputBuffers = videoDecoder.getInputBuffers();
System.out.println("Using hardware decoding");
}
private void startRendererThread()