mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-11-28 00:34:15 +00:00
Small addendum to the timestamp fix
This commit is contained in:
1 parent
ac03f73cf9
commit
332960922a
1 file changed
+1
-1
@@ -365,7 +365,7 @@ public class MediaCodecDecoderRenderer implements VideoDecoderRenderer {
|
||||
}
|
||||
|
||||
long timestampUs = currentTime * 1000;
|
||||
if (timestampUs == lastTimestampUs) {
|
||||
if (timestampUs <= lastTimestampUs) {
|
||||
// We can't submit multiple buffers with the same timestamp
|
||||
// so bump it up by one before queuing
|
||||
timestampUs = lastTimestampUs + 1;
|
||||
|
||||
Reference in new issue
Block a user