mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-10-26 13:59:58 +00:00
Use uint64_t for DECODE_UNIT presentationTimeMs
This still holds a millisecond value sourced from RTP timestamp, but since we're changing the API anyway, now is a good time to future-proof this field.
This commit is contained in:
1 parent
82ee2d6590
commit
a3ebaaf015
3 files changed
+6
-6
No files matched your search
+2
-2
@@ -7,7 +7,7 @@ typedef struct _RTPV_QUEUE_ENTRY {
|
||||
struct _RTPV_QUEUE_ENTRY* prev;
|
||||
PRTP_PACKET packet;
|
||||
uint64_t receiveTimeUs;
|
||||
uint32_t presentationTimeMs;
|
||||
uint64_t presentationTimeMs;
|
||||
int length;
|
||||
bool isParity;
|
||||
} RTPV_QUEUE_ENTRY, *PRTPV_QUEUE_ENTRY;
|
||||
@@ -43,7 +43,7 @@ typedef struct _RTP_VIDEO_QUEUE {
|
||||
uint8_t multiFecCurrentBlockNumber;
|
||||
uint8_t multiFecLastBlockNumber;
|
||||
|
||||
uint32_t lastOosFramePresentationTimestamp;
|
||||
uint64_t lastOosFramePresentationTimestamp;
|
||||
bool receivedOosData;
|
||||
|
||||
RTP_VIDEO_STATS stats; // the above values are short-lived, this tracks stats for the life of the queue
|
||||
|
||||
Reference in new issue
Block a user