mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-25 14:02:54 +00:00
Fix casts of RTT info
This commit is contained in:
parent
e1f6b577bf
commit
9166998442
@ -666,7 +666,7 @@ public class MediaCodecDecoderRenderer extends VideoDecoderRenderer {
|
||||
sb.append(context.getString(R.string.perf_overlay_netdrops,
|
||||
(float)lastTwo.framesLost / lastTwo.totalFrames * 100)).append('\n');
|
||||
sb.append(context.getString(R.string.perf_overlay_netlatency,
|
||||
(rttInfo >> 32) & 0xFFFF, rttInfo & 0xFFFF)).append('\n');
|
||||
(int)(rttInfo >> 32), (int)rttInfo)).append('\n');
|
||||
sb.append(context.getString(R.string.perf_overlay_recvtime,
|
||||
((float)lastTwo.totalTimeMs / lastTwo.totalFramesReceived) - decodeTimeMs)).append('\n');
|
||||
sb.append(context.getString(R.string.perf_overlay_dectime, decodeTimeMs));
|
||||
|
Loading…
x
Reference in New Issue
Block a user