mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-11-30 09:44:28 +00:00
Rename RtpFecQueue to RtpVideoQueue to match RtpAudioQueue
This commit is contained in:
1 parent
08e4a47fc2
commit
9361c325bb
5 files changed
+45
-45
No files matched your search
@@ -755,9 +755,9 @@ static void processRtpPayload(PNV_VIDEO_PACKET videoPacket, int length,
|
||||
}
|
||||
|
||||
// Add an RTP Packet to the queue
|
||||
void queueRtpPacket(PRTPFEC_QUEUE_ENTRY queueEntryPtr) {
|
||||
void queueRtpPacket(PRTPV_QUEUE_ENTRY queueEntryPtr) {
|
||||
int dataOffset;
|
||||
RTPFEC_QUEUE_ENTRY queueEntry = *queueEntryPtr;
|
||||
RTPV_QUEUE_ENTRY queueEntry = *queueEntryPtr;
|
||||
|
||||
LC_ASSERT(!queueEntry.isParity);
|
||||
LC_ASSERT(queueEntry.receiveTimeMs != 0);
|
||||
@@ -770,7 +770,7 @@ void queueRtpPacket(PRTPFEC_QUEUE_ENTRY queueEntryPtr) {
|
||||
// Reuse the memory reserved for the RTPFEC_QUEUE_ENTRY to store the LENTRY_INTERNAL
|
||||
// now that we're in the depacketizer. We saved a copy of the real FEC queue entry
|
||||
// on the stack here so we can safely modify this memory in place.
|
||||
LC_ASSERT(sizeof(LENTRY_INTERNAL) <= sizeof(RTPFEC_QUEUE_ENTRY));
|
||||
LC_ASSERT(sizeof(LENTRY_INTERNAL) <= sizeof(RTPV_QUEUE_ENTRY));
|
||||
PLENTRY_INTERNAL existingEntry = (PLENTRY_INTERNAL)queueEntryPtr;
|
||||
existingEntry->allocPtr = queueEntry.packet;
|
||||
|
||||
|
||||
Reference in new issue
Block a user