mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-11-30 09:44:28 +00:00
Allow applications to reliably calculate decode unit queue delay
This commit is contained in:
1 parent
3aa2463856
commit
fd950b6452
2 files changed
+10
-3
No files matched your search
@@ -253,6 +253,7 @@ static void reassembleFrame(int frameNumber) {
|
||||
qdu->decodeUnit.frameNumber = frameNumber;
|
||||
qdu->decodeUnit.receiveTimeMs = firstPacketReceiveTime;
|
||||
qdu->decodeUnit.presentationTimeMs = firstPacketPresentationTime;
|
||||
qdu->decodeUnit.enqueueTimeMs = LiGetMillis();
|
||||
|
||||
// IDR frames will have leading CSD buffers
|
||||
if (nalChainHead->bufferType != BUFFER_TYPE_PICDATA) {
|
||||
|
||||
Reference in new issue
Block a user