mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-21 15:56:57 +00:00
Log a message based on what type of decoding is being used
This commit is contained in:
1 parent
5a4a0d55e3
commit
9b46155af2
2 files changed
+4
No files matched your search
@@ -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) {
|
||||
|
||||
@@ -50,6 +50,8 @@ public class MediaCodecDecoderRenderer implements DecoderRenderer {
|
||||
videoDecoder.start();
|
||||
|
||||
videoDecoderInputBuffers = videoDecoder.getInputBuffers();
|
||||
|
||||
System.out.println("Using hardware decoding");
|
||||
}
|
||||
|
||||
private void startRendererThread()
|
||||
|
||||
Reference in new issue
Block a user