Skip to content

Commit 05dc1e1

Browse files
committed
fixup! Better support for fractional framerates
1 parent f619503 commit 05dc1e1

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/Limelight.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,6 @@ typedef struct _STREAM_CONFIGURATION {
4949
// FPS of the desired video stream
5050
int fps;
5151

52-
// Fractional frame rate of the video stream in the form of numerator
53-
// and denominator. Supported by recent versions of sunshine. You still
54-
// need to specify the non-fractional frame rate for compatibility.
55-
int fpsNum;
56-
int fpsDen;
57-
5852
// Bitrate of the desired video stream (audio adds another ~1 Mbps). This
5953
// includes error correction data, so the actual encoder bitrate will be
6054
// about 20% lower when using the standard 20% FEC configuration.
@@ -106,6 +100,12 @@ typedef struct _STREAM_CONFIGURATION {
106100
// in /launch and /resume requests.
107101
char remoteInputAesKey[16];
108102
char remoteInputAesIv[16];
103+
104+
// Fractional frame rate of the video stream in the form of numerator
105+
// and denominator. Supported by recent versions of sunshine. You still
106+
// need to specify the non-fractional frame rate for compatibility.
107+
int fpsNum;
108+
int fpsDen;
109109
} STREAM_CONFIGURATION, *PSTREAM_CONFIGURATION;
110110

111111
// Use this function to zero the stream configuration when allocated on the stack or heap

0 commit comments

Comments
 (0)