mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-06-17 06:10:58 +00:00
Start frame number must be 0 for proper invalidation if the first frame is dropped
This commit is contained in:
@@ -22,7 +22,7 @@ public class VideoDepacketizer {
|
|||||||
// Sequencing state
|
// Sequencing state
|
||||||
private int lastPacketInStream = -1;
|
private int lastPacketInStream = -1;
|
||||||
private int nextFrameNumber = 1;
|
private int nextFrameNumber = 1;
|
||||||
private int startFrameNumber = 1;
|
private int startFrameNumber = 0;
|
||||||
private boolean waitingForNextSuccessfulFrame;
|
private boolean waitingForNextSuccessfulFrame;
|
||||||
private boolean waitingForIdrFrame = true;
|
private boolean waitingForIdrFrame = true;
|
||||||
private long frameStartTime;
|
private long frameStartTime;
|
||||||
|
|||||||
Reference in New Issue
Block a user