mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-21 12:03:02 +00:00
Start frame number must be 0 for proper invalidation if the first frame is dropped
This commit is contained in:
parent
c19ff71c9a
commit
875089305b
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user