mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-20 19:42:45 +00:00
Small addendum to the timestamp fix
This commit is contained in:
parent
ac03f73cf9
commit
332960922a
@ -365,7 +365,7 @@ public class MediaCodecDecoderRenderer implements VideoDecoderRenderer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
long timestampUs = currentTime * 1000;
|
long timestampUs = currentTime * 1000;
|
||||||
if (timestampUs == lastTimestampUs) {
|
if (timestampUs <= lastTimestampUs) {
|
||||||
// We can't submit multiple buffers with the same timestamp
|
// We can't submit multiple buffers with the same timestamp
|
||||||
// so bump it up by one before queuing
|
// so bump it up by one before queuing
|
||||||
timestampUs = lastTimestampUs + 1;
|
timestampUs = lastTimestampUs + 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user