mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-20 19:42:45 +00:00
Log a message based on what type of decoding is being used
This commit is contained in:
parent
5a4a0d55e3
commit
9b46155af2
@ -27,6 +27,8 @@ public class CpuDecoderRenderer implements DecoderRenderer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
decoderBuffer = ByteBuffer.allocate(128*1024);
|
decoderBuffer = ByteBuffer.allocate(128*1024);
|
||||||
|
|
||||||
|
System.out.println("Using software decoding");
|
||||||
}
|
}
|
||||||
|
|
||||||
private int getPerFrameDelayMs(int frameRate) {
|
private int getPerFrameDelayMs(int frameRate) {
|
||||||
|
@ -50,6 +50,8 @@ public class MediaCodecDecoderRenderer implements DecoderRenderer {
|
|||||||
videoDecoder.start();
|
videoDecoder.start();
|
||||||
|
|
||||||
videoDecoderInputBuffers = videoDecoder.getInputBuffers();
|
videoDecoderInputBuffers = videoDecoder.getInputBuffers();
|
||||||
|
|
||||||
|
System.out.println("Using hardware decoding");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void startRendererThread()
|
private void startRendererThread()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user