From a4870f619b1069d14b3a651b6c59668ce35be67e Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 3 Oct 2022 18:26:24 -0500 Subject: [PATCH] Frame type fields are present all the way back to GFE 3.2 (and probably further) --- src/VideoDepacketizer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VideoDepacketizer.c b/src/VideoDepacketizer.c index 9e7d01a..3baefbe 100644 --- a/src/VideoDepacketizer.c +++ b/src/VideoDepacketizer.c @@ -708,7 +708,7 @@ static void processRtpPayload(PNV_VIDEO_PACKET videoPacket, int length, // If this is the first packet, skip the frame header (if one exists) if (firstPacket) { // Parse the frame type from the header - if (APP_VERSION_AT_LEAST(7, 1, 415)) { + if (APP_VERSION_AT_LEAST(7, 1, 350)) { switch (currentPos.data[currentPos.offset + 3]) { case 1: // Normal P-frame break;